34 #include "surfaceInterpolate.H" 39 template<
class BasePhaseModel>
46 BasePhaseModel(
fluid, phaseName),
79 template<
class BasePhaseModel>
86 template<
class BasePhaseModel>
100 template<
class BasePhaseModel>
109 template<
class BasePhaseModel>
127 template<
class BasePhaseModel>
136 template<
class BasePhaseModel>
150 template<
class BasePhaseModel>
156 sqr(U_.mesh().surfaceInterpolation::deltaCoeffs())
161 return tkapparhoCpbyDelta;
virtual tmp< volVectorField > U() const
Access const reference to U.
virtual tmp< surfaceScalarField > diffNo() const
Maximum diffusion number.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
const word & name() const
The name of this phase.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
Calculate the first temporal derivative.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual tmp< surfaceScalarField > phi() const
Constant access the volumetric flux. Return zero field.
static tmp< GeometricField< scalar, fvsPatchField, surfaceMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvsPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
Calculate the divergence of the given field.
const volScalarField & Cp
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(psi *p+alphal *rhol0+((alphav *psiv+alphal *psil) - psi) *pSat, rhoMin);# 1 "/home/chef2/andy/OpenFOAM/release/v2406/OpenFOAM-v2406/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=clamp((rho - rholSat)/(rhovSat - rholSat), zero_one{});alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
virtual void correct()
Correct the phase properties other than the thermo and turbulence.
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.
StaticPhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
virtual tmp< surfaceScalarField > alphaPhi() const
Constant access the volumetric flux of the phase.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVelocity