phaseDynamicMomentumTransportModel.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) 2015-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 Typedef
25  Foam::phaseCompressible::momentumTransportModel
26 
27 Typedef
28  Foam::phaseCompressible::laminarModel
29 
30 Typedef
31  Foam::phaseCompressible::RASModel
32 
33 Typedef
34  Foam::phaseCompressible::LESModel
35 
36 Description
37  Typedefs for turbulence, RAS and LES models for phase-compressible flow
38  based on the phase-fluidThermo transport package.
39 
40 SourceFiles
41  phaseDynamicMomentumTransportModel.C
42  phaseDynamicMomentumTransportModels.C
43 
44 \*---------------------------------------------------------------------------*/
45 
46 #ifndef phaseDynamicMomentumTransportModel_H
47 #define phaseDynamicMomentumTransportModel_H
48 
50 #include "laminarModel.H"
51 #include "RASModel.H"
52 #include "LESModel.H"
53 #include "dynamicTransportModel.H"
54 
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 
57 namespace Foam
58 {
59  namespace phaseCompressible
60  {
61  typedef PhaseCompressibleMomentumTransportModel<dynamicTransportModel>
66 
67  template<class BasicPhaseCompressibleMomentumTransportModel>
69  (
70  const volScalarField& alpha,
71  const volScalarField& rho,
72  const volVectorField& U,
73  const surfaceScalarField& alphaRhoPhi,
74  const surfaceScalarField& phi,
75  const typename BasicPhaseCompressibleMomentumTransportModel::
76  transportModel& transport
77  );
78  }
79 }
80 
81 
82 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
83 
84 #ifdef NoRepository
86 #endif
87 
88 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
89 
90 #endif
91 
92 // ************************************************************************* //
laminarModel< momentumTransportModel > laminarModel
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
RASModel< momentumTransportModel > RASModel
Typedefs for turbulence, RAS and LES models for phase-compressible flow based on the phase-fluidTherm...
autoPtr< BasicPhaseCompressibleMomentumTransportModel > New(const volScalarField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const typename BasicPhaseCompressibleMomentumTransportModel::transportModel &transport)
phi
Definition: correctPhi.H:3
PhaseCompressibleMomentumTransportModel< dynamicTransportModel > momentumTransportModel
U
Definition: pEqn.H:72
LESModel< momentumTransportModel > LESModel
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
Namespace for OpenFOAM.