thermalShell Class Reference
Inheritance diagram for thermalShell:
[legend]
Collaboration diagram for thermalShell:
[legend]

Public Member Functions

 TypeName ("thermalShell")
 Runtime type information. More...
 
 thermalShell (const word &modelType, const fvPatch &patch, const dictionary &dict)
 Construct from components and dict. More...
 
 thermalShell (const thermalShell &)=delete
 No copy construct. More...
 
void operator= (const thermalShell &)=delete
 No copy assignment. More...
 
virtual ~thermalShell ()=default
 Destructor. More...
 
const tmp< areaScalarFieldCp () const
 Return the film specific heat capacity [J/kg/K]. More...
 
const tmp< areaScalarFieldrho () const
 Return density [Kg/m3]. More...
 
const tmp< areaScalarFieldkappa () const
 Return thermal conductivity [W/m/K]. More...
 
virtual void preEvolveRegion ()
 Pre-evolve thermal baffle. More...
 
virtual void evolveRegion ()
 Evolve the thermal baffle. More...
 
virtual void info ()
 Provide some feedback. More...
 
- Public Member Functions inherited from thermalShellModel
 TypeName ("thermalShellModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, thermalShellModel, dictionary,(const word &modelType, const fvPatch &patch, const dictionary &dict),(modelType, patch, dict))
 
 thermalShellModel (const word &modelType, const fvPatch &patch, const dictionary &dict)
 Construct from type name and mesh and dict. More...
 
 thermalShellModel (const thermalShellModel &)=delete
 No copy construct. More...
 
void operator= (const thermalShellModel &)=delete
 No copy assignment. More...
 
virtual ~thermalShellModel ()=default
 Destructor. More...
 
const volScalarFieldTp () const
 Return primary region temperature. More...
 
const areaScalarFieldT () const
 Return shell temperature. More...
 
Foam::fa::optionsfaOptions ()
 Return faOptions. More...
 
- Public Member Functions inherited from regionFaModel
 TypeName ("regionFaModel")
 Runtime type information. More...
 
 regionFaModel (const fvPatch &patch, const word &regionType, const word &modelName, const dictionary &dict, bool readFields=true)
 Construct from mesh and name and dict. More...
 
 regionFaModel (const regionFaModel &)=delete
 No copy construct. More...
 
void operator= (const regionFaModel &)=delete
 No copy assignment. More...
 
virtual ~regionFaModel ()=default
 Destructor. More...
 
const fvMeshprimaryMesh () const
 Return the reference to the primary mesh database. More...
 
const Timetime () const
 Return the reference to the time database. More...
 
const Switchactive () const
 Return the active flag. More...
 
const SwitchinfoOutput () const
 Return the information flag. More...
 
const wordmodelName () const
 Return the model name. More...
 
const faMeshregionMesh () const
 Return the region mesh database. More...
 
faMeshregionMesh ()
 Return the region mesh database for manipulation. More...
 
const dictionarycoeffs () const
 Return the model coefficients dictionary. More...
 
const dictionarysolution () const
 Return the solution dictionary. More...
 
const volSurfaceMappingvsm () const
 Return volSurfaceMapping. More...
 
label patchID ()
 
virtual void evolve ()
 Main driver routing to evolve the region - calls other evolves. More...
 
virtual void postEvolveRegion ()
 Post-evolve region. More...
 

Protected Member Functions

virtual bool read (const dictionary &dict)
 Read control parameters from dictionary. More...
 
void solveEnergy ()
 Solve energy equation. More...
 

Protected Attributes

label nNonOrthCorr_
 Number of non orthogonal correctors. More...
 
solidProperties thermo_
 Solid properties. More...
 
areaScalarField qs_
 External surface energy source / [J/m2/s]. More...
 
areaScalarField h_
 Thickness. More...
 
- Protected Attributes inherited from thermalShellModel
word TName_
 Name of the temperature field. More...
 
const volScalarFieldTp_
 Primary region temperature. More...
 
areaScalarField T_
 Shell temperature. More...
 
Foam::fa::optionsfaOptions_
 Pointer to faOptions. More...
 
- Protected Attributes inherited from regionFaModel
const fvMeshprimaryMesh_
 Reference to the primary mesh database. More...
 
const fvPatchpatch_
 Reference to fvPatch. More...
 
const Timetime_
 Reference to the time database. More...
 
Switch active_
 Active flag. More...
 
Switch infoOutput_
 Active information output. More...
 
const word modelName_
 Model name. More...
 
autoPtr< faMeshregionMeshPtr_
 Pointer to the region mesh database. More...
 
dictionary coeffs_
 Model coefficients dictionary. More...
 
autoPtr< volSurfaceMappingvsmPtr_
 Volume-to surface mapping. More...
 
label patchID_
 Patch IDs on the primary region coupled to this region. More...
 
word regionName_
 Region name. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from thermalShellModel
static autoPtr< thermalShellModelNew (const fvPatch &patch, const dictionary &dict)
 Return a reference to the selected model using dictionary. More...
 

Detailed Description

Definition at line 111 of file thermalShell.H.

Constructor & Destructor Documentation

◆ thermalShell() [1/2]

thermalShell ( const word modelType,
const fvPatch patch,
const dictionary dict 
)

Construct from components and dict.

Definition at line 88 of file thermalShell.C.

References init().

Here is the call graph for this function:

◆ thermalShell() [2/2]

thermalShell ( const thermalShell )
delete

No copy construct.

◆ ~thermalShell()

virtual ~thermalShell ( )
virtualdefault

Destructor.

Member Function Documentation

◆ read()

bool read ( const dictionary dict)
protectedvirtual

Read control parameters from dictionary.

Reimplemented from thermalShellModel.

Definition at line 48 of file thermalShell.C.

References thermalShell::nNonOrthCorr_, dictionary::readEntry(), and regionFaModel::solution().

Here is the call graph for this function:

◆ solveEnergy()

void solveEnergy ( )
protected

Solve energy equation.

Definition at line 56 of file thermalShell.C.

References optionList::constrain(), optionList::correct(), thermalShell::Cp(), Foam::fam::ddt(), Foam::expressions::patchExpr::debug, Foam::endl(), thermalShellModel::faOptions(), thermalShell::h_, InfoInFunction, thermalShell::kappa(), Foam::fam::laplacian(), thermalShell::qs_, fvMatrix< Type >::relax(), thermalShell::rho(), fvMatrix< Type >::solve(), thermalShellModel::T_, and TEqn().

Referenced by thermalShell::evolveRegion().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "thermalShell"  )

