solidProperties Class Reference

The thermophysical properties of a solid. More...

Inheritance diagram for solidProperties:

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)
 Construct from components. More...
 
 solidProperties (const dictionary &dict)
 Construct from dictionary. More...
 
virtual autoPtr< solidPropertiesclone () const
 Construct and return clone. More...
 
virtual ~solidProperties ()
 Destructor. More...
 
scalar rho () const
 Density [kg/m^3]. More...
 
scalar Cp () const
 Specific heat capacity [J/kg/K]. More...
 
scalar hf () const
 Heat of formation [J/kg]. More...
 
scalar hs (const scalar T) const
 Sensible enthalpy [J/kg]. More...
 
scalar ha (scalar T) const
 Absolute enthalpy [J/kg]. More...
 
scalar es (const scalar T) const
 Sensible internal energy [J/kg]. More...
 
scalar ea (scalar T) const
 Absolute internal energy [J/kg]. More...
 
scalar kappa () const
 Thermal conductivity [W/m/K]. More...
 
scalar emissivity () const
 Emissivity []. More...
 
void readIfPresent (const dictionary &dict)
 Read and set the properties present it the given dictionary. More...
 
virtual void write (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 55 of file solidProperties.H.

Constructor & Destructor Documentation

◆ solidProperties() [1/2]

solidProperties ( scalar  rho,
scalar  Cp,
scalar  kappa,
scalar  hf,
scalar  emissivity 
)

Construct from components.

Definition at line 39 of file solidProperties.C.

Referenced by solidProperties::clone().

Here is the caller graph for this function:

◆ solidProperties() [2/2]

solidProperties ( const dictionary dict)

Construct from dictionary.

Definition at line 56 of file solidProperties.C.

◆ ~solidProperties()

virtual ~solidProperties ( )
inlinevirtual

Destructor.

Definition at line 134 of file solidProperties.H.

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 CaCO3, C, and ash.

Definition at line 118 of file solidProperties.H.

References solidProperties::solidProperties().

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 31 of file solidPropertiesNew.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, Foam::name(), and Foam::nl.

Referenced by solidMixtureProperties::solidMixtureProperties().

Here is the call graph for this function:
Here is the caller 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 dict, dictionaryName::dictName(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), InfoInFunction, dictionary::lookup(), Foam::New(), Foam::nl, and dictionary::optionalSubDict().

Here is the call graph for this function:

◆ rho()

Foam::scalar rho ( ) const
inline

Density [kg/m^3].

Definition at line 30 of file solidPropertiesI.H.

◆ Cp()

Foam::scalar Cp ( ) const
inline

Specific heat capacity [J/kg/K].

Definition at line 36 of file solidPropertiesI.H.

◆ hf()

Foam::scalar hf ( ) const
inline

Heat of formation [J/kg].

Definition at line 42 of file solidPropertiesI.H.

◆ hs()

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

Sensible enthalpy [J/kg].

Definition at line 48 of file solidPropertiesI.H.

References Foam::T(), and Foam::constant::standard::Tstd.

Here is the call graph for this function:

◆ ha()

Foam::scalar ha ( scalar  T) const
inline

Absolute enthalpy [J/kg].

Definition at line 54 of file solidPropertiesI.H.

References hs(), and Foam::T().

Here is the call graph for this function:

◆ es()

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

Sensible internal energy [J/kg].

Definition at line 60 of file solidPropertiesI.H.

References hs(), and Foam::T().

Here is the call graph for this function:

◆ ea()

Foam::scalar ea ( scalar  T) const
inline

Absolute internal energy [J/kg].

Definition at line 66 of file solidPropertiesI.H.

References es(), and Foam::T().

Here is the call graph for this function:

◆ kappa()

Foam::scalar kappa ( ) const
inline

Thermal conductivity [W/m/K].

Definition at line 72 of file solidPropertiesI.H.

◆ emissivity()

Foam::scalar emissivity ( ) const
inline

Emissivity [].

Definition at line 78 of file solidPropertiesI.H.

◆ readIfPresent()

void readIfPresent ( const dictionary dict)

Read and set the properties present it the given dictionary.

Definition at line 68 of file solidProperties.C.

References dict, and dictionary::readIfPresent().

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

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

◆ write()

void write ( Ostream os) const
virtual

Write the solidProperties properties.

Reimplemented in CaCO3, C, and ash.

Definition at line 79 of file solidProperties.C.

References token::SPACE.

Referenced by ash::write(), C::write(), and CaCO3::write().

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: