40 template<
class RAUfType,
class DivUType>
60 zeroGradientFvPatchScalarField::typeName
85 if (pcorr.needReference())
108 phi -= pcorrEqn.
flux();
114 template<
class RAUfType,
class DivRhoUType>
122 const RAUfType& rAUf,
123 const DivRhoUType& divRhoU,
136 zeroGradientFvPatchScalarField::typeName
180 phi += pcorrEqn.
flux();
bool correctNonOrthogonal()
Non-orthogonal corrector loop.
Mesh data needed to do the Finite Volume discretisation.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux() const
Return the face-flux field from the matrix.
void setFluxRequired(const word &name) const
bool adjustPhi(surfaceScalarField &phi, const volVectorField &U, volScalarField &p)
Adjust the balance of fluxes to obey continuity.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
Calulate the matrix for the first temporal derivative.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const Mesh & mesh() const
Return mesh.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
const Time & time() const
Return the top-level database.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
bool finalNonOrthogonalIter() const
Helper function to identify final non-orthogonal iteration.
const dimensionSet & dimensions() const
Return dimensions.
solverPerformance solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
wordList pcorrTypes(p.boundaryField().size(), zeroGradientFvPatchScalarField::typeName)
Calculate the matrix for the laplacian of the field.
Calculate the divergence of the given field.
For cases which do no have a pressure boundary adjust the balance of fluxes to obey continuity...
void setReference(const label celli, const Type &value, const bool forceReference=false)
Set reference level for solution.
A scalar instance of fvMatrix.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
void CorrectPhi(volVectorField &U, surfaceScalarField &phi, const volScalarField &p, const RAUfType &rAUf, const DivUType &divU, pimpleControl &pimple)