42 #ifndef multiphaseSystem_H 43 #define multiphaseSystem_H 47 #include "phaseModel.H" 51 #include "dragModel.H" 79 public Hash<interfacePair>
94 public Hash<interfacePair>
126 friend bool operator==
139 friend bool operator!=
175 scalarCoeffSymmTable sigmas_;
178 scalarCoeffSymmTable cAlphas_;
180 scalarCoeffTable Cvms_;
185 dragModelTable dragModels_;
191 static const scalar convertToRad;
212 void correctContactAngle
216 surfaceVectorField::Boundary& nHatb
288 const dragCoeffFields& dragCoeffs
tmp< volScalarField > nu() const
Return the mixture laminar viscosity.
Template dictionary class which manages the storage associated with it.
Hashing function class, shared by all the derived classes.
const PtrDictionary< phaseModel > & phases() const
Return the phases.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
tmp< volVectorField > U() const
Return the mixture velocity.
const Type & second() const
Return second.
autoPtr< dragCoeffFields > dragCoeffs() const
Return the drag coefficients for all of the interfaces.
const Type & first() const
Return first.
tmp< volScalarField > Cvm(const phaseModel &phase) const
Return the virtual-mass coefficient for the given phase.
CGAL::Exact_predicates_exact_constructions_kernel K
HashPtrTable< dragModel, interfacePair, interfacePair::symmHash > dragModelTable
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const surfaceScalarField & phi() const
Constant access the mixture flux.
tmp< volScalarField > dragCoeff(const phaseModel &phase, const dragCoeffFields &dragCoeffs) const
Return the sum of the drag coefficients for the given phase.
Dimension set for the base types.
An ordered pair of two objects of type <T> with first() and second() elements.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from string.
const word & name() const
Name function is needed to disambiguate those inherited.
HashPtrTable< volScalarField, interfacePair, interfacePair::symmHash > dragCoeffFields
void solve()
Solve for the mixture phase-fractions.
tmp< volScalarField > rho() const
Return the mixture density.
tmp< volVectorField > Svm(const phaseModel &phase) const
Return the virtual-mass source for the given phase.
bool read()
Read base transportProperties dictionary.
const dragModelTable & dragModels() const
Return the table of drag models.
void correct()
Dummy correct.
Base-class for all transport models used by the incompressible turbulence models. ...
Mesh data needed to do the Finite Volume discretisation.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
label operator()(const interfacePair &key) const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
A class for managing temporary objects.
multiphaseSystem(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
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.