39 #ifndef MomentumTransferPhaseSystem_H 40 #define MomentumTransferPhaseSystem_H 50 template<
class modelType>
51 class BlendedInterfacialModel;
55 class virtualMassModel;
57 class wallLubricationModel;
58 class turbulentDispersionModel;
64 template<
class BasePhaseSystem>
67 public BasePhaseSystem
159 dragModelTable dragModels_;
162 virtualMassModelTable virtualMassModels_;
165 liftModelTable liftModels_;
168 wallLubricationModelTable wallLubricationModels_;
171 turbulentDispersionModelTable turbulentDispersionModels_;
186 void addMassTransferMomentumTransfer
274 const bool includeVirtualMass =
false Class which models interfacial momenum transfer between a number of phases. Drag, virtual mass...
A simple container for copying or transferring objects of type <T>.
PtrList< volScalarField > rAUs
HashTable< autoPtr< BlendedInterfacialModel< dragModel > >, phasePairKey, phasePairKey::hash > dragModelTable
virtual autoPtr< phaseSystem::momentumTransferTable > momentumTransferf()
As momentumTransfer, but for the face-based algorithm.
virtual void partialEliminationf(const PtrList< surfaceScalarField > &rAUfs)
As partialElimination, but for the face-based algorithm. Only solves.
virtual bool read()
Read base phaseProperties dictionary.
MomentumTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
HashPtrTable< surfaceScalarField, phasePairKey, phasePairKey::hash > KdfTable
A HashTable specialization for hashing pointers.
HashTable< autoPtr< BlendedInterfacialModel< liftModel > >, phasePairKey, phasePairKey::hash > liftModelTable
virtual Xfer< PtrList< surfaceScalarField > > phiKdPhifs(const PtrList< surfaceScalarField > &rAUfs) const
As phiKdPhis, but for the face-based algorithm.
virtual Xfer< PtrList< surfaceScalarField > > phiKdPhis(const PtrList< volScalarField > &rAUs) const
Return the explicit drag force fluxes for the cell-based algorithm.
HashPtrTable< surfaceScalarField, phasePairKey, phasePairKey::hash > VmfTable
virtual Xfer< PtrList< surfaceScalarField > > phiFs(const PtrList< volScalarField > &rAUs)
Return the explicit force fluxes for the cell-based algorithm, that.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual const HashPtrTable< surfaceScalarField > & DByAfs() const
Return the phase diffusivities divided by the momentum coefficients.
virtual Xfer< PtrList< surfaceScalarField > > AFfs() const
Return implicit force coefficients on the faces, for the face-based.
virtual Xfer< PtrList< surfaceScalarField > > ddtCorrByAs(const PtrList< volScalarField > &rAUs, const bool includeVirtualMass=false) const
Return the flux corrections for the cell-based algorithm. These.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > KdTable
HashTable< autoPtr< BlendedInterfacialModel< virtualMassModel > >, phasePairKey, phasePairKey::hash > virtualMassModelTable
An STL-conforming hash table.
PtrList< surfaceScalarField > rAUfs
virtual ~MomentumTransferPhaseSystem()
Destructor.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
virtual Xfer< PtrList< volVectorField > > KdUByAs(const PtrList< volScalarField > &rAUs) const
Return the explicit part of the drag force for the cell-based.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > VmTable
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.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
HashTable< autoPtr< BlendedInterfacialModel< turbulentDispersionModel > >, phasePairKey, phasePairKey::hash > turbulentDispersionModelTable
virtual Xfer< PtrList< surfaceScalarField > > phiFfs(const PtrList< surfaceScalarField > &rAUfs)
As phiFs, but for the face-based algorithm.
HashTable< autoPtr< BlendedInterfacialModel< wallLubricationModel > >, phasePairKey, phasePairKey::hash > wallLubricationModelTable
virtual void partialElimination(const PtrList< volScalarField > &rAUs)
Solve the drag system for the velocities and fluxes.
virtual autoPtr< phaseSystem::momentumTransferTable > momentumTransfer()
Return the momentum transfer matrices for the cell-based algorithm.