kOmegaSST.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 | Copyright (C) 2016 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::RASModels::kOmegaSST
26 
27 Group
28  grpRASTurbulence
29 
30 See also
31  Foam::kOmegaSST
32 
33 SourceFiles
34  kOmegaSST.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 #ifndef kOmegaSST_H
39 #define kOmegaSST_H
40 
41 #include "kOmegaSSTBase.H"
42 #include "RASModel.H"
43 #include "eddyViscosity.H"
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace Foam
48 {
49 namespace RASModels
50 {
51 
52 /*---------------------------------------------------------------------------*\
53  Class kOmegaSST Declaration
54 \*---------------------------------------------------------------------------*/
55 
56 template<class BasicTurbulenceModel>
57 class kOmegaSST
58 :
59  public Foam::kOmegaSST
60  <
61  eddyViscosity<RASModel<BasicTurbulenceModel>>,
62  BasicTurbulenceModel
63  >
64 {
65 
66 public:
67 
68  typedef typename BasicTurbulenceModel::alphaField alphaField;
69  typedef typename BasicTurbulenceModel::rhoField rhoField;
70  typedef typename BasicTurbulenceModel::transportModel transportModel;
71 
72 
73  //- Runtime type information
74  TypeName("kOmegaSST");
75 
76 
77  // Constructors
78 
79  //- Construct from components
80  kOmegaSST
81  (
82  const alphaField& alpha,
83  const rhoField& rho,
84  const volVectorField& U,
85  const surfaceScalarField& alphaRhoPhi,
86  const surfaceScalarField& phi,
87  const transportModel& transport,
88  const word& propertiesName = turbulenceModel::propertiesName,
89  const word& type = typeName
90  );
91 
92 
93  //- Destructor
94  virtual ~kOmegaSST()
95  {}
96 };
97 
98 
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100 
101 } // End namespace RASModels
102 } // End namespace Foam
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 #ifdef NoRepository
106  #include "kOmegaSST.C"
107 #endif
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 #endif
111 
112 // ************************************************************************* //
surfaceScalarField & phi
BasicTurbulenceModel::transportModel transportModel
Definition: kOmegaSST.H:69
U
Definition: pEqn.H:83
BasicTurbulenceModel::rhoField rhoField
Definition: kOmegaSST.H:68
TypeName("kOmegaSST")
Runtime type information.
virtual ~kOmegaSST()
Destructor.
Definition: kOmegaSST.H:93
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows...
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
Definition: word.H:59
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
Definition: POSIX.C:485
kOmegaSST(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
Definition: kOmegaSST.C:39
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
BasicTurbulenceModel::alphaField alphaField
Definition: kOmegaSST.H:67
Namespace for OpenFOAM.