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>
179 <<
type() <<
" supports single component systems only, " <<
nl
180 <<
" for multi-component transport select"
181 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
188 template<
class TurbulenceThermophysicalTransportModel>
196 <<
type() <<
" supports single component systems only, " <<
nl
197 <<
" for multi-component transport select"
198 " nonUnityLewisEddyDiffusivity or unityLewisEddyDiffusivity"
205 template<
class TurbulenceThermophysicalTransportModel>
208 TurbulenceThermophysicalTransportModel::predict();
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, 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.
#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.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo