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