15 surfaceScalarField
rhorAUf(
"rhorAUf", fvc::interpolate(
rho*rAU));
18 surfaceScalarField
phig(
"phig",(fvc::interpolate(
rho)*
rhorAUf * g) & mesh.Sf());
35 while (pimple.correctNonOrthogonal())
42 if (pimple.finalNonOrthogonalIter())
51 U.correctBoundaryConditions();
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())
volVectorField HbyA(U *0)
constrainPressure(p, rho, U, phiHbyA, rhorAUf)
surfaceScalarField phiHbyA("phiHbyA", phig)
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))