Public Member Functions | Protected Types | Private Member Functions | Private Attributes
MomentumTransferPhaseSystem< BasePhaseSystem > Class Template Reference

Class which models interfacial momenum transfer between a number of phases. Drag, virtual mass, lift, wall lubrication and turbulent dispersion are all modelled. The explicit contribution from the drag is omitted from the transfer matrices, as this forms part of the solution of the pressure equation. More...

Inheritance diagram for MomentumTransferPhaseSystem< BasePhaseSystem >:
Inheritance graph
[legend]
Collaboration diagram for MomentumTransferPhaseSystem< BasePhaseSystem >:
Collaboration graph
[legend]

Public Member Functions

 MomentumTransferPhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~MomentumTransferPhaseSystem ()
 Destructor. More...
 
virtual const phaseSystem::KdTableKds () const
 Constant access to drag coefficients. More...
 
virtual tmp< volScalarFieldKd (const phasePairKey &key) const
 Return the drag coefficient. More...
 
virtual tmp< surfaceScalarFieldKdf (const phasePairKey &key) const
 Return the face drag coefficient. More...
 
virtual tmp< volScalarFieldKd (const phaseModel &phase) const
 Return the drag coefficient for phase. More...
 
virtual tmp< volScalarFieldVm (const phasePairKey &key) const
 Return the virtual mass coefficient. More...
 
virtual tmp< surfaceScalarFieldVmf (const phasePairKey &key) const
 Return the face virtual mass coefficient. More...
 
virtual tmp< volVectorFieldF (const phasePairKey &key) const
 Return the combined force (lift + wall-lubrication) More...
 
virtual autoPtr< PtrList< volVectorField > > Fs () const
 Return the combined force (lift + wall-lubrication) More...
 
virtual autoPtr< PtrList< surfaceScalarField > > phiDs (const PtrList< volScalarField > &rAUs) const
 Return the turbulent dispersion force on faces for phase pair. More...
 
virtual tmp< surfaceScalarFieldFf (const phasePairKey &key) const
 Return the combined face-force (lift + wall-lubrication) More...
 
virtual tmp< volScalarFieldD (const phasePairKey &key) const
 Return the turbulent diffusivity. More...
 
virtual autoPtr< phaseSystem::momentumTransferTablemomentumTransfer () const
 Return the momentum transfer matrices. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 

Protected Types

typedef HashTable< autoPtr< BlendedInterfacialModel< dragModel > >, phasePairKey, phasePairKey::hashdragModelTable
 
typedef HashTable< autoPtr< BlendedInterfacialModel< virtualMassModel > >, phasePairKey, phasePairKey::hashvirtualMassModelTable
 
typedef HashTable< autoPtr< BlendedInterfacialModel< liftModel > >, phasePairKey, phasePairKey::hashliftModelTable
 
typedef HashTable< autoPtr< BlendedInterfacialModel< wallLubricationModel > >, phasePairKey, phasePairKey::hashwallLubricationModelTable
 
typedef HashTable< autoPtr< BlendedInterfacialModel< turbulentDispersionModel > >, phasePairKey, phasePairKey::hashturbulentDispersionModelTable
 

Private Member Functions

volVectorFieldsetF (PtrList< volVectorField > &Fs, const label phasei) const
 Construct element phasei of Fs if not set and return. More...
 
surfaceScalarFieldsetPhiD (PtrList< surfaceScalarField > &phiDs, const label phasei) const
 Construct element phasei of phiDs if not set and return. More...
 

Private Attributes

phaseSystem::KdTable Kds_
 Drag coefficients. More...
 
phaseSystem::VmTable Vms_
 Virtual mass coefficients. More...
 
dragModelTable dragModels_
 Drag models. More...
 
virtualMassModelTable virtualMassModels_
 Virtual mass models. More...
 
liftModelTable liftModels_
 Lift models. More...
 
wallLubricationModelTable wallLubricationModels_
 Wall lubrication models. More...
 
turbulentDispersionModelTable turbulentDispersionModels_
 Turbulent dispersion models. More...
 

Detailed Description

template<class BasePhaseSystem>
class Foam::MomentumTransferPhaseSystem< BasePhaseSystem >

Class which models interfacial momenum transfer between a number of phases. Drag, virtual mass, lift, wall lubrication and turbulent dispersion are all modelled. The explicit contribution from the drag is omitted from the transfer matrices, as this forms part of the solution of the pressure equation.

Source files

Definition at line 64 of file MomentumTransferPhaseSystem.H.

Member Typedef Documentation

◆ dragModelTable

