35 #ifndef twoPhaseSystem_H 36 #define twoPhaseSystem_H 46 class virtualMassModel;
205 virtual void solve();
phaseModel & phase1_
Phase model 1.
const fvMesh & mesh() const
Return the mesh.
tmp< volScalarField > Vm() const
Return the virtual mass coefficient.
const virtualMassModel & virtualMass(const phaseModel &phase) const
Return the virtual mass model for the given phase.
tmp< surfaceScalarField > Ff() const
Return the combined face-force (lift + wall-lubrication)
tmp< volVectorField > F() const
Return the combined force (lift + wall-lubrication)
A list of keyword definitions, which are a keyword followed by any number of values (e...
tmp< volScalarField > D() const
Return the turbulent diffusivity.
tmp< surfaceScalarField > Vmf() const
Return the face virtual mass coefficient.
declareRunTimeSelectionTable(autoPtr, twoPhaseSystem, dictionary,(const fvMesh &mesh),(mesh))
tmp< surfaceScalarField > Kdf() const
Return the face drag coefficient.
virtual autoPtr< heatTransferTable > heatTransfer() const =0
Return the heat transfer matrices.
Class which solves the volume fraction equations for two phases.
tmp< volScalarField > sigma() const
Return the surface tension coefficient.
TypeName("twoPhaseSystem")
Runtime type information.
virtual autoPtr< massTransferTable > massTransfer() const =0
Return the mass transfer matrices.
phaseModel & phase2_
Phase model 2.
bool transfersMass() const
Return true if there is mass transfer.
Class to represent a system of phases and model interfacial transfers between them.
twoPhaseSystem(const fvMesh &)
Construct from fvMesh.
const phaseModel & otherPhase(const phaseModel &phase) const
Constant access the phase not given as an argument.
virtual void solve()
Solve for the phase fractions.
tmp< volScalarField > Kd() const
Return the drag coefficient.
const phaseModel & phase2() const
Constant access phase model 2.
virtual ~twoPhaseSystem()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
const dragModel & drag(const phaseModel &phase) const
Return the drag model for the given phase.
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)
tmp< volScalarField > dmdt() const
Return the interfacial mass flow rate.
const phaseModel & phase1() const
Constant access phase model 1.
A class for managing temporary objects.
tmp< volScalarField > sigma(const phasePairKey &key) const
Return the surface tension coefficient.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual autoPtr< momentumTransferTable > momentumTransfer() const =0
Return the momentum transfer matrices.