37#ifndef Foam_multiphaseInter_MassTransferPhaseSystem_H
38#define Foam_multiphaseInter_MassTransferPhaseSystem_H
42#include "interfaceCompositionModel.H"
55template<
class BasePhaseSystem>
58 public BasePhaseSystem
152 const word speciesName
DimensionedField< scalar, volMesh > Internal
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A HashTable similar to std::unordered_map.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > dmdtTable
tmp< volScalarField > dmdt(const phasePairKey &key) const
Return total interfacial mass flow rate.
virtual void correctMassSources(const volScalarField &T)
Correct/calculates mass sources dmdt for phases.
MassTransferPhaseSystem(const fvMesh &)
Construct from fvMesh.
virtual ~MassTransferPhaseSystem()=default
Destructor.
HashTable< autoPtr< interfaceCompositionModel >, phasePairKey, phasePairKey::hash > massTransferModelTable
virtual void massSpeciesTransfer(const Foam::phaseModel &phase, volScalarField::Internal &Su, volScalarField::Internal &Sp, const word speciesName)
Calculate mass transfer for species.
HashTable< volScalarField::Internal > SuSpTable
virtual tmp< fvScalarMatrix > volTransfer(const volScalarField &p)
Return the volumetric rate transfer matrix.
virtual bool includeVolChange()
Add volume change in pEq.
massTransferModelTable massTransferModels_
virtual void alphaTransfer(SuSpTable &Su, SuSpTable &Sp)
Calculate mass transfer for alpha's.
virtual tmp< fvScalarMatrix > heatTransfer(const volScalarField &T)
Return the heat transfer matrix.
tmp< volScalarField > calculateL(const volScalarField &dmdtNetki, const phasePairKey &keyik, const phasePairKey &keyki, const volScalarField &T) const
Calculate L between phases.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual volScalarField & p()
Pressure [Pa].
Mesh data needed to do the Finite Volume discretisation.
SuSpTable & Su()
Access Su.
const phaseModel & phase(const label i) const
Constant access phase model i.
SuSpTable & Sp()
Access Sp.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
An ordered or unorder pair of phase names. Typically specified as follows.
phasePairKey::hasher hash
Alternative name for functor.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)