33 namespace compressibilityModels
38 barotropicCompressibilityModel,
59 compressibilityProperties_.lookup(
"pSat")
65 compressibilityProperties_.lookup(
"psiv")
71 compressibilityProperties_.lookup(
"psil")
77 compressibilityProperties_.lookup(
"rholSat")
93 /((scalar(1) - gamma_)*pSat_ + gamma_*rholSat_/psil_)
99 ((scalar(1) - gamma_)/
sqrt(psiv_) + gamma_*sfa/
sqrt(psil_))
100 *
sqrt(psiv_*psil_)/sfa
112 compressibilityProperties_.lookup(
"pSat") >> pSat_;
113 compressibilityProperties_.lookup(
"psiv") >> psiv_;
114 compressibilityProperties_.lookup(
"psil") >> psil_;
115 compressibilityProperties_.lookup(
"rholSat") >> rholSat_;
bool read(const dictionary &compressibilityProperties)
Read phaseProperties dictionary.
const dimensionSet dimCompressibility
virtual bool read(const dictionary &compressibilityProperties)=0
Read compressibilityProperties dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-10/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0));alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimPressure
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 string.
const dimensionSet dimDensity
addToRunTimeSelectionTable(barotropicCompressibilityModel, Chung, dictionary)
defineTypeNameAndDebug(Chung, 0)
Abstract class for barotropic compressibility models.
Chung(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
Construct from components.