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-2021 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 BasicMomentumTransportModel>
58 class kOmegaSST
59 :
60  public Foam::kOmegaSST
61  <
62  eddyViscosity<RASModel<BasicMomentumTransportModel>>,
63  BasicMomentumTransportModel
64  >
65 {
66 
67 public:
68 
69  typedef typename BasicMomentumTransportModel::alphaField alphaField;
70  typedef typename BasicMomentumTransportModel::rhoField rhoField;
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 viscosity& viscosity,
88  const word& type = typeName
89  );
90 
91 
92  //- Destructor
93  virtual ~kOmegaSST()
94  {}
95 };
96 
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 } // End namespace RASModels
101 } // End namespace Foam
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 #ifdef NoRepository
105  #include "kOmegaSST.C"
106 #endif
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 #endif
110 
111 // ************************************************************************* //
Generic GeometricField class.
Specialisation for RAS of the generic kOmegaSSTBase base class. For more information,...
Definition: kOmegaSST.H:64
BasicMomentumTransportModel::alphaField alphaField
Definition: kOmegaSST.H:68
TypeName("kOmegaSST")
Runtime type information.
virtual ~kOmegaSST()
Destructor.
Definition: kOmegaSST.H:92
kOmegaSST(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
Definition: kOmegaSST.C:39
BasicMomentumTransportModel::rhoField rhoField
Definition: kOmegaSST.H:69
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
Abstract base class for all fluid physical properties.
Definition: viscosity.H:50
A class for handling words, derived from string.
Definition: word.H:62
U
Definition: pEqn.H:72
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Namespace for OpenFOAM.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition: POSIX.C:488