33 namespace compressibilityModels
38 barotropicCompressibilityModel,
59 compressibilityProperties_.lookup(
"psiv")
65 compressibilityProperties_.lookup(
"psil")
77 psi_ = gamma_*psiv_ + (scalar(1) - gamma_)*psil_;
88 compressibilityProperties_.lookup(
"psiv") >> psiv_;
89 compressibilityProperties_.lookup(
"psil") >> psil_;
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...
linear(const dictionary &compressibilityProperties, const volScalarField &gamma, const word &psiName="psi")
Construct from components.
Macros for easy insertion into run-time selection tables.
bool read(const dictionary &compressibilityProperties)
Read transportProperties dictionary.
A class for handling words, derived from string.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-9/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()
void correct()
Correct the linear compressibility.
addToRunTimeSelectionTable(barotropicCompressibilityModel, Chung, dictionary)
defineTypeNameAndDebug(Chung, 0)
Abstract class for barotropic compressibility models.