93 momentumTransport(momentumTransport_())
138 momentumTransport.predict();
149 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 momentumTransportCorrector()
Correct the momentum transport.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
virtual void momentumTransportPredictor()
Predict the momentum transport.
compressibleMultiphaseVoF(fvMesh &mesh)
Construct from region mesh.
virtual void thermophysicalTransportCorrector()
Correct the thermophysical transport.
virtual ~compressibleMultiphaseVoF()
Destructor.
virtual void thermophysicalTransportPredictor()
Predict thermophysical transport.
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)
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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
void magSqr(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)