55 "transportProperties",
58 IOobject::MUST_READ_IF_MODIFIED,
62 twoPhaseMixture(
U.
mesh(), *this),
66 mixtureViscosityModel::
New 86 rhod_(
"rho",
dimDensity, muModel_->viscosityProperties()),
87 rhoc_(
"rho",
dimDensity, nucModel_->viscosityProperties()),
92 muModel_->viscosityProperties().getOrDefault(
"d", 0.0)
94 alphaMax_(muModel_->viscosityProperties().getOrDefault(
"alphaMax", 1.0)),
134 muModel_->viscosityProperties().getOrDefault(
"d", 0)
138 muModel_->viscosityProperties().getOrDefault
virtual bool read()
Read base transportProperties dictionary.
virtual bool read()
Read object.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
Macros for easy insertion into run-time selection tables.
autoPtr< mixtureViscosityModel > muModel_
scalar alphaMax_
Optional maximum dispersed phase-fraction (e.g. packing limit)
incompressibleTwoPhaseInteractingMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
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)
const dimensionSet dimDensity
autoPtr< viscosityModel > nucModel_
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar dd_
Optional diameter of the dispersed phase particles.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
static constexpr const zero Zero
Global zero (0)