58 #ifndef compressibleVoF_H
59 #define compressibleVoF_H
151 return mixture.incompressible();
const dictionary & alphaControls
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.
A list of keyword definitions, which are a keyword followed by any number of values (e....
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 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.
tmp< volScalarField::Internal > contErr2
Phase-2 continuity error.
surfaceScalarField alphaRhoPhi2
volScalarField::Internal vDot
Compressibility source.
const compressibleTwoPhaseVoFMixture & mixture
The compressible two-phase mixture.
volScalarField K
Kinetic energy field.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
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.
surfaceScalarField alphaRhoPhi1
void operator=(const compressibleVoF &)=delete
Disallow default bitwise assignment.
virtual void alphaSuSp(tmp< volScalarField::Internal > &Su, tmp< volScalarField::Internal > &Sp, const dictionary &alphaControls)
Calculate the alpha equation sources.
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.
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)