solidProperties Class Reference

The thermophysical properties of a solid. More...

Inheritance diagram for solidProperties:
[legend]

Public Member Functions

 TypeName ("solid")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, solidProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, solidProperties, dictionary,(const dictionary &dict),(dict))
 
 solidProperties (scalar rho, scalar Cp, scalar kappa, scalar Hf, scalar emissivity, scalar W, scalar nu, scalar E)
 Construct from components. More...
 
 solidProperties (const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< solidPropertiesclone () const
 Construct and return clone. More...
 
virtual ~solidProperties ()=default
 Destructor. More...
 
scalar rho () const
 Density [kg/m3]. More...
 
scalar Cp () const
 Specific heat capacity [J/(kg.K)]. More...
 
scalar kappa () const
 Thermal conductivity [W/(m.K)]. More...
 
scalar Hf () const
 Heat of formation [J/kg]. More...
 
scalar Hs (const scalar T) const
 Sensible enthalpy - reference to Tstd [J/kg]. More...
 
scalar emissivity () const
 Emissivity []. More...
 
scalar W () const
 Molar weight [Kg/Kmol]. More...
 
scalar nu () const
 Poissons. More...
 
scalar E () const
 Young modulus [N/m2]. More...
 
void readIfPresent (const dictionary &dict)
 Read and set the properties if present in the given dictionary. More...
 
virtual void writeData (Ostream &os) const
 Write the solidProperties properties. More...
 

Static Public Member Functions

static autoPtr< solidPropertiesNew (const word &name)
 Return a pointer to a new solidProperties created from name. More...
 
static autoPtr< solidPropertiesNew (const dictionary &dict)
 Return a pointer to a new solidProperties created from dictionary. More...
 

Friends

Ostreamoperator<< (Ostream &os, const solidProperties &s)
 Ostream Operator. More...
 

Detailed Description

The thermophysical properties of a solid.

Source files

Definition at line 54 of file solidProperties.H.

Constructor & Destructor Documentation

◆ solidProperties() [1/2]

solidProperties ( scalar  rho,
scalar  Cp,
scalar  kappa,
scalar  Hf,
scalar  emissivity,
scalar  W,
scalar  nu,
scalar  E 
)

Construct from components.

Definition at line 43 of file solidProperties.C.

◆ solidProperties() [2/2]

solidProperties ( const dictionary dict)

Construct from dictionary.

Definition at line 66 of file solidProperties.C.

◆ ~solidProperties()

virtual ~solidProperties ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "solid"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [1/2]

declareRunTimeSelectionTable ( autoPtr  ,
solidProperties  ,
()  ,
()   
)

◆ declareRunTimeSelectionTable() [2/2]

declareRunTimeSelectionTable ( autoPtr  ,
solidProperties  ,
dictionary  ,
(const dictionary &dict ,
(dict  
)

◆ clone()

virtual autoPtr< solidProperties > clone ( ) const
inlinevirtual

Construct and return clone.

Reimplemented in ash, C, and CaCO3.

Definition at line 129 of file solidProperties.H.

References Time::New().

Here is the call graph for this function:

◆ New() [1/2]

Foam::autoPtr< Foam::solidProperties > New ( const word name)
static

Return a pointer to a new solidProperties created from name.

Definition at line 34 of file solidPropertiesNew.C.

References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and Foam::name().

Here is the call graph for this function:

◆ New() [2/2]

Foam::autoPtr< Foam::solidProperties > New ( const dictionary dict)
static

Return a pointer to a new solidProperties created from dictionary.

Definition at line 57 of file solidPropertiesNew.C.

References DebugInFunction, dict, dictionary::dictName(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::found(), dictionary::get(), Time::New(), Foam::New(), and dictionary::optionalSubDict().

Here is the call graph for this function:

◆ rho()

Foam::scalar rho ( ) const
inline

Density [kg/m3].

Definition at line 33 of file solidPropertiesI.H.

Referenced by thermalShell::rho().

Here is the caller graph for this function:

◆ Cp()

Foam::scalar Cp ( ) const
inline

Specific heat capacity [J/(kg.K)].

Definition at line 39 of file solidPropertiesI.H.

Referenced by thermalShell::Cp().

Here is the caller graph for this function:

◆ kappa()

Foam::scalar kappa ( ) const
inline

Thermal conductivity [W/(m.K)].

Definition at line 45 of file solidPropertiesI.H.

Referenced by thermalShell::kappa().

Here is the caller graph for this function:

◆ Hf()

Foam::scalar Hf ( ) const
inline

Heat of formation [J/kg].

Definition at line 51 of file solidPropertiesI.H.

◆ Hs()

Foam::scalar Hs ( const scalar  T) const
inline

Sensible enthalpy - reference to Tstd [J/kg].

Definition at line 57 of file solidPropertiesI.H.

References T, and Foam::constant::thermodynamic::Tstd.

◆ emissivity()

Foam::scalar emissivity ( ) const
inline

Emissivity [].

Definition at line 63 of file solidPropertiesI.H.

◆ W()

Foam::scalar W ( ) const
inline

Molar weight [Kg/Kmol].

Definition at line 69 of file solidPropertiesI.H.

◆ nu()

Foam::scalar nu ( ) const
inline

Poissons.

Definition at line 75 of file solidPropertiesI.H.

◆ E()

Foam::scalar E ( ) const
inline

Young modulus [N/m2].

Definition at line 81 of file solidPropertiesI.H.

◆ readIfPresent()

void readIfPresent ( const dictionary dict)

Read and set the properties if present in the given dictionary.

Definition at line 81 of file solidProperties.C.

References dict, solidProperties::readIfPresent(), dictionary::readIfPresent(), and dictionary::readIfPresentCompat().

Referenced by ash::ash(), C::C(), CaCO3::CaCO3(), and solidProperties::readIfPresent().

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

◆ writeData()

void writeData ( Ostream os) const
virtual

Write the solidProperties properties.

Reimplemented in ash, C, and CaCO3.

Definition at line 94 of file solidProperties.C.

References os(), token::SPACE, and solidProperties::writeData().

Referenced by solidProperties::writeData().

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

Friends And Related Function Documentation

◆ operator<<

Ostream & operator<< ( Ostream os,
const solidProperties s 
)
friend

Ostream Operator.


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