58 #ifndef compressibleVoF_H
59 #define compressibleVoF_H
157 return mixture.incompressible();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
const word & name() const
Return name.
Compressible two-phase VoF thermophysicalTransportModel.
Transport model selection class for the compressibleInterFoam family of solvers.
Class to represent a mixture of two rhoFluidThermo-based phases.
const volScalarField & rho1() const
Return the density of phase 1.
const volScalarField & rho2() const
Return the density of phase 2.
Mesh data needed to do the Finite Volume discretisation.
virtual bool addsSupToField(const word &fieldName) const
Return true if an fvModel adds a source term to the given.
Provides controls for the pressure reference in closed-volume simulations.
Foam::fvModels & fvModels() const
Return the fvModels that are created on demand.
const fvMesh & mesh
Region mesh.
const volVectorField & U
Reference to the velocity field.
Solver module for 2 compressible, non-isothermal immiscible fluids using a VOF (volume of fluid) phas...
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.
virtual void momentumTransportCorrector()
Correct the momentum transport.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
virtual bool incompressible() const
The fluid is incompressible if both phases are incompressible.
volScalarField & p
Reference to the mixture static pressure field.
virtual bool divergent() const
Compressible flow is divergent.
virtual void momentumTransportPredictor()
Predict the momentum transport.
tmp< volScalarField::Internal > contErr2
Phase-2 continuity error.
surfaceScalarField alphaRhoPhi2
volScalarField::Internal vDot
Compressibility source.
virtual void alphaSuSp(tmp< volScalarField::Internal > &Su, tmp< volScalarField::Internal > &Sp)
Calculate the alpha equation sources.
const compressibleTwoPhaseVoFMixture & mixture
The compressible two-phase mixture.
volScalarField K
Kinetic energy field.
scalar vDotResidualAlpha
Compressibility source stabilisation tolerance.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
compressibleInterPhaseTransportModel momentumTransport
Momentum transport model.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
compressibleTwoPhaseVoFMixture & mixture_
The compressible two-phase mixture.
compressibleVoF(fvMesh &mesh)
Construct from region mesh.
TypeName("compressibleVoF")
Runtime type information.
virtual void thermophysicalTransportCorrector()
Correct the thermophysical transport.
surfaceScalarField alphaRhoPhi1
void operator=(const compressibleVoF &)=delete
Disallow default bitwise assignment.
virtual ~compressibleVoF()
Destructor.
tmp< volScalarField::Internal > contErr1
Phase-1 continuity error.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U)
Return the momentum equation stress term.
compressibleInterPhaseThermophysicalTransportModel thermophysicalTransport
Thermophysical transport model.
Foam::pressureReference pressureReference_
Pressure reference.
virtual void thermophysicalTransportPredictor()
Predict thermophysical transport.
virtual bool read()
Read controls.
Solver module base-class for 2 immiscible fluids using a VOF (volume of fluid) phase-fraction based i...
A class for managing temporary objects.
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
tmp< VolField< Type > > Sp(const volScalarField &sp, const VolField< Type > &vf)