37 #ifndef twoPhaseSystem_H 38 #define twoPhaseSystem_H 48 class virtualMassModel;
158 virtual void solve();
virtual ~twoPhaseSystem()
Destructor.
phaseModel & phase1_
Phase model 1.
const phaseModel & phase1() const
Return phase model 1.
tmp< volScalarField > Kd() const
Return the drag coefficient.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< volScalarField > sigma() const
Return the surface tension coefficient.
static autoPtr< twoPhaseSystem > New(const fvMesh &mesh)
const fvMesh & mesh() const
Return the mesh.
declareRunTimeSelectionTable(autoPtr, twoPhaseSystem, dictionary,(const fvMesh &mesh),(mesh))
Class which solves the volume fraction equations for two phases.
virtual void solve()
Solve for the phase fractions.
tmp< volScalarField > sigma(const phasePairKey &key) const
Return the surface tension coefficient for a pair.
const phaseModel & phase2() const
Return phase model 2.
TypeName("twoPhaseSystem")
Runtime type information.
phaseModel & phase2_
Phase model 2.
Class to represent a system of phases and model interfacial transfers between them.
tmp< volScalarField > Vm() const
Return the virtual mass coefficient.
twoPhaseSystem(const fvMesh &)
Construct from fvMesh.
An ordered or unorder pair of phase names. Typically specified as follows.
static const bool fillFields_
Flag to indicate that returned lists of fields are "complete"; i.e.,.
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument.
tmp< surfaceScalarField > Kdf() const
Return the face drag coefficient.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Mesh data needed to do the Finite Volume discretisation.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...