4 Pair<tmp<volScalarField>> vDotAlphal =
mixture.vDotAlphal();
15 fv::EulerDdtScheme<scalar>(
mesh).fvmDdt(
alpha1)
16 + fv::gaussConvectionScheme<scalar>
30 Info<<
"Phase-1 volume fraction = " 36 talphaPhi = alpha1Eqn.flux();
43 tmp<surfaceScalarField> talphaPhiCorr
68 divU*(alpha10 - alpha100)
78 talphaPhi.ref() += talphaPhiCorr();
83 talphaPhi.ref() += 0.5*talphaPhiCorr();
100 talphaPhi = talphaPhiCorr;
108 Info<<
"Liquid phase volume fraction = " ITstream compressionScheme(compressionSchemes.found(alphaScheme) ? mesh.divScheme(divAlphaName) :ITstream(divAlphaName, tokenList { word("Gauss"), word("interfaceCompression"), alphaScheme, alphaControls.lookup< scalar >("cAlpha") }))
fvMatrix< scalar > fvScalarMatrix
volScalarField alpha10("alpha10", alpha1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< surfaceScalarField > talphaPhi
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField & alpha1(mixture.alpha1())
const volScalarField vDotvmcAlphal(vDotvAlphal - vDotcAlphal)
const volScalarField & vDotcAlphal
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-8/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()
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const label nAlphaCorr(alphaControls.lookup< label >("nAlphaCorr"))
const dimensionedScalar & rho2
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
phaseChangeTwoPhaseMixture & mixture
const dimensionedScalar & rho1
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
const bool MULESCorr(alphaControls.lookupOrDefault< Switch >("MULESCorr", false))