17 surfaceScalarField
rhorAUf(
"rhorAUf", fvc::interpolate(
rho*rAU));
20 surfaceScalarField
phig(
"phig",(fvc::interpolate(
rho)*
rhorAUf * g) & mesh.Sf());
36 while (pimple.correctNonOrthogonal())
43 if (pimple.finalNonOrthogonalIter())
48 U.correctBoundaryConditions();
volScalarField porosity(IOobject("porosity", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), mesh, porosity0)
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), mesh, dimensionedVector("U", dimensionSet(0, 1,-1, 0, 0, 0, 0), vector::zero))
volScalarField permeability(IOobject("permeability", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
surfaceScalarField phig("phig",(fvc::interpolate(rho) *rhorAUf *g) &mesh.Sf())
surfaceScalarField phiHbyA("phiHbyA", phig+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi, rhoUf)))
constrainPressure(p, rho, U, phiHbyA, rhorAUf, MRF)
fvScalarMatrix p_rghDDtEqn(porosity *rho *betaT *fvm::ddt(p) -porosity *rho *alphaP *fvc::ddt(T)+fvc::div(phiHbyA))
volVectorField HbyA(U *0)
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))