An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const surfaceVectorField & Sf() const
Return cell face area vectors.
bool move()
Move the mesh.
bool moveMeshOuterCorrectors() const
Switch to move the mesh at the start of every PIMPLE.
bool firstIter() const
Flag to indicate the first iteration.
bool changing() const
Is mesh changing.
bool topoChanged() const
Has the mesh topology changed this time-step.
Provides controls for the pressure reference in closed-volume simulations.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
fvMesh & mesh_
Region mesh.
const fvMesh & mesh
Region mesh.
bool correctPhi
Switch to correct the flux after mesh change.
void meshCourantNo() const
Check mesh Courant numbers for moving mesh cases.
const volVectorField & Uc
Reference to the continuous phase velocity field.
surfaceScalarField phic_
Continuous phase flux field.
volVectorField Uc_
Continuous phase velocity field.
autoPtr< surfaceVectorField > Ucf
Pointer to the surface momentum field.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
const volScalarField & p
Reference to the pressure field.
Flux correction functions to ensure continuity.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
void correctPhi(surfaceScalarField &phi, const volVectorField &U, const volScalarField &p, const autoPtr< volScalarField > &rAU, const autoPtr< volScalarField > &divU, const pressureReference &pressureReference, nonOrthogonalSolutionControl &pcorrControl)
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
void correctUphiBCs(volVectorField &U, surfaceScalarField &phi, const bool evaluateUBCs)
If the mesh is moving correct the velocity BCs on the moving walls to.