34 namespace turbulenceThermophysicalTransportModels
39 template<
class TurbulenceThermophysicalTransportModel>
44 this->momentumTransport().rho()
45 *this->momentumTransport().nut()/Prt_;
46 alphat_.correctBoundaryConditions();
52 template<
class TurbulenceThermophysicalTransportModel>
58 const bool allowDefaultPrt
69 this->printCoeffs(typeName);
73 template<
class TurbulenceThermophysicalTransportModel>
80 const bool allowDefaultPrt
83 TurbulenceThermophysicalTransportModel
114 this->momentumTransport().alphaRhoPhi().
group()
116 momentumTransport.time().
name(),
117 momentumTransport.mesh(),
121 momentumTransport.mesh()
124 if (
type == typeName)
126 this->printCoeffs(
type);
133 template<
class TurbulenceThermophysicalTransportModel>
138 Prt_.readIfPresent(this->coeffDict());
149 template<
class TurbulenceThermophysicalTransportModel>
150 tmp<surfaceScalarField>
158 this->momentumTransport().alphaRhoPhi().
group()
166 template<
class TurbulenceThermophysicalTransportModel>
177 template<
class TurbulenceThermophysicalTransportModel>
188 "j(" + Yi.
name() +
')',
189 this->momentumTransport().alphaRhoPhi().group()
196 template<
class TurbulenceThermophysicalTransportModel>
207 template<
class TurbulenceThermophysicalTransportModel>
211 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...
const word & name() const
Return name.
static word groupName(Name name, const word &group)
Generic dimensioned Type class.
A class for managing temporary objects.
Eddy-diffusivity based energy gradient heat flux model for RAS or LES of turbulent flow....
unityLewisEddyDiffusivity(const momentumTransportModel &momentumTransport, const thermoModel &thermo, const bool allowDefaultPrt=false)
Construct from a momentum transport model and a thermo model.
TurbulenceThermophysicalTransportModel::thermoModel thermoModel
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
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 unityLewisEddyDiffusivity 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.
A class for handling words, derived from string.
Calculate the snGrad of the given volField.
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< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > laplacian(const VolField< Type > &vf, const word &name)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
fluidMulticomponentThermo & thermo