The thermophysical properties of a solid. More...
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< solidProperties > | clone () 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< solidProperties > | New (const word &name) |
Return a pointer to a new solidProperties created from name. More... | |
static autoPtr< solidProperties > | New (const dictionary &dict) |
Return a pointer to a new solidProperties created from dictionary. More... | |
Friends | |
Ostream & | operator<< (Ostream &os, const solidProperties &s) |
Ostream Operator. More... | |
The thermophysical properties of a solid.
Definition at line 55 of file solidProperties.H.
solidProperties | ( | scalar | rho, |
scalar | Cp, | ||
scalar | kappa, | ||
scalar | Hf, | ||
scalar | emissivity | ||
) |
Construct from components.
Definition at line 40 of file solidProperties.C.
Referenced by solidProperties::clone().
solidProperties | ( | const dictionary & | dict | ) |
|
inlinevirtual |
Destructor.
Definition at line 134 of file solidProperties.H.
References solidProperties::Cp(), solidProperties::Ea(), solidProperties::emissivity(), solidProperties::Es(), solidProperties::Ha(), solidProperties::Hf(), solidProperties::Hs(), solidProperties::kappa(), solidProperties::operator<<, solidProperties::readIfPresent(), solidProperties::rho(), s(), Foam::T(), and solidProperties::write().
TypeName | ( | "solid" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
solidProperties | , | ||
() | , | ||
() | |||
) |
declareRunTimeSelectionTable | ( | autoPtr | , |
solidProperties | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
inlinevirtual |
Construct and return clone.
Reimplemented in ash, C, and CaCO3.
Definition at line 118 of file solidProperties.H.
References Foam::name(), solidProperties::New(), and solidProperties::solidProperties().
|
static |
Return a pointer to a new solidProperties created from name.
Definition at line 32 of file solidPropertiesNew.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, and Foam::nl.
Referenced by solidProperties::clone(), and solidMixtureProperties::solidMixtureProperties().
|
static |
Return a pointer to a new solidProperties created from dictionary.
Definition at line 58 of file solidPropertiesNew.C.
References dict, dictionaryName::dictName(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), InfoInFunction, dictionary::lookup(), Foam::compressible::New(), Foam::nl, and dictionary::optionalSubDict().
|
inline |
Density [kg/m^3].
Definition at line 30 of file solidPropertiesI.H.
Referenced by solidProperties::~solidProperties().
|
inline |
Specific heat capacity [J/kg/K].
Definition at line 36 of file solidPropertiesI.H.
Referenced by solidProperties::~solidProperties().
|
inline |
Heat of formation [J/kg].
Definition at line 42 of file solidPropertiesI.H.
Referenced by solidProperties::Ea(), solidProperties::Ha(), and solidProperties::~solidProperties().
|
inline |
Sensible enthalpy [J/kg].
Definition at line 48 of file solidPropertiesI.H.
References Foam::constant::standard::Tstd.
Referenced by solidProperties::Es(), solidProperties::Ha(), and solidProperties::~solidProperties().
|
inline |
Absolute enthalpy [J/kg].
Definition at line 54 of file solidPropertiesI.H.
References solidProperties::Hf(), and solidProperties::Hs().
Referenced by solidProperties::~solidProperties().
|
inline |
Sensible internal energy [J/kg].
Definition at line 60 of file solidPropertiesI.H.
References solidProperties::Hs().
Referenced by solidProperties::Ea(), and solidProperties::~solidProperties().
|
inline |
Absolute internal energy [J/kg].
Definition at line 66 of file solidPropertiesI.H.
References solidProperties::Es(), and solidProperties::Hf().
Referenced by solidProperties::~solidProperties().
|
inline |
Thermal conductivity [W/m/K].
Definition at line 72 of file solidPropertiesI.H.
Referenced by solidProperties::~solidProperties().
|
inline |
Emissivity [].
Definition at line 78 of file solidPropertiesI.H.
Referenced by solidProperties::~solidProperties().
void readIfPresent | ( | const dictionary & | dict | ) |
Read and set the properties present it the given dictionary.
Definition at line 68 of file solidProperties.C.
References dictionary::readIfPresent().
Referenced by ash::ash(), C::C(), CaCO3::CaCO3(), and solidProperties::~solidProperties().
|
virtual |
Write the solidProperties properties.
Reimplemented in ash, C, and CaCO3.
Definition at line 79 of file solidProperties.C.
References token::SPACE.
Referenced by Foam::operator<<(), ash::write(), C::write(), CaCO3::write(), and solidProperties::~solidProperties().
|
friend |
Ostream Operator.
Referenced by solidProperties::~solidProperties().