isotropic< SolidThermophysicalTransportModel > Class Template Reference

Solid thermophysical transport model for isotropic thermal conductivity. More...

Inheritance diagram for isotropic< SolidThermophysicalTransportModel >:
Collaboration diagram for isotropic< SolidThermophysicalTransportModel >:

Public Types

typedef SolidThermophysicalTransportModel::alphaField alphaField
 

Public Member Functions

 TypeName ("isotropic")
 Runtime type information. More...
 
 isotropic (const alphaField &alpha, const solidThermo &thermo)
 Construct from solid thermophysical properties. More...
 
virtual ~isotropic ()
 Destructor. More...
 
virtual bool read ()
 Read thermophysicalTransport dictionary. More...
 
virtual tmp< surfaceScalarFieldq () const
 Return the heat flux [W/m^2]. More...
 
virtual tmp< scalarFieldq (const label patchi) const
 Return the patch heat flux [W/m^2]. More...
 
virtual tmp< scalarFieldqCorr (const label patchi) const
 Return null patch heat flux correction [W/m^2]. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual void predict ()
 Correct the isotropic viscosity. More...
 

Detailed Description

template<class SolidThermophysicalTransportModel>
class Foam::solidThermophysicalTransportModels::isotropic< SolidThermophysicalTransportModel >

Solid thermophysical transport model for isotropic thermal conductivity.

This is the default transport model for solids and selected automatically if the thermophysicalTransport dictionary is not present in the constant or region directory.

Source files

Definition at line 55 of file isotropic.H.

Member Typedef Documentation

◆ alphaField

typedef SolidThermophysicalTransportModel::alphaField alphaField

Definition at line 63 of file isotropic.H.

Constructor & Destructor Documentation

◆ isotropic()

isotropic ( const alphaField alpha,
const solidThermo thermo 
)

Construct from solid thermophysical properties.

Definition at line 36 of file isotropic.C.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and thermo.

Here is the call graph for this function:

◆ ~isotropic()

virtual ~isotropic ( )
inlinevirtual

Destructor.

Definition at line 80 of file isotropic.H.

Member Function Documentation

◆ TypeName()

TypeName ( "isotropic< SolidThermophysicalTransportModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Read thermophysicalTransport dictionary.

Definition at line 58 of file isotropic.C.

◆ q() [1/2]

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

Definition at line 67 of file isotropic.C.

References alpha(), Foam::fvc::interpolate(), Foam::constant::electromagnetic::kappa, GeometricField< Type, GeoMesh, PrimitiveField >::New(), Foam::fvc::snGrad(), Foam::T(), and thermo.

Here is the call graph for this function:

◆ q() [2/2]

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

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

Definition at line 81 of file isotropic.C.

References alpha(), Foam::constant::electromagnetic::kappa, patchi, and thermo.

Here is the call graph for this function:

◆ qCorr()

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

Return null patch heat flux correction [W/m^2].

Definition at line 95 of file isotropic.C.

◆ divq()

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

Return the source term for the energy equation.

Definition at line 107 of file isotropic.C.

References alpha(), basicThermo::Cv(), Foam::e, Foam::constant::electromagnetic::kappa, Foam::fvc::laplacian(), Foam::fvm::laplacianCorrection(), basicThermo::T(), and thermo.

Here is the call graph for this function:

◆ predict()

void predict
virtual

Correct the isotropic viscosity.

Definition at line 124 of file isotropic.C.


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