34 namespace laminarThermophysicalTransportModels
39 template<
class BasicThermophysicalTransportModel>
57 template<
class BasicThermophysicalTransportModel>
65 template<
class BasicThermophysicalTransportModel>
72 template<
class TurbulenceThermophysicalTransportModel>
80 <<
type() <<
" supports single component systems only, " <<
nl 81 <<
" for multi-component transport select" 89 template<
class TurbulenceThermophysicalTransportModel>
98 <<
type() <<
" supports single component systems only, " <<
nl 99 <<
" for multi-component transport select" 107 template<
class BasicThermophysicalTransportModel>
117 this->momentumTransport().alphaRhoPhi().
group()
124 template<
class BasicThermophysicalTransportModel>
138 template<
class BasicThermophysicalTransportModel>
145 <<
type() <<
" supports single component systems only, " <<
nl 146 <<
" for multi-component transport select" 154 template<
class BasicThermophysicalTransportModel>
159 <<
type() <<
" supports single component systems only, " <<
nl 160 <<
" for multi-component transport select" 168 template<
class BasicThermophysicalTransportModel>
173 BasicThermophysicalTransportModel
Templated abstract base class for laminar thermophysical transport models.
const char *const group
Group name for atomic constants.
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.
fluidReactionThermo & thermo
Fourier(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from components.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
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()
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,.
Calculate the matrix for the laplacian of the field.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
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)
Calculate the laplacian of the given field.
virtual bool read()
Read thermophysicalTransport dictionary.
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 void correct()
Correct the Fourier 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 tmp< volScalarField > DEff(const volScalarField &Yi) const
Effective mass diffusion coefficient.
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.
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
A class for managing temporary objects.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)