51 #ifndef compressibleMultiphaseVoF_H
52 #define compressibleMultiphaseVoF_H
131 return mixture.incompressible();
166 TypeName(
"compressibleMultiphaseVoF");
Generic GeometricField class.
Template dictionary class which manages the storage associated with it.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for single-phase compressible turbulence models.
Compressible multiphase mixture for interface-capturing simulations.
Mesh data needed to do the Finite Volume discretisation.
Provides controls for the pressure reference in closed-volume simulations.
const fvMesh & mesh
Region mesh.
const volVectorField & U
Reference to the velocity field.
Solver module for the solution of multiple compressible, isothermal immiscible fluids using a VOF (vo...
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
virtual tmp< volScalarField > psiByRho() const
Return the mixture compressibility/density.
virtual const Foam::pressureReference & pressureReference() const
Return the pressure reference.
UPtrListDictionary< compressibleVoFphase > & phases
Reference to the phases.
virtual void momentumTransportCorrector()
Correct the momentum transport.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
TypeName("compressibleMultiphaseVoF")
Runtime type information.
autoPtr< compressible::momentumTransportModel > momentumTransport_
Momentum transport model pointer.
virtual bool incompressible() const
The flow is incompressible if all phases are incompressible.
volScalarField & p
Reference to the mixture static pressure field.
virtual bool divergent() const
The flow is divergent if it is not incompressible.
virtual void momentumTransportPredictor()
Predict the momentum transport.
volScalarField K
Kinetic energy field.
virtual void alphaPredictor()
Solve for the phase-fractions.
compressible::momentumTransportModel & momentumTransport
Momentum transport model.
tmp< volScalarField::Internal > contErr
Continuity error.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
compressibleMultiphaseVoF(fvMesh &mesh)
Construct from region mesh.
virtual void thermophysicalTransportCorrector()
Correct the thermophysical transport.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U)
Return the momentum equation stress term.
compressibleMultiphaseVoFMixture & mixture
The compressible two-phase mixture.
Foam::pressureReference pressureReference_
Pressure reference.
virtual ~compressibleMultiphaseVoF()
Destructor.
void operator=(const compressibleMultiphaseVoF &)=delete
Disallow default bitwise assignment.
virtual void thermophysicalTransportPredictor()
Predict thermophysical transport.
Base solver module for the solution of multiple immiscible fluids using a VOF (volume of fluid) phase...
A class for managing temporary objects.