37 #ifndef multiphaseSystem_H 38 #define multiphaseSystem_H 49 class virtualMassModel;
55 class multiphaseSystem
61 typedef HashTable<scalar, phasePairKey, phasePairKey::hash>
84 tmp<surfaceVectorField> nHatfv
90 tmp<surfaceScalarField> nHatf
96 void correctContactAngle
103 tmp<volScalarField>
K 110 virtual tmp<volScalarField> Kd(
const phasePairKey&
key)
const = 0;
113 virtual tmp<volScalarField> Vm(
const phasePairKey&
key)
const = 0;
176 virtual void solve();
static const bool fillFields_
Flag to indicate that returned lists of fields are "complete"; i.e.,.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const volScalarField & alpha2
GeometricBoundaryField< vector, fvsPatchField, surfaceMesh > Boundary
Type of boundary fields.
CGAL::Exact_predicates_exact_constructions_kernel K
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< volScalarField > sigma(const phasePairKey &key) const
Return the surface tension coefficient for a pair.
void solve()
Solve for the mixture phase-fractions.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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...
TypeName("multiphaseSystem")
Runtime type information.
A class for managing temporary objects.
multiphaseSystem(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual ~multiphaseSystem()=default
Destructor.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
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...
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
const volScalarField & alpha1