3 surfaceScalarField
rAUf(
"rAUf", fvc::interpolate(
rAU));
9 + fvc::interpolate(
rho*
rAU)*fvc::ddtCorr(
U,
phi)
30 const rhoThermo&
thermo = phase().thermo();
32 const volScalarField&
rho =
trho();
49 while (
pimple.correctNonOrthogonal())
51 fvScalarMatrix p_rghEqnIncomp
57 tmp<fvScalarMatrix> p_rghEqnComp;
62 tmp<fvScalarMatrix> hmm
64 (max(phase(), scalar(0))/phase().
thermo().
rho())
74 p_rghEqnComp.ref() += hmm;
87 if (
pimple.finalNonOrthogonalIter())
90 for (phaseModel& phase :
mixture.phases())
102 +
rAU*fvc::reconstruct((
phig + p_rghEqnIncomp.flux())/
rAUf);
103 U.correctBoundaryConditions();
119 Info<<
"max(U) " << max(mag(
U)).value() << endl;
120 Info<<
"min(p_rgh) " << min(
p_rgh).value() << endl;
CGAL::Exact_predicates_exact_constructions_kernel K
const surfaceScalarField & ghf
const volScalarField & gh
const dimensionedScalar & pMin
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
constrainPressure(p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
surfaceScalarField phig("phig", -rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))
tmp< volScalarField > rAU
volScalarField p_rgh_0(p_rgh)
PtrList< fvScalarMatrix > p_rghEqnComps(mixture.phases().size())
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< volScalarField > trho
psiReactionThermo & thermo
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.