33 namespace turbulenceThermophysicalTransportModels
38 template<
class TurbulenceThermophysicalTransportModel>
43 this->momentumTransport().rho()
44 *this->momentumTransport().nut()/Prt_;
45 alphat_.correctBoundaryConditions();
51 template<
class TurbulenceThermophysicalTransportModel>
69 template<
class TurbulenceThermophysicalTransportModel>
76 const bool allowDefaultPrt
79 TurbulenceThermophysicalTransportModel
110 this->momentumTransport().alphaRhoPhi().
group()
112 momentumTransport.time().timeName(),
113 momentumTransport.mesh(),
117 momentumTransport.mesh()
124 template<
class TurbulenceThermophysicalTransportModel>
129 Prt_.readIfPresent(this->coeffDict());
140 template<
class TurbulenceThermophysicalTransportModel>
149 this->momentumTransport().alphaRhoPhi().
group()
157 template<
class TurbulenceThermophysicalTransportModel>
168 template<
class TurbulenceThermophysicalTransportModel>
179 "j(" + Yi.
name() +
')',
180 this->momentumTransport().alphaRhoPhi().group()
187 template<
class TurbulenceThermophysicalTransportModel>
198 template<
class TurbulenceThermophysicalTransportModel>
const char *const group
Group name for atomic constants.
const word & name() const
Return name.
fluidReactionThermo & thermo
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-10/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0));alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
virtual tmp< surfaceScalarField > j(const volScalarField &Yi) const
Return the specie flux for the given specie mass-fraction [kg/m^2/s].
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static tmp< GeometricField< scalar, fvsPatchField, surfaceMesh > > New(const word &name, const Internal &, const PtrList< fvsPatchField< scalar >> &)
Return a temporary field constructed from name,.
TurbulenceThermophysicalTransportModel::thermoModel thermoModel
Calculate the matrix for the laplacian of the field.
Eddy-diffusivity based energy gradient heat flux model for RAS or LES of turbulent flow...
const dimensionSet dimless
Generic dimensioned Type class.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
virtual bool read()
Read thermophysicalTransport dictionary.
virtual void correct()
Correct the unityLewisEddyDiffusivity viscosity.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
virtual void correctAlphat()
unityLewisEddyDiffusivity(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from a momentum transport model and a thermo model.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
virtual tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for the given specie mass-fraction equation.
TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)