35 namespace compressibilityModels
40 barotropicCompressibilityModel,
61 compressibilityProperties_
67 compressibilityProperties_
73 compressibilityProperties_
79 compressibilityProperties_
102 *
sqrt(psiv_*psil_)/sfa
114 compressibilityProperties_.readEntry(
"pSat", pSat_);
115 compressibilityProperties_.readEntry(
"psiv", psiv_);
116 compressibilityProperties_.readEntry(
"psil", psil_);
117 compressibilityProperties_.readEntry(
"rholSat", rholSat_);
bool read(const dictionary &compressibilityProperties)
Read transportProperties dictionary.
virtual bool read(const dictionary &compressibilityProperties)=0
Read compressibilityProperties dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
void correct()
Correct the Chung compressibility.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from Foam::string.
const dimensionSet dimPressure
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/v2306/OpenFOAM-v2306/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()
addToRunTimeSelectionTable(barotropicCompressibilityModel, Chung, dictionary)
const dimensionSet dimDensity
defineTypeNameAndDebug(Chung, 0)
Abstract class for barotropic compressibility models.
const volScalarField & gamma_
const dimensionSet dimCompressibility
Chung(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
Construct from components.