Runtime type information.

◆ operator=()

void operator= ( const thermalShell )
delete

No copy assignment.

◆ Cp()

const tmp< areaScalarField > Cp ( ) const

Return the film specific heat capacity [J/kg/K].

Definition at line 150 of file thermalShell.C.

References solidProperties::Cp(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, IOobject::NO_READ, IOobject::NO_WRITE, regionFaModel::primaryMesh(), regionFaModel::regionMesh(), thermalShell::thermo_, regionFaModel::time(), and timeName.

Referenced by thermalShell::solveEnergy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rho()

const tmp< areaScalarField > rho ( ) const

Return density [Kg/m3].

Definition at line 173 of file thermalShell.C.

References Foam::dimDensity, IOobject::NO_READ, IOobject::NO_WRITE, regionFaModel::primaryMesh(), regionFaModel::regionMesh(), solidProperties::rho(), thermalShell::thermo_, regionFaModel::time(), and timeName.

Referenced by thermalShell::solveEnergy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kappa()

const tmp< areaScalarField > kappa ( ) const

Return thermal conductivity [W/m/K].

Definition at line 196 of file thermalShell.C.

References Foam::dimLength, Foam::dimPower, Foam::dimTemperature, solidProperties::kappa(), IOobject::NO_READ, IOobject::NO_WRITE, regionFaModel::primaryMesh(), regionFaModel::regionMesh(), thermalShell::thermo_, regionFaModel::time(), and timeName.

Referenced by thermalShell::solveEnergy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ preEvolveRegion()

void preEvolveRegion ( )
virtual

Pre-evolve thermal baffle.

Reimplemented from thermalShellModel.

Definition at line 133 of file thermalShell.C.

◆ evolveRegion()

void evolveRegion ( )
virtual

Evolve the thermal baffle.

Reimplemented from regionFaModel.

Definition at line 137 of file thermalShell.C.

References Foam::endl(), dictionary::get(), Foam::Info, Foam::max(), Foam::min(), thermalShell::nNonOrthCorr_, regionFaModel::solution(), thermalShell::solveEnergy(), and thermalShellModel::T_.

Here is the call graph for this function:

◆ info()

void info ( )
virtual

Provide some feedback.

Reimplemented from regionFaModel.

Definition at line 223 of file thermalShell.C.

Member Data Documentation

◆ nNonOrthCorr_

label nNonOrthCorr_
protected

Number of non orthogonal correctors.

Definition at line 128 of file thermalShell.H.

Referenced by thermalShell::evolveRegion(), and thermalShell::read().

◆ thermo_

solidProperties thermo_
protected

Solid properties.

Definition at line 134 of file thermalShell.H.

Referenced by thermalShell::Cp(), thermalShell::kappa(), and thermalShell::rho().

◆ qs_

areaScalarField qs_
protected

External surface energy source / [J/m2/s].

Definition at line 140 of file thermalShell.H.

Referenced by thermalShell::solveEnergy().

◆ h_

areaScalarField h_
protected

Thickness.

Definition at line 143 of file thermalShell.H.

Referenced by thermalShell::solveEnergy().


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