93 momentumTransport(momentumTransport_())
134 if (
pimple.predictTransport())
136 momentumTransport.predict();
143 if (
pimple.correctTransport())
145 momentumTransport.correct();
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Compressible multiphase mixture for interface-capturing simulations.
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?
tmp< fvMatrix< Type > > source(const VolField< Type > &field) const
Return source for an equation.
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.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
autoPtr< volScalarField > rAU
Inverse momentum equation diagonal.
Solver module for the solution of multiple compressible, isothermal immiscible fluids using a VOF (vo...
virtual void prePredictor()
Called at the start of the PIMPLE loop.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
compressibleMultiphaseVoF(fvMesh &mesh)
Construct from region mesh.
virtual ~compressibleMultiphaseVoF()
Destructor.
bool correctPhi
Switch to correct the flux after mesh change.
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.
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
pimpleControl pimple(mesh)
Calculate the first temporal derivative.
Calculate the divergence of the given field.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
tmp< VolField< Type > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
addToRunTimeSelectionTable(solver, compressibleMultiphaseVoF, fvMesh)
defineTypeNameAndDebug(compressibleMultiphaseVoF, 0)
To & refCast(From &r)
Reference type cast template function.
const dimensionSet dimTime
const dimensionSet dimDensity
VolField< scalar > volScalarField
dimensioned< scalar > magSqr(const dimensioned< Type > &)