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
Template dictionary class which manages the storage associated with it.
Hashing function class, shared by all the derived classes.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
CGAL::Exact_predicates_exact_constructions_kernel K
tmp< volScalarField > dragCoeff(const phaseModel &phase, const dragCoeffFields &dragCoeffs) const
Return the sum of the drag coefficients for the given phase.
HashPtrTable< dragModel, interfacePair, interfacePair::symmHash > dragModelTable
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
Dimension set for the base types.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
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.
tmp< volVectorField > U() const
Return the mixture velocity.
tmp< volVectorField > Svm(const phaseModel &phase) const
Return the virtual-mass source for the given phase.
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< volScalarField > nu() const
Return the mixture laminar viscosity.
bool read()
Read base transportProperties dictionary.
autoPtr< dragCoeffFields > dragCoeffs() const
Return the drag coefficients for all of the interfaces.
const Type & second() const
Return second.
void correct()
Dummy correct.
const dragModelTable & dragModels() const
Return the table of drag models.
const surfaceScalarField & phi() const
Constant access the mixture flux.
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...
A class for managing temporary objects.
const PtrDictionary< phaseModel > & phases() const
Return the phases.
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...
const Type & first() const
Return first.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
tmp< volScalarField > Cvm(const phaseModel &phase) const
Return the virtual-mass coefficient for the given phase.
virtual ~multiphaseSystem()
Destructor.