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
71 template<
class TurbulenceThermophysicalTransportModel>
78 const bool allowDefaultPrt
81 TurbulenceThermophysicalTransportModel
102 this->momentumTransport().alphaRhoPhi().
group()
104 momentumTransport.time().
name(),
105 momentumTransport.
mesh(),
109 momentumTransport.
mesh()
116 template<
class TurbulenceThermophysicalTransportModel>
121 Prt_.readIfPresent(this->coeffDict());
132 template<
class TurbulenceThermophysicalTransportModel>
141 this->momentumTransport().alphaRhoPhi().
group()
149 template<
class TurbulenceThermophysicalTransportModel>
165 template<
class TurbulenceThermophysicalTransportModel>
176 template<
class TurbulenceThermophysicalTransportModel>
187 "j(" + Yi.
name() +
')',
188 this->momentumTransport().alphaRhoPhi().group()
195 template<
class TurbulenceThermophysicalTransportModel>
212 template<
class TurbulenceThermophysicalTransportModel>
223 template<
class TurbulenceThermophysicalTransportModel>
227 TurbulenceThermophysicalTransportModel::predict();
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
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...
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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)
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
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