ThermalPhaseModel< BasePhaseModel > Class Template Reference

Class which represents a phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model. More...

Inheritance diagram for ThermalPhaseModel< BasePhaseModel >:
Collaboration diagram for ThermalPhaseModel< BasePhaseModel >:

Public Member Functions

 ThermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
 
virtual ~ThermalPhaseModel ()
 Destructor. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. More...
 
virtual bool isothermal () const
 Return whether the phase is isothermal. More...
 
virtual tmp< fvScalarMatrixheEqn ()
 Return the enthalpy equation. More...
 
- Public Member Functions inherited from ThermophysicalTransportPhaseModel< BasePhaseModel >
 ThermophysicalTransportPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
 
virtual ~ThermophysicalTransportPhaseModel ()
 Destructor. More...
 
virtual void predictThermophysicalTransport ()
 Predict the energy transport e.g. alphat. More...
 
virtual void correctThermophysicalTransport ()
 Correct the energy transport e.g. alphat. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Return the effective thermal conductivity on a patch. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual tmp< fvScalarMatrixdivj (volScalarField &Yi) const
 Return the source term for a specie mass-fraction equation. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::ThermalPhaseModel< BasePhaseModel >

Class which represents a phase for which the temperature (strictly energy) varies. Returns the energy equation and corrects the thermodynamic model.

Source files

Definition at line 51 of file ThermalPhaseModel.H.

Constructor & Destructor Documentation

◆ ThermalPhaseModel()

ThermalPhaseModel ( const phaseSystem fluid,
const word phaseName,
const bool  referencePhase,
const label  index 
)

Definition at line 66 of file ThermalPhaseModel.C.

◆ ~ThermalPhaseModel()

Destructor.

Definition at line 88 of file ThermalPhaseModel.C.

Member Function Documentation

◆ correctThermo()

void correctThermo
virtual

Correct the thermodynamics.

Definition at line 95 of file ThermalPhaseModel.C.

◆ isothermal()

bool isothermal
virtual

Return whether the phase is isothermal.

Definition at line 104 of file ThermalPhaseModel.C.

◆ heEqn()

Foam::tmp< Foam::fvScalarMatrix > heEqn
virtual

Return the enthalpy equation.

Definition at line 112 of file ThermalPhaseModel.C.

References Foam::fvc::absolute(), alpha(), Foam::fvc::ddt(), Foam::fvm::ddt(), Foam::fvc::div(), Foam::fvm::div(), he(), K, IOobject::name(), p, Qdot, tmp< T >::ref(), rho, Foam::fvm::Sp(), and U.

Here is the call graph for this function:

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