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-2020 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  typedef typename BasicMomentumTransportModel::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& 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 // ************************************************************************* //
BasicMomentumTransportModel::alphaField alphaField
Definition: kOmegaSST.H:68
TypeName("kOmegaSST")
Runtime type information.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
BasicMomentumTransportModel::transportModel transportModel
Definition: kOmegaSST.H:70
virtual ~kOmegaSST()
Destructor.
Definition: kOmegaSST.H:93
Implementation of the k-omega-SST turbulence model for incompressible and compressible flows...
A class for handling words, derived from string.
Definition: word.H:59
phi
Definition: correctPhi.H:3
Specialisation for RAS of the generic kOmegaSSTBase base class. For more information, see Description of kOmegaSSTBase.H.
Definition: kOmegaSST.H:57
kOmegaSST(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName)
Construct from components.
Definition: kOmegaSST.C:39
U
Definition: pEqn.H:72
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition: POSIX.C:488
Namespace for OpenFOAM.
BasicMomentumTransportModel::rhoField rhoField
Definition: kOmegaSST.H:69