AnisothermalPhaseModel< 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 AnisothermalPhaseModel< BasePhaseModel >:
Collaboration diagram for AnisothermalPhaseModel< BasePhaseModel >:

Public Member Functions

 AnisothermalPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
 
virtual ~AnisothermalPhaseModel ()
 Destructor. More...
 
virtual bool isothermal () const
 Return whether the phase is isothermal. More...
 
virtual void correctThermo ()
 Correct the thermodynamics. 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 the given specie mass-fraction. More...
 
virtual tmp< fvScalarMatrixheEqn ()
 Return the enthalpy equation. More...
 

Detailed Description

template<class BasePhaseModel>
class Foam::AnisothermalPhaseModel< 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 73 of file AnisothermalPhaseModel.H.

Constructor & Destructor Documentation

◆ AnisothermalPhaseModel()

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

Definition at line 66 of file AnisothermalPhaseModel.C.

◆ ~AnisothermalPhaseModel()

Destructor.

Definition at line 90 of file AnisothermalPhaseModel.C.

Member Function Documentation

◆ isothermal()

bool isothermal
virtual

Return whether the phase is isothermal.

Definition at line 106 of file AnisothermalPhaseModel.C.

◆ correctThermo()

void correctThermo
virtual

Correct the thermodynamics.

Definition at line 97 of file AnisothermalPhaseModel.C.

◆ predictThermophysicalTransport()

void predictThermophysicalTransport
virtual

Predict the energy transport e.g. alphat.

Definition at line 113 of file AnisothermalPhaseModel.C.

◆ correctThermophysicalTransport()

void correctThermophysicalTransport
virtual

Correct the energy transport e.g. alphat.

Definition at line 122 of file AnisothermalPhaseModel.C.

◆ kappaEff()

Foam::tmp< Foam::scalarField > kappaEff ( const label  patchi) const
virtual

Return the effective thermal conductivity on a patch.

Definition at line 132 of file AnisothermalPhaseModel.C.

References patchi.

◆ divq()

Foam::tmp< Foam::fvScalarMatrix > divq ( volScalarField he) const
virtual

Return the source term for the energy equation.

Definition at line 140 of file AnisothermalPhaseModel.C.

References he().

Here is the call graph for this function:

◆ divj()

Foam::tmp< Foam::fvScalarMatrix > divj ( volScalarField Yi) const
virtual

Return the source term for the given specie mass-fraction.

equation

Definition at line 148 of file AnisothermalPhaseModel.C.

◆ heEqn()

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

Return the enthalpy equation.

Definition at line 156 of file AnisothermalPhaseModel.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: