21 while (
pimple.correctNonOrthogonal())
30 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
32 if (
pimple.finalNonOrthogonalIter())
49 while (
pimple.correctNonOrthogonal())
58 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
60 if (
pimple.finalNonOrthogonalIter())
62 phi = phiHbyA + pEqn.flux();
68 #include "continuityErrs.H" 71 U.correctBoundaryConditions();
Solve the continuity for density.
volSymmTensorField invA(inv(I *UEqn.A()+drag->Dcu()))
CGAL::Exact_predicates_exact_constructions_kernel K
dimensioned< scalar > magSqr(const dimensioned< Type > &)
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
const volScalarField & betav
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
const dictionary & pimple
fvMatrix< scalar > fvScalarMatrix
fvVectorMatrix UEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
surfaceScalarField phid("phid", fvc::interpolate(psi)*( (mesh.Sf()&fvc::interpolate(HbyA)) +rhorAUf *fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho) ))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const volScalarField & psi
GeometricField< vector, fvPatchField, volMesh > volVectorField
volScalarField rAU(1.0/UEqn.A())
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
psiReactionThermo & thermo