31 #include "surfaceInterpolate.H" 43 inverseVolumeDiffusivity,
51 Foam::inverseVolumeDiffusivity::inverseVolumeDiffusivity
89 V.primitiveFieldRef() =
mesh().
V();
90 V.correctBoundaryConditions();
static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
virtual ~inverseVolumeDiffusivity()
Destructor.
virtual void correct()
Correct the motion diffusivity.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ignore writing from objectRegistry::writeObject()
const dimensionSet dimless
Dimensionless.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
Macros for easy insertion into run-time selection tables.
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()
defineTypeNameAndDebug(combustionModel, 0)
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.
Mesh data needed to do the Finite Volume discretisation.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Do not request registration (bool: false)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)