60 if (
pimple.firstIter() ||
pimple.moveMeshOuterCorrectors())
72 phi_ = mesh.Sf() & Uf();
103 MRF.makeRelative(phi_);
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 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.
const surfaceScalarField & phi
Reference to the mass-flux field.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
autoPtr< volScalarField > divU
Pointer to the momentum divergence field.
const volVectorField & U
Reference to the velocity field.
virtual bool divergent() const =0
Is the flow divergent?
virtual void motionCorrector()
Corrections that follow mesh motion.
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.
pimpleControl pimple(mesh)
Flux correction functions to ensure continuity.
Calculate the divergence of the given field.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
volScalarField rAU(1.0/UEqn.A())
void correctPhi(surfaceScalarField &phi, const volVectorField &U, const volScalarField &p, const autoPtr< volScalarField > &rAU, const autoPtr< volScalarField > &divU, const pressureReference &pressureReference, nonOrthogonalSolutionControl &pcorrControl)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
void makeRelative(surfaceScalarField &phi, const volVectorField &U)
Make the given flux relative.
VolField< scalar > volScalarField
void correctUphiBCs(volVectorField &U, surfaceScalarField &phi, const bool evaluateUBCs)
If the mesh is moving correct the velocity BCs on the moving walls to.