Go to the documentation of this file.
44 #ifndef multiphaseMixture_H
45 #define multiphaseMixture_H
102 friend bool operator==
110 ((a.first() ==
b.first()) && (a.
second() ==
b.second()))
111 || ((a.first() ==
b.second()) && (a.
second() ==
b.first()))
115 friend bool operator!=
156 void solveAlphas(
const scalar cAlpha);
170 void correctContactAngle
174 surfaceVectorField::Boundary& nHatb
const T & second() const noexcept
Return second element, which is also the last element.
const surfaceScalarField & rhoPhi() const
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from Foam::string.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
const volScalarField & alpha2
Template dictionary class which manages the storage associated with it.
multiphaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
void correct()
Correct the mixture properties.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
tmp< volScalarField > nu() const
Return the kinematic laminar viscosity.
const volScalarField & alpha1
Dimension set for the base types.
const word & name() const
CGAL::Exact_predicates_exact_constructions_kernel K
virtual ~multiphaseMixture()=default
Destructor.
const volVectorField & U() const
Return the velocity.
const surfaceScalarField & phi() const
Return the volumetric flux.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< surfaceScalarField > nuf() const
Return the face-interpolated dynamic laminar viscosity.
Hashing function for string and derived string classes.
tmp< surfaceScalarField > surfaceTensionForce() const
bool read()
Read base transportProperties dictionary.
const PtrDictionary< phase > & phases() const
Return the phases.
void solve()
Solve for the mixture phase-fractions.
Mesh data needed to do the Finite Volume discretisation.
tmp< volScalarField > rho() const
Return the mixture density.
Base-class for all transport models used by the incompressible turbulence models.
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
An ordered pair of two objects of type <T> with first() and second() elements.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
label operator()(const interfacePair &key) const
interfacePair(const word &alpha1Name, const word &alpha2Name)
interfacePair(const phase &alpha1, const phase &alpha2)
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.