33 namespace laminarThermophysicalTransportModels
38 template<
class BasicThermophysicalTransportModel>
56 template<
class BasicThermophysicalTransportModel>
64 template<
class BasicThermophysicalTransportModel>
71 template<
class BasicThermophysicalTransportModel>
79 this->momentumTransport().alphaRhoPhi().
group()
86 template<
class BasicThermophysicalTransportModel>
94 template<
class BasicThermophysicalTransportModel>
104 "j(" + Yi.
name() +
')',
105 this->momentumTransport().alphaRhoPhi().group()
112 template<
class BasicThermophysicalTransportModel>
120 template<
class BasicThermophysicalTransportModel>
125 BasicThermophysicalTransportModel
Templated abstract base class for laminar thermophysical transport models.
const char *const group
Group name for atomic constants.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const word & name() const
Return name.
Fourier(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
static const dictionary null
Null dictionary.
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.
virtual tmp< volVectorField > q() const
Return the heat flux.
rhoReactionThermo & thermo
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
BasicThermophysicalTransportModel::thermoModel thermoModel
virtual tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for the given specie mass-fraction equation.
static word groupName(Name name, const word &group)
virtual bool read()
Read thermophysicalTransport dictionary.
virtual void correct()
Correct the Fourier 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()
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))
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
A class for managing temporary objects.
virtual tmp< volVectorField > j(const volScalarField &Yi) const
Return the specie flux for the given specie mass-fraction.