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 -------------------------------------------------------------------------------
10 License
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 
26 Class
27  Foam::maxDeltaxyzCubeRootLESDelta
28 
29 Description
30  Maximum delta between maxDeltaxyz and cubeRootVolDelta.
31 
32 SourceFiles
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 
46 namespace Foam
47 {
48 namespace LESModels
49 {
50 
51 /*---------------------------------------------------------------------------*\
52  Class maxDeltaxyzCubeRootLESDelta Declaration
53 \*---------------------------------------------------------------------------*/
54 
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 
81 public:
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 // ************************************************************************* //
Foam::LESModels::cubeRootVolDelta
Definition: cubeRootVolDelta.H:53
Foam::word
A class for handling words, derived from Foam::string.
Definition: word.H:65
Foam::LESModels::maxDeltaxyzCubeRootLESDelta::TypeName
TypeName("maxDeltaxyzCubeRoot")
Runtime type information.
Foam::LESModels::maxDeltaxyzCubeRootLESDelta::read
virtual void read(const dictionary &)
Read the LESdelta dictionary.
Definition: maxDeltaxyzCubeRootLESDelta.C:96
cubeRootVolDelta.H
Foam::LESModels::maxDeltaxyz
Definition: maxDeltaxyz.H:56
Foam::LESdelta::turbulence
const turbulenceModel & turbulence() const
Return turbulenceModel reference.
Definition: LESdelta.H:134
Foam::LESModels::maxDeltaxyzCubeRootLESDelta::correct
virtual void correct()
Definition: maxDeltaxyzCubeRootLESDelta.C:105
maxDeltaxyz.H
Foam::turbulenceModel
Abstract base class for turbulence models (RAS, LES and laminar).
Definition: turbulenceModel.H:63
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
LESdelta.H
Foam::LESdelta
Abstract base class for LES deltas.
Definition: LESdelta.H:53
Foam::LESModels::maxDeltaxyzCubeRootLESDelta::~maxDeltaxyzCubeRootLESDelta
virtual ~maxDeltaxyzCubeRootLESDelta()=default
Destructor.
Foam::name
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Definition: exprTraits.C:59
Foam::LESModels::maxDeltaxyzCubeRootLESDelta
Definition: maxDeltaxyzCubeRootLESDelta.H:54