14 if (
p.needReference())
27 while (
pimple.correctNonOrthogonal())
45 if (
pimple.finalNonOrthogonalIter())
47 phic = phiHbyASp - pEqn.flux()/alphacf;
59 Uc.correctBoundaryConditions();
pressureReference & pressureReference
fvMatrix< scalar > fvScalarMatrix
pimpleNoLoopControl & pimple
autoPtr< surfaceVectorField > Ucf
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
volScalarField rASpUc(1.0/(UcEqn.A() - cloudSUp/rhoc))
surfaceScalarField rASpUcf("Dp", fvc::interpolate(rASpUc))
GeometricField< vector, fvPatchField, volMesh > volVectorField
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Calculates and prints the continuity errors.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Foam::fvConstraints & fvConstraints
void correctUf(autoPtr< surfaceVectorField > &Uf, const volVectorField &U, const surfaceScalarField &phi)
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
MRF makeRelative(phiHbyA)
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
adjustPhi(phiHbyA, Urel, p)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
volVectorField HbyASp(rASpUc/rAUc *HbyA)
fvVectorMatrix UcEqn(fvm::ddt(alphac, Uc)+fvm::div(alphaPhic, Uc) - fvm::Sp(fvc::ddt(alphac)+fvc::div(alphaPhic), Uc)+continuousPhaseTurbulence->divDevTau(Uc)==(1.0/rhoc) *cloudSU)
surfaceScalarField phicSUSu(fvc::flux(rASpUc *cloudSUu/rhoc)+rASpUcf *(g &mesh.Sf()))
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
volScalarField rAUc(1.0/UcEqn.A())
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
surfaceScalarField phicSUSp(fvc::interpolate(rASpUc *cloudSUp/rhoc))
constrainPressure(p, rho, U, phiHbyA, rhorAUf, MRF)