42 void Foam::solvers::twoPhaseVoFSolver::correctCoNum()
76 return interface.surfaceTensionForce();
90 interface(
mixture, alpha1, alpha2,
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.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
const surfaceScalarField & phi
Reference to the mass-flux field.
scalar alphaCoNum
Phase-fraction flux Courant number.
virtual void correctCoNum()=0
Correct the cached Courant numbers.
Solver module base-class for 2 immiscible fluids, with optional mesh motion and mesh topology changes...
Solver module base-class for 2 immiscible fluids using a VOF (volume of fluid) phase-fraction based i...
twoPhaseVoFSolver(fvMesh &mesh, autoPtr< twoPhaseVoFMixture >)
Construct from region mesh.
virtual tmp< surfaceScalarField > surfaceTensionForce() const
Return the interface surface tension force for the momentum equation.
interfaceProperties interface
virtual void correctInterface()
Correct the interface properties following mesh-change.
virtual ~twoPhaseVoFSolver()
Destructor.
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)
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)