Fourier< BasicThermophysicalTransportModel > Class Template Reference

Fourier's temperature gradient heat flux model for single specie laminar flow. More...

Inheritance diagram for Fourier< BasicThermophysicalTransportModel >:
Collaboration diagram for Fourier< BasicThermophysicalTransportModel >:

Public Types

typedef BasicThermophysicalTransportModel::alphaField alphaField
 
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
 
typedef BasicThermophysicalTransportModel::thermoModel thermoModel
 
- Public Types inherited from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >
typedef BasicThermophysicalTransportModel::alphaField alphaField
 
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
 
typedef BasicThermophysicalTransportModel::thermoModel thermoModel
 

Public Member Functions

 TypeName ("Fourier")
 Runtime type information. More...
 
 Fourier (const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Construct from components. More...
 
virtual ~Fourier ()
 Destructor. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual bool read ()
 Read thermophysicalTransport dictionary. More...
 
virtual tmp< volScalarFieldDEff (const volScalarField &Yi) const
 Effective mass diffusion coefficient. More...
 
virtual tmp< scalarFieldDEff (const volScalarField &Yi, const label patchi) const
 Effective mass diffusion coefficient. More...
 
virtual tmp< surfaceScalarFieldq () const
 Return the heat flux [W/m^2]. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual tmp< surfaceScalarFieldj (const volScalarField &Yi) const
 Return the specie flux for the given specie mass-fraction [kg/m^2/s]. More...
 
virtual tmp< fvScalarMatrixdivj (volScalarField &Yi) const
 Return the source term for the given specie mass-fraction equation. More...
 
virtual void predict ()
 Correct the Fourier viscosity. More...
 
- Public Member Functions inherited from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >
 TypeName ("laminar")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, laminarThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
 
 laminarThermophysicalTransportModel (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Construct from components. More...
 
 laminarThermophysicalTransportModel (const laminarThermophysicalTransportModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~laminarThermophysicalTransportModel ()
 Destructor. More...
 
virtual tmp< volScalarFieldkappaEff () const
 Effective thermal turbulent conductivity. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Effective thermal turbulent conductivity. More...
 
virtual tmp< volScalarFieldalphaEff () const
 Effective thermal turbulent diffusivity of mixture [kg/m/s]. More...
 
virtual void correct ()
 Solve the thermophysical transport model equations. More...
 
void operator= (const laminarThermophysicalTransportModel &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >
static autoPtr< laminarThermophysicalTransportModelNew (const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Return a reference to the selected laminar model. More...
 
- Protected Member Functions inherited from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >
virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 
- Protected Attributes inherited from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >
dictionary laminarDict_
 laminar coefficients dictionary More...
 
Switch printCoeffs_
 Flag to print the model coeffs at run-time. More...
 
dictionary coeffDict_
 Model coefficients dictionary. More...
 

Detailed Description

template<class BasicThermophysicalTransportModel>
class Foam::laminarThermophysicalTransportModels::Fourier< BasicThermophysicalTransportModel >

Fourier's temperature gradient heat flux model for single specie laminar flow.

The heat flux source is implemented as an implicit energy correction to the temperature gradient based flux source. At convergence the energy correction is 0.

Source files

Definition at line 56 of file Fourier.H.

Member Typedef Documentation

◆ alphaField

typedef BasicThermophysicalTransportModel::alphaField alphaField

Definition at line 67 of file Fourier.H.

◆ momentumTransportModel

typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 70 of file Fourier.H.

◆ thermoModel

typedef BasicThermophysicalTransportModel::thermoModel thermoModel

Definition at line 73 of file Fourier.H.

Constructor & Destructor Documentation

◆ Fourier()

Fourier ( const momentumTransportModel momentumTransport,
const thermoModel thermo 
)

Construct from components.

Definition at line 40 of file Fourier.C.

◆ ~Fourier()

virtual ~Fourier ( )
inlinevirtual

Destructor.

Definition at line 91 of file Fourier.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Fourier< BasicThermophysicalTransportModel >"  )

Runtime type information.

◆ coeffDict()

const dictionary & coeffDict
virtual

Const access to the coefficients dictionary.

Reimplemented from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >.

Definition at line 59 of file Fourier.C.

References dictionary::null.

◆ read()

bool read
virtual

Read thermophysicalTransport dictionary.

Reimplemented from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >.

Definition at line 66 of file Fourier.C.

◆ DEff() [1/2]

tmp< volScalarField > DEff ( const volScalarField Yi) const
virtual

Effective mass diffusion coefficient.

for a given specie mass-fraction [kg/m/s]

Implements laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >.

Definition at line 74 of file Fourier.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ DEff() [2/2]

tmp< scalarField > DEff ( const volScalarField Yi,
const label  patchi 
) const
virtual

Effective mass diffusion coefficient.

for a given specie mass-fraction for patch [kg/m/s]

Implements laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >.

Definition at line 91 of file Fourier.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ q()

tmp< surfaceScalarField > q
virtual

Return the heat flux [W/m^2].

Definition at line 108 of file Fourier.C.

References alpha(), Foam::constant::atomic::group, IOobject::groupName(), Foam::fvc::interpolate(), GeometricField< Type, PatchField, GeoMesh >::New(), Foam::fvc::snGrad(), and thermo.

Here is the call graph for this function:

◆ divq()

tmp< fvScalarMatrix > divq ( volScalarField he) const
virtual

Return the source term for the energy equation.

Definition at line 126 of file Fourier.C.

References alpha(), he(), Foam::fvc::laplacian(), Foam::fvm::laplacianCorrection(), and thermo.

Here is the call graph for this function:

◆ j()

tmp< surfaceScalarField > j ( const volScalarField Yi) const
virtual

Return the specie flux for the given specie mass-fraction [kg/m^2/s].

Definition at line 143 of file Fourier.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ divj()

tmp< fvScalarMatrix > divj ( volScalarField Yi) const
virtual

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

Definition at line 160 of file Fourier.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ predict()

void predict
virtual

Correct the Fourier viscosity.

Reimplemented from laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >.

Definition at line 173 of file Fourier.C.


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