void update()
Update MRFZone faces if the mesh topology changes.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const volScalarField & psi() const =0
Compressibility [s^2/m^2].
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.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
fvMesh & mesh_
Region mesh.
const fvMesh & mesh
Region mesh.
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
void moveMesh()
Update gh and ghf following mesh-motion.
bool correctPhi
Switch to correct the flux after mesh change.
void meshCourantNo() const
Check mesh Courant numbers for moving mesh cases.
autoPtr< volScalarField > divrhoU
Pointer to the vol momentum divergence field.
volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
volVectorField U_
Velocity field.
autoPtr< surfaceVectorField > rhoUf
Pointer to the surface momentum field.
autoPtr< volVectorField > rhoU
Pointer to the vol momentum field.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
const volVectorField & U
Velocity field.
IOMRFZoneList MRF
MRF zone list.
autoPtr< volVectorField > rhoU0
Pointer to the old-time vol momentum field.
surfaceScalarField phi_
Mass-flux field.
const volScalarField & rho
Reference to the continuity density field.
const fluidThermo & thermo
Reference to the fluid thermophysical properties.
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.