34 namespace turbulenceThermophysicalTransportModels
39 template<
class TurbulenceThermophysicalTransportModel>
43 this->momentumTransport().rho()
44 *this->momentumTransport().nut()/Prt_;
45 alphat_.correctBoundaryConditions();
51 template<
class TurbulenceThermophysicalTransportModel>
58 TurbulenceThermophysicalTransportModel
65 Prt_(
"Prt",
dimless, this->coeffDict()),
74 this->momentumTransport().alphaRhoPhi().
group()
76 momentumTransport.time().
name(),
77 momentumTransport.
mesh(),
81 momentumTransport.
mesh()
88 template<
class TurbulenceThermophysicalTransportModel>
93 Prt_.read(this->coeffDict());
104 template<
class TurbulenceThermophysicalTransportModel>
112 <<
type() <<
" supports single component systems only, " <<
nl
113 <<
" for multi-component transport select"
114 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
121 template<
class TurbulenceThermophysicalTransportModel>
130 <<
type() <<
" supports single component systems only, " <<
nl
131 <<
" for multi-component transport select"
132 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
139 template<
class TurbulenceThermophysicalTransportModel>
148 this->momentumTransport().alphaRhoPhi().
group()
156 template<
class TurbulenceThermophysicalTransportModel>
171 template<
class TurbulenceThermophysicalTransportModel>
186 template<
class TurbulenceThermophysicalTransportModel>
194 <<
type() <<
" supports single component systems only, " <<
nl
195 <<
" for multi-component transport select"
196 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
203 template<
class TurbulenceThermophysicalTransportModel>
212 <<
type() <<
" supports single component systems only, " <<
nl
213 <<
" for multi-component transport select"
214 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
221 template<
class TurbulenceThermophysicalTransportModel>
229 <<
type() <<
" supports single component systems only, " <<
nl
230 <<
" for multi-component transport select"
231 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
238 template<
class TurbulenceThermophysicalTransportModel>
241 TurbulenceThermophysicalTransportModel::predict();
Generic GeometricField class.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
A class for managing temporary objects.
virtual tmp< volScalarField > DEff(const volScalarField &Yi) const
Effective mass diffusion coefficient.
TurbulenceThermophysicalTransportModel::thermoModel thermoModel
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
eddyDiffusivity(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from a momentum transport model and a thermo model.
virtual void correctAlphat()
virtual tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for the given specie mass-fraction equation.
virtual void predict()
Correct the eddyDiffusivity viscosity.
virtual tmp< surfaceScalarField > j(const volScalarField &Yi) const
Return the specie flux for the given specie mass-fraction [kg/m^2/s].
TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
virtual bool read()
Read thermophysicalTransport dictionary.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Calculate the laplacian of the given field.
Calculate the matrix for the laplacian of the field.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const char *const group
Group name for atomic constants.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< VolField< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > laplacianCorrection(const VolField< scalar > &gamma, const VolField< Type > &vf)
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimless
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo