HeatTransferPhaseSystem< BasePhaseSystem > Class Template Reference

... More...

Inheritance diagram for HeatTransferPhaseSystem< BasePhaseSystem >:
Collaboration diagram for HeatTransferPhaseSystem< BasePhaseSystem >:

Public Member Functions

 HeatTransferPhaseSystem (const fvMesh &)
 Construct from fvMesh. More...
 
virtual ~HeatTransferPhaseSystem ()
 Destructor. More...
 
virtual tmp< volScalarFieldL (const phaseInterface &interface, const volScalarField &dmdtf, const volScalarField &Tf, const latentHeatScheme scheme) const
 Return the latent heat for a given interface, mass transfer rate. More...
 
virtual tmp< scalarFieldL (const phaseInterface &interface, const scalarField &dmdtf, const scalarField &Tf, const labelUList &cells, const latentHeatScheme scheme) const
 As above, but for a cell-set. More...
 
virtual tmp< volScalarFieldLi (const phaseInterface &interface, const word &member, const volScalarField &dmidtf, const volScalarField &Tf, const latentHeatScheme scheme) const
 Return the latent heat for a given interface, specie, mass transfer. More...
 
virtual tmp< scalarFieldLi (const phaseInterface &interface, const word &member, const scalarField &dmidtf, const scalarField &Tf, const labelUList &cells, const latentHeatScheme scheme) const
 As above, but for a cell-set. More...
 
virtual bool read ()
 Read base phaseProperties dictionary. More...
 
- Public Member Functions inherited from heatTransferPhaseSystem
 TypeName ("heatTransferPhaseSystem")
 Runtime type information. More...
 
 heatTransferPhaseSystem ()
 Default constructor. More...
 
virtual ~heatTransferPhaseSystem ()
 Destructor. More...
 

Protected Member Functions

void addDmdtHefs (const phaseSystem::dmdtfTable &dmdtfs, phaseSystem::heatTransferTable &eqns) const
 Add energy transfer terms which result from bulk mass transfers. More...
 
void addDmidtHefs (const phaseSystem::dmidtfTable &dmidtfs, phaseSystem::heatTransferTable &eqns) const
 Add energy transfer terms which result from specie mass transfers. More...
 
void addDmdtHefsWithoutL (const phaseSystem::dmdtfTable &dmdtfs, const phaseSystem::dmdtfTable &Tfs, const latentHeatScheme scheme, phaseSystem::heatTransferTable &eqns) const
 Add energy transfer terms which result from bulk phase changes,. More...
 
void addDmdtL (const phaseSystem::dmdtfTable &dmdtfs, const phaseSystem::dmdtfTable &Tfs, const scalar weight, const latentHeatScheme scheme, phaseSystem::heatTransferTable &eqns) const
 Add latent heat terms which result from bulk phase changes. More...
 
void addDmdtHefs (const phaseSystem::dmdtfTable &dmdtfs, const phaseSystem::dmdtfTable &Tfs, const scalar weight, const latentHeatScheme scheme, phaseSystem::heatTransferTable &eqns) const
 Add energy transfer terms which result from bulk phase changes. More...
 
void addDmidtHefsWithoutL (const phaseSystem::dmidtfTable &dmidtfs, const phaseSystem::dmdtfTable &Tfs, const latentHeatScheme scheme, phaseSystem::heatTransferTable &eqns) const
 Add energy transfer terms which result from specie phase changes,. More...
 
void addDmidtL (const phaseSystem::dmidtfTable &dmidtfs, const phaseSystem::dmdtfTable &Tfs, const scalar weight, const latentHeatScheme scheme, phaseSystem::heatTransferTable &eqns) const
 Add latent heat terms which result from specie phase changes. More...
 
void addDmidtHefs (const phaseSystem::dmidtfTable &dmidtfs, const phaseSystem::dmdtfTable &Tfs, const scalar weight, const latentHeatScheme scheme, phaseSystem::heatTransferTable &eqns) const
 Add energy transfer terms which result from specie phase changes. More...
 

