35 #ifndef twoPhaseSystem_H 36 #define twoPhaseSystem_H 46 class virtualMassModel;
77 static const bool fillFields_ =
true;
156 virtual void solve();
phaseModel & phase1_
Phase model 1.
const phaseModel & phase1() const
Return phase model 1.
A list of keyword definitions, which are a keyword followed by any number of values (e...
tmp< volScalarField > sigma() const
Return the surface tension coefficient.
tmp< volScalarField > sigma(const phasePairKey &key) const
Return the surface tension coefficient for a pair.
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.
tmp< volScalarField > Kd() const
Return the drag coefficient.
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.
twoPhaseSystem(const fvMesh &)
Construct from fvMesh.
tmp< surfaceScalarField > Kdf() const
Return the face drag coefficient.
virtual PtrList< volScalarField > dmdts() const
Return the mass transfer rates for each phase.
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument.
virtual void solve()
Solve for the phase fractions.
virtual ~twoPhaseSystem()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< twoPhaseSystem > New(const fvMesh &mesh)
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
tmp< volScalarField > Vm() const
Return the virtual mass coefficient.