43template<
class RAUfType,
class DivUType>
62 p.boundaryField().size(),
67 forAll(
p.boundaryField(), patchi)
69 if (
p.boundaryField()[patchi].fixesValue())
88 if (
pcorr.needReference())
90 fvc::makeRelative(
phi,
U);
92 fvc::makeAbsolute(
phi,
U);
97 while (
pimple.correctNonOrthogonal())
113 if (
pimple.finalNonOrthogonalIter())
121template<
class RAUfType,
class DivRhoUType>
129 const RAUfType&
rAUf,
130 const DivRhoUType& divRhoU,
142 p.boundaryField().size(),
147 forAll(
p.boundaryField(), patchi)
149 if (
p.boundaryField()[patchi].fixesValue())
170 while (
pimple.correctNonOrthogonal())
188 if (
pimple.finalNonOrthogonalIter())
For cases which do no have a pressure boundary adjust the balance of fluxes to obey continuity....
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux() const
Return the face-flux field from the matrix.
SolverPerformance< Type > solve(const dictionary &)
Solve returning the solution statistics.
void setReference(const label celli, const Type &value, const bool forceReference=false)
Set reference level for solution.
Mesh data needed to do the Finite Volume discretisation.
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
const volScalarField & psi
volScalarField pcorr(IOobject("pcorr", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(p.dimensions(), Zero), pcorrTypes)
wordList pcorrTypes(p.boundaryField().size(), zeroGradientFvPatchScalarField::typeName)
A scalar instance of fvMatrix.
Calculate the divergence of the given field.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for the laplacian of the field.
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))
adjustPhi(phiHbyA, U, p_rgh)
void CorrectPhi(volVectorField &U, surfaceScalarField &phi, const volScalarField &p, const RAUfType &rAUf, const DivUType &divU, pimpleControl &pimple)
#define forAll(list, i)
Loop across all elements in list.
static const char *const typeName
The type name used in ensight case files.