35 #ifndef multiphaseSystem_H 36 #define multiphaseSystem_H 46 class virtualMassModel;
52 class multiphaseSystem
60 typedef HashTable<scalar, phasePairKey, phasePairKey::hash>
77 static const scalar convertToRad;
86 tmp<surfaceVectorField> nHatfv
92 tmp<surfaceScalarField> nHatf
98 void correctContactAngle
102 surfaceVectorField::Boundary& nHatb
105 tmp<volScalarField>
K 112 virtual tmp<volScalarField> Kd(
const phasePairKey& key)
const = 0;
115 virtual tmp<volScalarField> Vm(
const phasePairKey& key)
const = 0;
125 static const bool fillFields_ =
false;
178 virtual void solve();
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
A list of keyword definitions, which are a keyword followed by any number of values (e...
tmp< volScalarField > sigma(const phasePairKey &key) const
Return the surface tension coefficient for a pair.
CGAL::Exact_predicates_exact_constructions_kernel K
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
const volScalarField & alpha1
void solve()
Solve for the mixture phase-fractions.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned 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...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
TypeName("multiphaseSystem")
Runtime type information.
A class for managing temporary objects.
multiphaseSystem(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
const fvMesh & mesh() const
Return the mesh.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
virtual ~multiphaseSystem()
Destructor.
virtual Xfer< PtrList< volScalarField > > dmdts() const
Return the mass transfer rates for each phase.