Go to the documentation of this file.
35 #ifndef multiphaseSystem_H
36 #define multiphaseSystem_H
46 class virtualMassModel;
52 class multiphaseSystem
200 virtual void solve();
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual autoPtr< PtrList< Foam::surfaceScalarField > > phiDs(const PtrList< volScalarField > &rAUs) const =0
Return the turbulent dispersion force on faces for phase pair.
void solve()
Solve for the mixture phase-fractions.
virtual autoPtr< heatTransferTable > heatTransfer() const =0
Return the heat transfer matrices.
tmp< surfaceScalarField > nHatf(const volScalarField &alpha1, const volScalarField &alpha2) const
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
virtual const phaseSystem::KdTable & Kds() const =0
Return the drag coefficient for all phase-pairs.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
const dimensionedScalar deltaN_
Stabilisation for normalisation of the interface normal.
scalarCoeffSymmTable cAlphas_
HashTable< scalar, phasePairKey, phasePairKey::hash > cAlphaTable
virtual ~multiphaseSystem()
Destructor.
virtual autoPtr< PtrList< Foam::volVectorField > > Fs() const =0
Return the combined force (lift + wall-lubrication) for phase pair.
tmp< surfaceVectorField > nHatfv(const volScalarField &alpha1, const volScalarField &alpha2) const
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual tmp< surfaceScalarField > Kdf(const phasePairKey &key) const =0
Return the face drag coefficient for phase pair.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
virtual bool transfersMass(const phaseModel &phase) const =0
Return true if there is mass transfer for phase.
virtual autoPtr< massTransferTable > massTransfer() const =0
Return the mass transfer matrices.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void correctContactAngle(const phaseModel &alpha1, const phaseModel &alpha2, surfaceVectorField::GeometricBoundaryField &nHatb) const
virtual tmp< volScalarField > Kd(const phasePairKey &key) const =0
Return the drag coefficient for phase pair.
virtual tmp< volScalarField > dmdt(const phasePairKey &key) const =0
Return the interfacial mass flow rate for phase pair.
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
virtual tmp< volScalarField > Vm(const phasePairKey &key) const =0
Return the virtual mass coefficient for phase pair.
PtrList< volScalarField > rAUs(fluid.phases().size())
Generic GeometricField class.
virtual tmp< volScalarField > D(const phasePairKey &key) const =0
Return the turbulent diffusivity for phase pair.
virtual tmp< surfaceScalarField > Vmf(const phasePairKey &key) const =0
Return the face virtual mass coefficient for phase pair.
TypeName("multiphaseSystem")
Runtime type information.
virtual autoPtr< momentumTransferTable > momentumTransfer() const =0
Return the momentum transfer matrices.
multiphaseSystem(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
static const scalar convertToRad
Conversion factor for degrees into radians.
tmp< volScalarField > K(const phaseModel &alpha1, const phaseModel &alpha2) const