44 if (
pimple.firstIter() ||
pimple.moveMeshOuterCorrectors())
54 phi_ = mesh.Sf() & Uf();
70 MRF.makeRelative(phi_);
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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.
Provides controls for the pressure reference in closed-volume simulations.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
fvMesh & mesh_
Region mesh.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
virtual void motionCorrector()
Corrections that follow mesh motion.
pimpleControl pimple(mesh)
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.