Protected Attributes

scalar residualY_
 Residual mass fraction used for linearisation of heat transfer. More...
 

Additional Inherited Members

- Public Types inherited from heatTransferPhaseSystem
enum class  latentHeatScheme { symmetric , upwind }
 Enumeration for the latent heat scheme. More...
 
- Static Public Attributes inherited from heatTransferPhaseSystem
static const NamedEnum< latentHeatScheme, 2 > latentHeatSchemeNames_
 Names of the latent heat schemes. More...
 

Detailed Description

template<class BasePhaseSystem>
class Foam::HeatTransferPhaseSystem< BasePhaseSystem >

...

Source files

Definition at line 50 of file HeatTransferPhaseSystem.H.

Constructor & Destructor Documentation

◆ HeatTransferPhaseSystem()

HeatTransferPhaseSystem ( const fvMesh mesh)

Construct from fvMesh.

Definition at line 485 of file HeatTransferPhaseSystem.C.

◆ ~HeatTransferPhaseSystem()

Destructor.

Definition at line 499 of file HeatTransferPhaseSystem.C.

Member Function Documentation

◆ addDmdtHefs() [1/2]

void addDmdtHefs ( const phaseSystem::dmdtfTable dmdtfs,
phaseSystem::heatTransferTable eqns 
) const
protected

Add energy transfer terms which result from bulk mass transfers.

Definition at line 33 of file HeatTransferPhaseSystem.C.

References forAllConstIter, basicThermo::he(), basicThermo::hs(), phaseModel::K(), K1, K2, phaseModel::name(), Foam::negPart(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), Foam::fvc::Sp(), and phaseModel::thermo().

Here is the call graph for this function:

◆ addDmidtHefs() [1/2]

◆ addDmdtHefsWithoutL()

void addDmdtHefsWithoutL ( const phaseSystem::dmdtfTable dmdtfs,
const phaseSystem::dmdtfTable Tfs,
const latentHeatScheme  scheme,
phaseSystem::heatTransferTable eqns 
) const
protected

Add energy transfer terms which result from bulk phase changes,.

without the latent heat contribution

Definition at line 177 of file HeatTransferPhaseSystem.C.

References forAllConstIter, basicThermo::he(), basicThermo::hs(), phaseModel::K(), K1, K2, phaseModel::name(), Foam::negPart(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), Foam::fvc::scheme(), Foam::fvc::Sp(), and phaseModel::thermo().

Here is the call graph for this function:

◆ addDmdtL()

void addDmdtL ( const phaseSystem::dmdtfTable dmdtfs,
const phaseSystem::dmdtfTable Tfs,
const scalar  weight,
const latentHeatScheme  scheme,
phaseSystem::heatTransferTable eqns 
) const
protected

Add latent heat terms which result from bulk phase changes.

Weight is the proportion of the latent heat contribution applied to the downwind side of the mass transfer.

Definition at line 242 of file HeatTransferPhaseSystem.C.

References forAllConstIter, phaseModel::name(), Foam::negPart(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), and Foam::fvc::scheme().

Here is the call graph for this function:

◆ addDmdtHefs() [2/2]

void addDmdtHefs ( const phaseSystem::dmdtfTable dmdtfs,
const phaseSystem::dmdtfTable Tfs,
const scalar  weight,
const latentHeatScheme  scheme,
phaseSystem::heatTransferTable eqns 
) const
protected

Add energy transfer terms which result from bulk phase changes.

Weight is the proportion of the latent heat contribution applied to the downwind side of the mass transfer.

Definition at line 274 of file HeatTransferPhaseSystem.C.

References Foam::fvc::scheme().

Here is the call graph for this function:

◆ addDmidtHefsWithoutL()

