TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem > Class Template Reference

Class which models interfacial heat transfer between a number of phases. Two heat transfer models are stored at each interface, one for each phase. This permits definition of an interface temperature with which heat transfer occurs. It also allows derived systems to define other thermodynamic properties at the interface and therefore represent phase changes. More...

Inheritance diagram for TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >:
[legend]
Collaboration diagram for TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >:
[legend]

Public Member Functions

 TwoResistanceHeatTransferPhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~TwoResistanceHeatTransferPhaseSystem ()
 Destructor. More...
 
virtual autoPtr< phaseSystem::heatTransferTableheatTransfer () const
 Return the heat transfer matrices. More...
 
virtual void correctEnergyTransport ()
 Correct the energy transport e.g. alphat and Tf. More...
 
virtual void correctInterfaceThermo ()
 Correct the interface thermodynamics. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 

Protected Types

typedef HashTable< Pair< autoPtr< BlendedInterfacialModel< heatTransferModel > > >, phasePairKey, phasePairKey::hashheatTransferModelTable
 

Protected Attributes

HashPtrTable< volScalarField, phasePairKey, phasePairKey::hashTf_
 Interface temperatures. More...
 
heatTransferModelTable heatTransferModels_
 Heat transfer models. More...
 

Detailed Description

template<class BasePhaseSystem>
class Foam::TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >

Class which models interfacial heat transfer between a number of phases. Two heat transfer models are stored at each interface, one for each phase. This permits definition of an interface temperature with which heat transfer occurs. It also allows derived systems to define other thermodynamic properties at the interface and therefore represent phase changes.

See also
OneResistanceHeatTransferPhaseSystem
Source files

Definition at line 64 of file TwoResistanceHeatTransferPhaseSystem.H.

Member Typedef Documentation

◆ heatTransferModelTable

Constructor & Destructor Documentation

◆ TwoResistanceHeatTransferPhaseSystem()

Construct from fvMesh.

Definition at line 45 of file TwoResistanceHeatTransferPhaseSystem.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, Foam::max(), mesh, phasePair::name(), phaseModel::name(), phase1, phasePair::phase1(), phase2, and phasePair::phase2().

Here is the call graph for this function:

◆ ~TwoResistanceHeatTransferPhaseSystem()

Destructor.

Definition at line 128 of file TwoResistanceHeatTransferPhaseSystem.C.

Member Function Documentation

◆ heatTransfer()

Foam::autoPtr< Foam::phaseSystem::heatTransferTable > heatTransfer ( ) const
virtual

Return the heat transfer matrices.

Definition at line 137 of file TwoResistanceHeatTransferPhaseSystem.C.

References Foam::dimEnergy, Foam::dimTime, forAll, forAllConstIter, he, he2, K1, K2, phase::name(), Foam::negPart(), phasePairKey::ordered(), phase1, phasePair::phase1(), phase2, phasePair::phase2(), phasei, Foam::posPart(), HashPtrTable< T, Key, Hash >::set(), Sp, and GeometricField< Type, PatchField, GeoMesh >::T().

Here is the call graph for this function:

◆ correctEnergyTransport()

void correctEnergyTransport ( )
virtual

Correct the energy transport e.g. alphat and Tf.

Definition at line 248 of file TwoResistanceHeatTransferPhaseSystem.C.

◆ correctInterfaceThermo()

void correctInterfaceThermo ( )
virtual

Correct the interface thermodynamics.

Definition at line 258 of file TwoResistanceHeatTransferPhaseSystem.C.

References Foam::fac::average(), Foam::endl(), forAllConstIter, Foam::Info, L(), Foam::max(), GeometricField< Type, PatchField, GeoMesh >::max(), Foam::min(), p, phase1, and phase2.

Here is the call graph for this function:

◆ read()

bool read ( )
virtual

Read base phaseProperties dictionary.

Definition at line 315 of file TwoResistanceHeatTransferPhaseSystem.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

Member Data Documentation

◆ Tf_

Interface temperatures.

Definition at line 83 of file TwoResistanceHeatTransferPhaseSystem.H.

◆ heatTransferModels_

heatTransferModelTable heatTransferModels_
protected

Heat transfer models.

Definition at line 88 of file TwoResistanceHeatTransferPhaseSystem.H.


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