29 #include "surfaceInterpolate.H" 35 namespace laminarThermophysicalTransportModels
40 template<
class BasicThermophysicalTransportModel>
56 template<
class BasicThermophysicalTransportModel>
75 template<
class BasicThermophysicalTransportModel>
83 template<
class BasicThermophysicalTransportModel>
90 template<
class BasicThermophysicalTransportModel>
99 this->momentumTransport().alphaRhoPhi().
group()
107 template<
class BasicThermophysicalTransportModel>
116 template<
class BasicThermophysicalTransportModel>
126 "j(" + Yi.
name() +
')',
127 this->momentumTransport().alphaRhoPhi().group()
135 template<
class BasicThermophysicalTransportModel>
144 template<
class BasicThermophysicalTransportModel>
149 BasicThermophysicalTransportModel
Templated abstract base class for laminar thermophysical transport models.
const char *const group
Group name for atomic constants.
const word & name() const
Return name.
fluidReactionThermo & thermo
A list of keyword definitions, which are a keyword followed by any number of values (e...
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,.
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
Calculate the matrix for the laplacian of the field.
Calculate the snGrad of the given volField.
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
A class for handling words, derived from string.
unityLewisFourier(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from a momentum transport model and a thermo model.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-9/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()
static word groupName(Name name, const word &group)
static const dictionary null
Null dictionary.
virtual tmp< surfaceScalarField > j(const volScalarField &Yi) const
Return the specie flux for the given specie mass-fraction [kg/m^2/s].
virtual tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for the given specie mass-fraction equation.
virtual bool read()
Read thermophysicalTransport dictionary.
laminarThermophysicalTransportModel ::thermoModel thermoModel
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.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
unityLewisFourier's energy gradient heat flux model for laminar flow. Specie fluxes are computed assu...
laminarThermophysicalTransportModel ::momentumTransportModel momentumTransportModel
A class for managing temporary objects.
virtual void correct()
Correct the unityLewisFourier viscosity.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.