Definition at line 77 of file MomentumTransferPhaseSystem.H.

◆ virtualMassModelTable

Definition at line 84 of file MomentumTransferPhaseSystem.H.

◆ liftModelTable

Definition at line 91 of file MomentumTransferPhaseSystem.H.

◆ wallLubricationModelTable

Definition at line 98 of file MomentumTransferPhaseSystem.H.

◆ turbulentDispersionModelTable

Definition at line 105 of file MomentumTransferPhaseSystem.H.

Constructor & Destructor Documentation

◆ MomentumTransferPhaseSystem()

Construct from fvMesh.

◆ ~MomentumTransferPhaseSystem()

virtual ~MomentumTransferPhaseSystem ( )
virtual

Destructor.

Member Function Documentation

◆ setF()

volVectorField& setF ( PtrList< volVectorField > &  Fs,
const label  phasei 
) const
private

Construct element phasei of Fs if not set and return.

Used by Fs()

◆ setPhiD()

surfaceScalarField& setPhiD ( PtrList< surfaceScalarField > &  phiDs,
const label  phasei 
) const
private

Construct element phasei of phiDs if not set and return.

Used by phiDs()

◆ Kds()

virtual const phaseSystem::KdTable& Kds ( ) const
inlinevirtual

Constant access to drag coefficients.

Definition at line 165 of file MomentumTransferPhaseSystem.H.

References MomentumTransferPhaseSystem< BasePhaseSystem >::Kds_.

◆ Kd() [1/2]

virtual tmp<volScalarField> Kd ( const phasePairKey key) const
virtual

Return the drag coefficient.

◆ Kdf()

virtual tmp<surfaceScalarField> Kdf ( const phasePairKey key) const
virtual

Return the face drag coefficient.

◆ Kd() [2/2]

virtual tmp<volScalarField> Kd ( const phaseModel phase) const
virtual

Return the drag coefficient for phase.

◆ Vm()

virtual tmp<volScalarField> Vm ( const phasePairKey key) const
virtual

Return the virtual mass coefficient.

◆ Vmf()

virtual tmp<surfaceScalarField> Vmf ( const phasePairKey key) const
virtual

Return the face virtual mass coefficient.

◆ F()

virtual tmp<volVectorField> F ( const phasePairKey key) const
virtual

Return the combined force (lift + wall-lubrication)

◆ Fs()

virtual autoPtr<PtrList<volVectorField> > Fs ( ) const
virtual

Return the combined force (lift + wall-lubrication)

◆ phiDs()

virtual autoPtr<PtrList<surfaceScalarField> > phiDs ( const PtrList< volScalarField > &  rAUs) const
virtual

Return the turbulent dispersion force on faces for phase pair.

◆ Ff()

virtual tmp<surfaceScalarField> Ff ( const phasePairKey key) const
virtual

Return the combined face-force (lift + wall-lubrication)

◆ D()

virtual tmp<volScalarField> D ( const phasePairKey key) const
virtual

Return the turbulent diffusivity.

Multiplies the phase-fraction gradient

◆ momentumTransfer()

virtual autoPtr<phaseSystem::momentumTransferTable> momentumTransfer ( ) const
virtual

Return the momentum transfer matrices.

◆ read()

virtual bool read ( )
virtual

Read base phaseProperties dictionary.

Field Documentation

◆ Kds_

phaseSystem::KdTable Kds_
private

Drag coefficients.

Definition at line 113 of file MomentumTransferPhaseSystem.H.

Referenced by MomentumTransferPhaseSystem< BasePhaseSystem >::Kds().

◆ Vms_

phaseSystem::VmTable Vms_
private

Virtual mass coefficients.

Definition at line 116 of file MomentumTransferPhaseSystem.H.

◆ dragModels_

dragModelTable dragModels_
private

Drag models.

Definition at line 121 of file MomentumTransferPhaseSystem.H.

◆ virtualMassModels_

virtualMassModelTable virtualMassModels_
private

Virtual mass models.

Definition at line 124 of file MomentumTransferPhaseSystem.H.

◆ liftModels_

liftModelTable liftModels_
private

Lift models.

Definition at line 127 of file MomentumTransferPhaseSystem.H.

◆ wallLubricationModels_

wallLubricationModelTable wallLubricationModels_
private

Wall lubrication models.

Definition at line 130 of file MomentumTransferPhaseSystem.H.

◆ turbulentDispersionModels_

turbulentDispersionModelTable turbulentDispersionModels_
private

Turbulent dispersion models.

Definition at line 133 of file MomentumTransferPhaseSystem.H.


The documentation for this class was generated from the following file: