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, scalar W, scalar nu, scalar E) | |
Construct from components. More... | |
solidProperties (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< solidProperties > | clone () 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 | |
template<class Derived > | |
static autoPtr< solidProperties > | Clone (const Derived &prop) |
Clone solidProperties. More... | |
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 50 of file solidProperties.H.
solidProperties | ( | scalar | rho, |
scalar | Cp, | ||
scalar | kappa, | ||
scalar | Hf, | ||
scalar | emissivity, | ||
scalar | W, | ||
scalar | nu, | ||
scalar | E | ||
) |
Construct from components.
Definition at line 37 of file solidProperties.C.
solidProperties | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 59 of file solidProperties.C.
|
virtualdefault |
Destructor.
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 149 of file solidProperties.H.
References autoPtr< T >::New().
|
inlinestatic |
Clone solidProperties.
Definition at line 161 of file solidProperties.H.
Referenced by ash::clone(), CaCO3::clone(), and C::clone().
|
static |
Return a pointer to a new solidProperties created from name.
Definition at line 28 of file solidPropertiesNew.C.
References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and Foam::name().
Referenced by solidMixtureProperties::solidMixtureProperties().
|
static |
Return a pointer to a new solidProperties created from dictionary.
Definition at line 51 of file solidPropertiesNew.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::New().
|
inline |
Density [kg/m3].
Definition at line 26 of file solidPropertiesI.H.
Referenced by thermalShell::rho().
|
inline |
Specific heat capacity [J/(kg.K)].
Definition at line 32 of file solidPropertiesI.H.
Referenced by thermalShell::Cp().
|
inline |
Thermal conductivity [W/(m.K)].
Definition at line 38 of file solidPropertiesI.H.
Referenced by thermalShell::kappa().
|
inline |
Heat of formation [J/kg].
Definition at line 44 of file solidPropertiesI.H.
|
inline |
Sensible enthalpy - reference to Tstd [J/kg].
Definition at line 50 of file solidPropertiesI.H.
References Foam::T(), and Foam::constant::standard::Tstd.
|
inline |
Emissivity [].
Definition at line 56 of file solidPropertiesI.H.
|
inline |
Molar weight [Kg/Kmol].
Definition at line 62 of file solidPropertiesI.H.
|
inline |
Poissons.
Definition at line 68 of file solidPropertiesI.H.
|
inline |
Young modulus [N/m2].
Definition at line 74 of file solidPropertiesI.H.
void readIfPresent | ( | const dictionary & | dict | ) |
Read and set the properties if present in the given dictionary.
Definition at line 74 of file solidProperties.C.
References dict, dictionary::readIfPresent(), and dictionary::readIfPresentCompat().
Referenced by ash::ash(), C::C(), and CaCO3::CaCO3().
|
virtual |
Write the solidProperties properties.
Reimplemented in ash, C, and CaCO3.
Definition at line 87 of file solidProperties.C.
References os(), and token::SPACE.
Referenced by ash::writeData(), CaCO3::writeData(), and C::writeData().
|
friend |
Ostream Operator.