100 momentumTransport(momentumTransport_())
149 if (
pimple.predictTransport())
151 momentumTransport.predict();
162 if (
pimple.correctTransport())
164 momentumTransport.correct();
Macros for easy insertion into run-time selection tables.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
bool restart() const
Return true if the run is a restart, i.e. startTime != beginTime.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word & name() const
Return const reference to name.
Mesh data needed to do the Finite Volume discretisation.
bool topoChanging() const
Does the mesh topology change?
Incompressible multiphase mixture for interface-capturing simulations.
Abstract base class for turbulence models (RAS, LES and laminar).
Multiphase VoF mixture with support for interface properties.
Abstract base class for run-time selectable region solvers.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
volVectorField U_
Velocity field.
autoPtr< volScalarField > rAU
Inverse momentum equation diagonal.
const volVectorField & U
Reference to the velocity field.
surfaceScalarField phi_
Volumetric flux field.
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
bool correctPhi
Switch to correct the flux after mesh change.
Solver module for the solution of multiple incompressible, isothermal immiscible fluids using a VOF (...
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
virtual const Foam::pressureReference & pressureReference() const
Return the pressure reference.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
virtual ~incompressibleMultiphaseVoF()
Destructor.
virtual bool divergent() const
The flow is not incompressible and hence not divergent.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
incompressibleMultiphaseVoF(fvMesh &mesh)
Construct from region mesh.
Base solver module for the solution of multiple immiscible fluids using a VOF (volume of fluid) phase...
virtual void prePredictor()
Called at the start of the PIMPLE loop.
pimpleControl pimple(mesh)
Flux correction functions to ensure continuity.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
void correctPhi(surfaceScalarField &phi, const volVectorField &U, const volScalarField &p, const autoPtr< volScalarField > &rAU, const autoPtr< volScalarField > &divU, const pressureReference &pressureReference, nonOrthogonalSolutionControl &pcorrControl)
addToRunTimeSelectionTable(solver, compressibleMultiphaseVoF, fvMesh)
defineTypeNameAndDebug(compressibleMultiphaseVoF, 0)
To & refCast(From &r)
Reference type cast template function.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimTime
const dimensionSet dimDensity
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.