void addDmidtHefsWithoutL ( const phaseSystem::dmidtfTable dmidtfs,
const phaseSystem::dmdtfTable Tfs,
const latentHeatScheme  scheme,
phaseSystem::heatTransferTable eqns 
) const
protected

◆ addDmidtL()

void addDmidtL ( const phaseSystem::dmidtfTable dmidtfs,
const phaseSystem::dmdtfTable Tfs,
const scalar  weight,
const latentHeatScheme  scheme,
phaseSystem::heatTransferTable eqns 
) const
protected

Add latent heat terms which result from specie phase changes.

Weight is the proportion of the latent heat contribution applied to the downwind side of the mass transfer.

Definition at line 424 of file HeatTransferPhaseSystem.C.

References forAllConstIter, phaseModel::name(), Foam::negPart(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), and Foam::fvc::scheme().

Here is the call graph for this function:

◆ addDmidtHefs() [2/2]

void addDmidtHefs ( const phaseSystem::dmidtfTable dmidtfs,
const phaseSystem::dmdtfTable Tfs,
const scalar  weight,
const latentHeatScheme  scheme,
phaseSystem::heatTransferTable eqns 
) const
protected

Add energy transfer terms which result from specie phase changes.

Weight is the proportion of the latent heat contribution applied to the downwind side of the mass transfer.

Definition at line 468 of file HeatTransferPhaseSystem.C.

References Foam::fvc::scheme().

Here is the call graph for this function:

◆ L() [1/2]

Foam::tmp< Foam::volScalarField > L ( const phaseInterface interface,
const volScalarField dmdtf,
const volScalarField Tf,
const latentHeatScheme  scheme 
) const
virtual

Return the latent heat for a given interface, mass transfer rate.

(used only for it's sign), and interface temperature

Implements heatTransferPhaseSystem.

Definition at line 507 of file HeatTransferPhaseSystem.C.

References basicThermo::ha(), Foam::neg(), Foam::neg0(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), Foam::fvc::scheme(), and phaseModel::thermo().

Here is the call graph for this function:

◆ L() [2/2]

Foam::tmp< Foam::scalarField > L ( const phaseInterface interface,
const scalarField dmdtf,
const scalarField Tf,
const labelUList cells,
const latentHeatScheme  scheme 
) const
virtual

As above, but for a cell-set.

Implements heatTransferPhaseSystem.

Definition at line 546 of file HeatTransferPhaseSystem.C.

References cells, basicThermo::ha(), Foam::neg(), Foam::neg0(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), Foam::fvc::scheme(), basicThermo::T(), and phaseModel::thermo().

Here is the call graph for this function:

◆ Li() [1/2]

Foam::tmp< Foam::volScalarField > Li ( const phaseInterface interface,
const word member,
const volScalarField dmidtf,
const volScalarField Tf,
const latentHeatScheme  scheme 
) const
virtual

Return the latent heat for a given interface, specie, mass transfer.

rate (used only for it's sign), and interface temperature

Implements heatTransferPhaseSystem.

Definition at line 589 of file HeatTransferPhaseSystem.C.

References basicThermo::ha(), basicSpecieMixture::Ha(), Foam::neg(), Foam::neg0(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), Foam::fvc::scheme(), basicSpecieMixture::species(), basicThermo::T(), and phaseModel::thermo().

Here is the call graph for this function:

◆ Li() [2/2]

Foam::tmp< Foam::scalarField > Li ( const phaseInterface interface,
const word member,
const scalarField dmidtf,
const scalarField Tf,
const labelUList cells,
const latentHeatScheme  scheme 
) const
virtual

◆ read()

bool read
virtual

Read base phaseProperties dictionary.

Reimplemented in OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >, and TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >.

Definition at line 739 of file HeatTransferPhaseSystem.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

Member Data Documentation

◆ residualY_

scalar residualY_
protected

Residual mass fraction used for linearisation of heat transfer.

terms that result from mass transfers of individual species

Definition at line 146 of file HeatTransferPhaseSystem.H.


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