2 word alphaScheme(
"div(phi,alpha)");
7 Pair<tmp<volScalarField>> vDotAlphal =
mixture.vDotAlphal();
18 fv::EulerDdtScheme<scalar>(
mesh).fvmDdt(
alpha1)
19 + fv::gaussConvectionScheme<scalar>
33 Info<<
"Phase-1 volume fraction = " 39 talphaPhi = alpha1Eqn.flux();
46 tmp<surfaceScalarField> talphaPhiCorr
77 divU*(alpha10 - alpha100)
87 talphaPhi.ref() += talphaPhiCorr();
92 talphaPhi.ref() += 0.5*talphaPhiCorr();
109 talphaPhi = talphaPhiCorr;
117 Info<<
"Liquid phase volume fraction = " tmp< surfaceScalarField > talphaPhi
fvMatrix< scalar > fvScalarMatrix
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
word alpharScheme("div(phirb,alpha)")
Ostream & endl(Ostream &os)
Add newline and flush stream.
const volScalarField & vDotcAlphal
GeometricField< scalar, fvPatchField, volMesh > volScalarField
volScalarField alpha10("alpha10", alpha1)
const volScalarField & alpha1
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-7/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 volScalarField vDotvmcAlphal(vDotvAlphal - vDotcAlphal)
surfaceScalarField phic(mixture.cAlpha() *mag(phi/mesh.magSf()))
surfaceScalarField phir(IOobject("phir", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mixture.cAlpha() *mag(phi/mesh.magSf()) *mixture.nHatf())
const dimensionedScalar & rho2
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
phaseChangeTwoPhaseMixture & mixture
const dimensionedScalar & rho1
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)