Go to the documentation of this file.
30 #include "phaseSystem.H"
34 #include "surfaceInterpolate.H"
39 template<
class BasePhaseModel>
42 const phaseSystem&
fluid,
46 BasePhaseModel(
fluid, phaseName),
52 IOobject::groupName(
"phi", phaseModel::
name()),
63 IOobject::groupName(
"alphaPhi", phaseModel::
name()),
75 template<
class BasePhaseModel>
82 template<
class BasePhaseModel>
91 U_.mesh().time().timeName(),
100 template<
class BasePhaseModel>
109 template<
class BasePhaseModel>
113 return tmp<surfaceScalarField>
120 U_.mesh().time().timeName(),
130 template<
class BasePhaseModel>
139 template<
class BasePhaseModel>
143 return tmp<volVectorField>
150 U_.mesh().time().timeName(),
160 template<
class BasePhaseModel>
164 tmp<surfaceScalarField> tkapparhoCpbyDelta
166 sqr(U_.mesh().surfaceInterpolation::deltaCoeffs())
171 return tkapparhoCpbyDelta;
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVelocity
virtual tmp< surfaceScalarField > alphaPhi() const
Constant access the volumetric flux of the phase.
Calculate the divergence of the given field.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
virtual tmp< volVectorField > U() const
Access const reference to U.
word name(const complex &c)
Return string representation of complex.
virtual tmp< surfaceScalarField > phi() const
Constant access the volumetric flux. Return zero field.
virtual tmp< surfaceScalarField > diffNo() const
Maximum diffusion number.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
StaticPhaseModel(const phaseSystem &fluid, const word &phaseName)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual void correct()
Correct the phase properties other than the thermo and turbulence.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const volScalarField & Cp
Calculate the first temporal derivative.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.