kOmegaSST.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2016-2018 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 Description
28  Specialisation for RAS of the generic kOmegaSSTBase base class.
29  For more information, see Description of kOmegaSSTBase.H
30 
31 See also
32  Foam::kOmegaSST
33 
34 SourceFiles
35  kOmegaSST.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef kOmegaSST_H
40 #define kOmegaSST_H
41 
42 #include "kOmegaSSTBase.H"
43 #include "RASModel.H"
44 #include "eddyViscosity.H"
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 namespace Foam
49 {
50 namespace RASModels
51 {
52 
53 /*---------------------------------------------------------------------------*\
54  Class kOmegaSST Declaration
55 \*---------------------------------------------------------------------------*/
56 
57 template<class BasicTurbulenceModel>
58 class kOmegaSST
59 :
60  public Foam::kOmegaSST
61  <
62  eddyViscosity<RASModel<BasicTurbulenceModel>>,
63  BasicTurbulenceModel
64  >
65 {
66 
67 public:
68 
69  typedef typename BasicTurbulenceModel::alphaField alphaField;
70  typedef typename BasicTurbulenceModel::rhoField rhoField;
71  typedef typename BasicTurbulenceModel::transportModel transportModel;
72 
73 
74  //- Runtime type information
75  TypeName("kOmegaSST");
76 
77 
78  // Constructors
79 
80  //- Construct from components
81  kOmegaSST
82  (
83  const alphaField& alpha,
84  const rhoField& rho,
85  const volVectorField& U,
86  const surfaceScalarField& alphaRhoPhi,
87  const surfaceScalarField& phi,
88  const transportModel& transport,
89  const word& propertiesName = turbulenceModel::propertiesName,
90  const word& type = typeName
91  );
92 
93 
94  //- Destructor
95  virtual ~kOmegaSST()
96  {}
97 };
98 
99 
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101 
102 } // End namespace RASModels
103 } // End namespace Foam
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 #ifdef NoRepository
107  #include "kOmegaSST.C"
108 #endif
109 
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 #endif
112 
113 // ************************************************************************* //
BasicTurbulenceModel::transportModel transportModel
Definition: kOmegaSST.H:70
BasicTurbulenceModel::rhoField rhoField
Definition: kOmegaSST.H:69
surfaceScalarField & phi
TypeName("kOmegaSST")
Runtime type information.
virtual ~kOmegaSST()
Destructor.
Definition: kOmegaSST.H:94
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
Specialisation for RAS of the generic kOmegaSSTBase base class. For more information, see Description of kOmegaSSTBase.H.
Definition: kOmegaSST.H:57
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
Definition: POSIX.C:481
U
Definition: pEqn.H:72
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:68
Namespace for OpenFOAM.