33 namespace turbulenceThermophysicalTransportModels
38 template<
class TurbulenceThermophysicalTransportModel>
42 this->momentumTransport().rho()
43 *this->momentumTransport().nut()/Prt_;
44 alphat_.correctBoundaryConditions();
50 template<
class TurbulenceThermophysicalTransportModel>
67 template<
class TurbulenceThermophysicalTransportModel>
73 const bool allowDefaultPrt
76 TurbulenceThermophysicalTransportModel
107 this->momentumTransport().alphaRhoPhi().
group()
109 momentumTransport.time().timeName(),
110 momentumTransport.mesh(),
114 momentumTransport.mesh()
121 template<
class TurbulenceThermophysicalTransportModel>
126 Prt_.readIfPresent(this->coeffDict());
137 template<
class TurbulenceThermophysicalTransportModel>
146 this->momentumTransport().alphaRhoPhi().
group()
153 template<
class TurbulenceThermophysicalTransportModel>
164 template<
class TurbulenceThermophysicalTransportModel>
175 "j(" + Yi.
name() +
')',
176 this->momentumTransport().alphaRhoPhi().group()
183 template<
class TurbulenceThermophysicalTransportModel>
194 template<
class TurbulenceThermophysicalTransportModel>
const char *const group
Group name for atomic constants.
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const word & name() const
Return name.
static tmp< GeometricField< vector, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< vector >> &)
Return a temporary field constructed from name,.
Calculate the matrix for the laplacian of the field.
Eddy-diffusivity based gradient heat flux model for RAS or LES of turbulent flow. Specie fluxes are c...
virtual void correctAlphat()
Generic dimensioned Type class.
rhoReactionThermo & thermo
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
virtual tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for the given specie mass-fraction equation.
TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel
virtual bool read()
Read thermophysicalTransport dictionary.
virtual void correct()
Correct the eddyDiffusivity viscosity.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-8/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< volVectorField > j(const volScalarField &Yi) const
Return the specie flux for the given specie mass-fraction.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
eddyDiffusivity(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)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual tmp< volVectorField > q() const
Return the heat flux.
TurbulenceThermophysicalTransportModel::thermoModel thermoModel