#define forAll(list, i)
Loop across all elements in list.
For cases which do no have a pressure boundary adjust the balance of fluxes to obey continuity....
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
void relax(const scalar alpha)
Relax field (for steady-state solution).
bool needReference() const
Does the field need a reference level for solution.
void correctBoundaryConditions()
Correct boundary field.
void makeRelative(volVectorField &U) const
Make the given absolute velocity relative within the MRF region.
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
tmp< SurfaceField< Type > > flux() const
Return the face-flux field from the matrix.
void setReference(const label celli, const Type &value, const bool forceReference=false)
Set reference level for solution.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
tmp< fvMatrix< Type > > sourceProxy(const VolField< Type > &eqnField) const
Return source for an equation.
bool finalNonOrthogonalIter() const
Flag to indicate the last non-orthogonal iteration.
bool correct()
Piso loop within outer loop.
bool correctNonOrthogonal()
Non-orthogonal corrector loop.
Provides controls for the pressure reference in closed-volume simulations.
Foam::fvModels & fvModels() const
Return the fvModels that are created on demand.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
Foam::fvConstraints & fvConstraints() const
Return the fvConstraints that are created on demand.
const fvMesh & mesh
Region mesh.
volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
const surfaceScalarField & phi
Reference to the mass-flux field.
volVectorField U_
Velocity field.
tmp< fvVectorMatrix > tUEqn
Cached momentum matrix.
autoPtr< surfaceVectorField > Uf
Pointer to the surface momentum field.
autoPtr< volScalarField > rAU
Inverse momentum equation diagonal.
const volVectorField & U
Reference to the velocity field.
void clearrAU()
Clear the cached rAU is no longer needed.
IOMRFZoneList MRF
MRF zone list.
surfaceScalarField phi_
Volumetric flux field.
const volScalarField & rho
Reference to the mixture continuity density field.
void continuityErrors()
Calculate and print the continuity errors.
void setrAU(const fvVectorMatrix &UEqn)
Set or update the cached rAU.
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
volScalarField gh
(g & h) - ghRef
surfaceScalarField ghf
(g & hf) - ghRef
virtual const Foam::pressureReference & pressureReference() const
Return the pressure reference.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
UPtrListDictionary< incompressibleVoFphase > & phases
Reference to the phases.
volScalarField p
Static pressure field.
virtual tmp< surfaceScalarField > surfaceTensionForce() const
Return the interface surface tension force for the momentum equation.
Find the reference cell nearest (in index) to the given cell but which is not on a cyclic,...
Calculate the first temporal derivative.
Calculate the divergence of the given field.
Calculate the face-flux of the given field.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
Reconstruct volField from a face flux field.
Calculate the snGrad of the given volField.
Calculate the matrix for the laplacian of the field.
surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
tmp< SurfaceField< typename innerProduct< vector, Type >::type > > flux(const VolField< Type > &vf)
Return the face-flux field obtained from the given volVectorField.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< VolField< typename outerProduct< vector, Type >::type > > reconstruct(const SurfaceField< Type > &ssf)
void correctUf(autoPtr< surfaceVectorField > &Uf, const volVectorField &U, const surfaceScalarField &phi, const MRFType &MRF)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
tmp< SurfaceField< typename Foam::flux< Type >::type > > ddtCorr(const VolField< Type > &U, const SurfaceField< Type > &Uf)
tmp< fvMatrix< Type > > laplacian(const VolField< Type > &vf, const word &name)
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
bool adjustPhi(surfaceScalarField &phi, const volVectorField &U, volScalarField &p)
Adjust the balance of fluxes to obey continuity.
void constrainHbyA(volVectorField &HbyA, const volVectorField &U, const volScalarField &p)
const dimensionSet dimTime
const dimensionSet dimVolume
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.