42 #include "surfaceInterpolate.H" 46 template<
class BasePhaseModel>
53 BasePhaseModel(
fluid, phaseName),
76 template<
class BasePhaseModel>
83 template<
class BasePhaseModel>
91 template<
class BasePhaseModel>
99 template<
class BasePhaseModel>
107 template<
class BasePhaseModel>
115 template<
class BasePhaseModel>
123 template<
class BasePhaseModel>
virtual tmp< volVectorField > U() const
Access const reference to U.
MovingPhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
virtual void correct()
Correct the phase properties other than the thermo and turbulence.
const word & name() const
The name of this phase.
const dimensionSet dimless
Dimensionless.
virtual tmp< surfaceScalarField > diffNo() const
Diffusion number.
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.
Calculate the matrix for the first temporal derivative.
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.
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()
Calculate the matrix for the divergence of the given field and flux.
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...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Do not request registration (bool: false)
Calculate the finiteVolume matrix for implicit and explicit sources.
virtual tmp< surfaceScalarField > phi() const
Constant access the volumetric flux.
virtual tmp< surfaceScalarField > alphaPhi() const
Constant access the volumetric flux of the phase.
static constexpr const zero Zero
Global zero (0)