Go to the documentation of this file.
36 #ifndef twoPhaseSystem_H
37 #define twoPhaseSystem_H
40 #include "phaseModel.H"
41 #include "phasePair.H"
42 #include "orderedPhasePair.H"
45 #include "dragModel.H"
52 class virtualMassModel;
53 class heatTransferModel;
55 class wallLubricationModel;
56 class turbulentDispersionModel;
59 template<
class modelType>
class BlendedInterfacialModel;
87 tmp<surfaceScalarField> pPrimeByA_;
90 autoPtr<phasePair> pair_;
93 autoPtr<orderedPhasePair> pair1In2_;
96 autoPtr<orderedPhasePair> pair2In1_;
99 HashTable<autoPtr<blendingMethod>> blendingMethods_;
102 autoPtr<BlendedInterfacialModel<dragModel>> drag_;
105 autoPtr<BlendedInterfacialModel<virtualMassModel>> virtualMass_;
108 autoPtr<BlendedInterfacialModel<heatTransferModel>> heatTransfer_;
111 autoPtr<BlendedInterfacialModel<liftModel>> lift_;
114 autoPtr<BlendedInterfacialModel<wallLubricationModel>>
118 autoPtr<BlendedInterfacialModel<turbulentDispersionModel>>
119 turbulentDispersion_;
125 tmp<surfaceScalarField> calcPhi()
const;
143 tmp<volScalarField>
rho()
const;
146 tmp<volVectorField>
U()
const;
149 tmp<volScalarField>
Kd()
const;
152 tmp<surfaceScalarField>
Kdf()
const;
155 tmp<volScalarField>
Vm()
const;
158 tmp<surfaceScalarField>
Vmf()
const;
161 tmp<volScalarField>
Kh()
const;
164 tmp<volVectorField>
F()
const;
167 tmp<surfaceScalarField>
Ff()
const;
171 tmp<volScalarField>
D()
const;
188 template<
class modelType>
192 template<
class modelType>
195 const phaseModel& dispersed,
196 const phaseModel& continuous
203 inline const fvMesh&
mesh()
const;
206 inline const phaseModel&
phase1()
const;
209 inline phaseModel&
phase1();
212 inline const phaseModel&
phase2()
const;
215 inline phaseModel&
phase2();
218 inline const phaseModel&
otherPhase(
const phaseModel& phase)
const;
233 inline tmp<surfaceScalarField>&
pPrimeByA();
tmp< volVectorField > F() const
tmp< surfaceScalarField > & pPrimeByA()
const fvMesh & mesh() const
tmp< volScalarField > D() const
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
tmp< volScalarField > sigma() const
tmp< volVectorField > U() const
tmp< surfaceScalarField > Ff() const
const modelType & lookupSubModel(const phasePair &key) const
const phaseModel & phase2() const
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
tmp< volScalarField > Vm() const
const phaseModel & otherPhase(const phaseModel &phase) const
tmp< surfaceScalarField > Kdf() const
tmp< surfaceScalarField > Vmf() const
const phaseModel & phase1() const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< volScalarField > Kh() const
const surfaceScalarField & phi() const
twoPhaseSystem(const fvMesh &)
const uniformDimensionedVectorField & g
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const volScalarField & dgdt() const
virtual ~twoPhaseSystem()
tmp< volScalarField > Kd() const
tmp< volScalarField > rho() const