... More...
Public Member Functions | |
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... | |
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... | |
...
Definition at line 50 of file HeatTransferPhaseSystem.H.
HeatTransferPhaseSystem | ( | const fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 485 of file HeatTransferPhaseSystem.C.
|
virtual |
Destructor.
Definition at line 499 of file HeatTransferPhaseSystem.C.
|
protected |
Add energy transfer terms which result from bulk mass transfers.
Definition at line 33 of file HeatTransferPhaseSystem.C.
References phaseModel::fluidThermo(), forAllConstIter, basicThermo::he(), basicThermo::hs(), phaseModel::K(), K1, K2, phaseModel::name(), Foam::negPart(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), and Foam::fvc::Sp().
|
protected |
Add energy transfer terms which result from specie mass transfers.
Definition at line 77 of file HeatTransferPhaseSystem.C.
References Foam::dimless, phaseModel::fluidThermo(), forAllConstIter, basicThermo::he(), basicThermo::hs(), multicomponentThermo::hsi(), phaseModel::K(), K1, K2, Foam::max(), phaseModel::name(), Foam::negPart(), Foam::compressible::New(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), Foam::fvc::Sp(), multicomponentThermo::species(), basicThermo::T(), and multicomponentThermo::Y().
|
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 phaseModel::fluidThermo(), forAllConstIter, basicThermo::he(), basicThermo::hs(), phaseModel::K(), K1, K2, phaseModel::name(), Foam::negPart(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), Foam::fvc::scheme(), and Foam::fvc::Sp().
|
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().
|
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().
|
protected |
Add energy transfer terms which result from specie phase changes,.
without the latent heat contribution
Definition at line 289 of file HeatTransferPhaseSystem.C.
References Foam::dimless, phaseModel::fluidThermo(), forAllConstIter, basicThermo::he(), basicThermo::hs(), multicomponentThermo::hsi(), phaseModel::K(), K1, K2, Foam::max(), phaseModel::name(), Foam::negPart(), Foam::compressible::New(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::posPart(), Foam::fvc::scheme(), Foam::fvc::Sp(), multicomponentThermo::species(), basicThermo::T(), and multicomponentThermo::Y().
|
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().
|
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().
|
virtual |
Return the latent heat for a given interface, mass transfer rate.
(used only for its sign), and interface temperature
Implements heatTransferPhaseSystem.
Definition at line 507 of file HeatTransferPhaseSystem.C.
References phaseModel::fluidThermo(), basicThermo::ha(), Foam::neg(), Foam::neg0(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), and Foam::fvc::scheme().
|
virtual |
As above, but for a cell-set.
Implements heatTransferPhaseSystem.
Definition at line 546 of file HeatTransferPhaseSystem.C.
References cells, phaseModel::fluidThermo(), basicThermo::ha(), Foam::neg(), Foam::neg0(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), Foam::fvc::scheme(), and basicThermo::T().
|
virtual |
Return the latent heat for a given interface, specie, mass transfer.
rate (used only for its sign), and interface temperature
Implements heatTransferPhaseSystem.
Definition at line 589 of file HeatTransferPhaseSystem.C.
References phaseModel::fluidThermo(), basicThermo::ha(), multicomponentThermo::hai(), Foam::neg(), Foam::neg0(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), Foam::fvc::scheme(), multicomponentThermo::species(), and basicThermo::T().
|
virtual |
As above, but for a cell-set.
Implements heatTransferPhaseSystem.
Definition at line 661 of file HeatTransferPhaseSystem.C.
References cells, phaseModel::fluidThermo(), basicThermo::ha(), multicomponentThermo::hai(), Foam::neg(), Foam::neg0(), fluidThermo::p(), phaseInterface::phase1(), phaseInterface::phase2(), Foam::pos(), Foam::pos0(), Foam::fvc::scheme(), multicomponentThermo::species(), and basicThermo::T().
|
virtual |
Read base phaseProperties dictionary.
Reimplemented in TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >, and OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >.
Definition at line 739 of file HeatTransferPhaseSystem.C.
References Foam::blockMeshTools::read().
|
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.