maxDeltaxyzCubeRootLESDelta.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2016 OpenCFD Ltd.
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::maxDeltaxyzCubeRootLESDelta
28
29Description
30 Maximum delta between maxDeltaxyz and cubeRootVolDelta.
31
32SourceFiles
33 maxDeltaxyzCubeRootLESDelta.C
34
35\*---------------------------------------------------------------------------*/
36
37#ifndef maxDeltaxyzCubeRootLESDelta_H
38#define maxDeltaxyzCubeRootLESDelta_H
39
40#include "LESdelta.H"
41#include "maxDeltaxyz.H"
42#include "cubeRootVolDelta.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48namespace LESModels
49{
50
51/*---------------------------------------------------------------------------*\
52 Class maxDeltaxyzCubeRootLESDelta Declaration
53\*---------------------------------------------------------------------------*/
56:
57 public LESdelta
58{
59
60 // Private Member Functions
61
62 //- No copy construct
64 (
66 ) = delete;
67
68 //- No copy assignment
69 void operator=(const maxDeltaxyzCubeRootLESDelta&) = delete;
70
71 // Calculate the delta values
72 void calcDelta();
73
74 //- maxDeltaxyz model
75 maxDeltaxyz maxDeltaxyz_;
76
77 //- cubeRootVolDelta model
78 cubeRootVolDelta cubeRootVolDelta_;
79
80
81public:
82
83 //- Runtime type information
84 TypeName("maxDeltaxyzCubeRoot");
85
86
87 // Constructors
88
89 //- Construct from name, turbulenceModel and dictionary
91 (
92 const word& name,
94 const dictionary&
95 );
96
97
98 //- Destructor
99 virtual ~maxDeltaxyzCubeRootLESDelta() = default;
100
101
102 // Member Functions
103
104 //- Read the LESdelta dictionary
105 virtual void read(const dictionary&);
106
107 // Correct values
108 virtual void correct();
109
110};
111
112
113// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114
115} // End namespace LESModels
116} // End namespace Foam
117
118// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119
120#endif
121
122// ************************************************************************* //
TypeName("maxDeltaxyzCubeRoot")
Runtime type information.
virtual ~maxDeltaxyzCubeRootLESDelta()=default
Destructor.
virtual void read(const dictionary &)
Read the LESdelta dictionary.
Abstract base class for LES deltas.
Definition: LESdelta.H:54
const turbulenceModel & turbulence() const
Return turbulenceModel reference.
Definition: LESdelta.H:134
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Abstract base class for turbulence models (RAS, LES and laminar).
A class for handling words, derived from Foam::string.
Definition: word.H:68
Namespace for OpenFOAM.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Definition: exprTraits.C:59
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73