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...
Public Member Functions | |
TwoResistanceHeatTransferPhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~TwoResistanceHeatTransferPhaseSystem () |
Destructor. More... | |
virtual autoPtr< phaseSystem::heatTransferTable > | heatTransfer () const |
Return the heat transfer matrices. More... | |
virtual void | predictThermophysicalTransport () |
Predict the energy transport e.g. alphat. More... | |
virtual void | correctThermophysicalTransport () |
Correct the energy transport e.g. alphat. More... | |
virtual void | correctInterfaceThermo ()=0 |
Correct the interface thermodynamics. More... | |
virtual bool | read () |
Read base phaseProperties dictionary. More... | |
Public Member Functions inherited from HeatTransferPhaseSystem< BasePhaseSystem > | |
HeatTransferPhaseSystem (const fvMesh &) | |
Construct from fvMesh. More... | |
virtual | ~HeatTransferPhaseSystem () |
Destructor. More... | |
virtual tmp< volScalarField > | L (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< scalarField > | L (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< volScalarField > | Li (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< scalarField > | Li (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... | |
Public Member Functions inherited from heatTransferPhaseSystem | |
TypeName ("heatTransferPhaseSystem") | |
Runtime type information. More... | |
heatTransferPhaseSystem () | |
Default constructor. More... | |
virtual | ~heatTransferPhaseSystem () |
Destructor. More... | |
Protected Types | |
typedef HashTable< autoPtr< sidedBlendedHeatTransferModel >, phaseInterfaceKey, phaseInterfaceKey::hash > | heatTransferModelTable |
typedef HeatTransferPhaseSystem< BasePhaseSystem >::latentHeatScheme | latentHeatScheme |
Protected Member Functions | |
void | addDmdtHefs (const phaseSystem::dmdtfTable &dmdtfs, const phaseSystem::dmdtfTable &Tfs, const latentHeatScheme scheme, const latentHeatTransfer transfer, phaseSystem::heatTransferTable &eqns) const |
Add energy transfer terms which result from bulk phase changes. More... | |
void | addDmidtHefs (const phaseSystem::dmidtfTable &dmidtfs, const phaseSystem::dmdtfTable &Tfs, const latentHeatScheme scheme, const latentHeatTransfer transfer, phaseSystem::heatTransferTable &eqns) const |
Add energy transfer terms which result from specie phase changes. More... | |
Protected Member Functions inherited from HeatTransferPhaseSystem< BasePhaseSystem > | |
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 | |
heatTransferModelTable | heatTransferModels_ |
Heat transfer models. More... | |
Protected Attributes inherited from HeatTransferPhaseSystem< BasePhaseSystem > | |
scalar | residualY_ |
Residual mass fraction used for linearisation of heat transfer. More... | |
Additional Inherited Members | |
Public Types inherited from twoResistanceHeatTransferPhaseSystem | |
enum class | latentHeatTransfer { heat , mass } |
Enumeration for the form of the latent heat transfer. More... | |
Public Types inherited from heatTransferPhaseSystem | |
enum class | latentHeatScheme { symmetric , upwind } |
Enumeration for the latent heat scheme. More... | |
Static Public Attributes inherited from twoResistanceHeatTransferPhaseSystem | |
static const NamedEnum< latentHeatTransfer, 2 > | latentHeatTransferNames_ |
Names of the forms of the latent heat transfer. More... | |
Static Public Attributes inherited from heatTransferPhaseSystem | |
static const NamedEnum< latentHeatScheme, 2 > | latentHeatSchemeNames_ |
Names of the latent heat schemes. More... | |
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.
Definition at line 59 of file TwoResistanceHeatTransferPhaseSystem.H.
|
protected |
Definition at line 73 of file TwoResistanceHeatTransferPhaseSystem.H.
|
protected |
Definition at line 77 of file TwoResistanceHeatTransferPhaseSystem.H.
TwoResistanceHeatTransferPhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 196 of file TwoResistanceHeatTransferPhaseSystem.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAllConstIter, and TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransferModels_.
|
virtual |
Destructor.
Definition at line 234 of file TwoResistanceHeatTransferPhaseSystem.C.
|
protected |
Add energy transfer terms which result from bulk phase changes.
that are coupled to the two-resistance heat transfer model
Definition at line 34 of file TwoResistanceHeatTransferPhaseSystem.C.
References forAllConstIter, heatTransferModel::K(), phaseModel::name(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::fvc::scheme(), basicThermo::T(), and phaseModel::thermo().
|
protected |
Add energy transfer terms which result from specie phase changes.
that are coupled to the two-resistance heat transfer model
Definition at line 101 of file TwoResistanceHeatTransferPhaseSystem.C.
References forAllConstIter, heatTransferModel::K(), phaseModel::name(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::fvc::scheme(), basicThermo::T(), and phaseModel::thermo().
|
virtual |
Return the heat transfer matrices.
Definition at line 243 of file TwoResistanceHeatTransferPhaseSystem.C.
References basicThermo::Cpv(), Foam::dimEnergy, Foam::dimTime, forAll, forAllConstIter, basicThermo::he(), HashTable< T, Key, Hash >::insert(), SidedInterfacialModel< ModelType >::interface(), blendedHeatTransferModel::K(), SidedInterfacialModel< ModelType >::modelInThe(), phaseModel::name(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::fvm::Sp(), basicThermo::T(), and phaseModel::thermo().
|
virtual |
Predict the energy transport e.g. alphat.
and interface properties e.g. Tf
Definition at line 297 of file TwoResistanceHeatTransferPhaseSystem.C.
|
virtual |
Correct the energy transport e.g. alphat.
Definition at line 306 of file TwoResistanceHeatTransferPhaseSystem.C.
|
pure virtual |
Correct the interface thermodynamics.
|
virtual |
Read base phaseProperties dictionary.
Reimplemented from HeatTransferPhaseSystem< BasePhaseSystem >.
Definition at line 314 of file TwoResistanceHeatTransferPhaseSystem.C.
References Foam::blockMeshTools::read().
|
protected |
Heat transfer models.
Definition at line 85 of file TwoResistanceHeatTransferPhaseSystem.H.
Referenced by TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::TwoResistanceHeatTransferPhaseSystem().