43 void Foam::solvers::multiphaseVoFSolver::correctCoNum()
75 return mixture.surfaceTensionForce(
U);
const scalar meanAlphaCoNum
scalar deltaTValue() const
Return time step value.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh data needed to do the Finite Volume discretisation.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
Multiphase VoF mixture with support for interface properties.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
Base solver module base-class for the solution of immiscible fluids using a VOF (volume of fluid) pha...
const surfaceScalarField & phi
Reference to the mass-flux field.
virtual void prePredictor()=0
Called at the start of the PIMPLE loop.
scalar alphaCoNum
Phase-fraction flux Courant number.
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
virtual void correctCoNum()=0
Correct the cached Courant numbers.
Base solver module for the solution of multiple immiscible fluids using a VOF (volume of fluid) phase...
virtual tmp< surfaceScalarField > surfaceTensionForce() const
Return the interface surface tension force for the momentum equation.
virtual ~multiphaseVoFSolver()
Destructor.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
multiphaseVoFSolver(fvMesh &mesh, autoPtr< multiphaseVoFMixture >)
Construct from region mesh.
multiphaseVoFMixture & mixture
Reference to the multiphaseVoFMixture.
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
virtual void correctInterface()
Correct the interface properties following mesh-change.
A class for managing temporary objects.
Area-weighted average a surfaceField creating a volField.
tmp< VolField< Type > > surfaceSum(const SurfaceField< Type > &ssf)
defineTypeNameAndDebug(compressibleMultiphaseVoF, 0)
Type gSum(const FieldField< Field, Type > &f)
To & refCast(From &r)
Reference type cast template function.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensioned< scalar > mag(const dimensioned< Type > &)
Type gMax(const FieldField< Field, Type > &f)