37#ifndef multiphaseSystem_H
38#define multiphaseSystem_H
49class virtualMassModel;
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;
165 using phaseSystem::sigma;
176 virtual void solve();
CGAL::Exact_predicates_exact_constructions_kernel K
const volScalarField & alpha1
const volScalarField & alpha2
GeometricBoundaryField< vector, fvsPatchField, surfaceMesh > Boundary
Type of boundary fields.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
static const bool fillFields_
Flag to indicate that returned lists of fields are "complete"; i.e.,.
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
Return the surface tension force.
virtual void solve()
Solve for the phase fractions.
virtual ~multiphaseSystem()=default
Destructor.
void solve()
Solve for the mixture phase-fractions.
TypeName("multiphaseSystem")
Runtime type information.
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.
const fvMesh & mesh() const
Return the mesh.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.