The thermophysical properties of a solid. More...
#include <solids/solid.H>
The thermophysical properties of a solid.
Definition at line 60 of file solid.H.
Public Member Functions | |
TypeName ("solid") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, solid,,(),()) | |
declareRunTimeSelectionTable (autoPtr, solid, Istream,(Istream &is),(is)) | |
solid (scalar rho, scalar cp, scalar K, scalar Hf, scalar emissivity) | |
Construct from components.
| |
solid (Istream &is) | |
Construct from Istream.
| |
virtual | ~solid () |
scalar | rho () const |
Density [kg/m3].
| |
scalar | cp () const |
Specific heat capacity [J/(kg.K)].
| |
scalar | K () const |
Thermal conductivity [W/(m.K)].
| |
scalar | Hf () const |
Heat of formation [J/kg].
| |
scalar | emissivity () const |
Emissivity [].
| |
virtual void | writeData (Ostream &os) const |
Write the solid properties.
| |
Static Public Member Functions | |
static autoPtr< solid > | New (Istream &is) |
Return a pointer to a new solid created from input.
| |
Friends | |
Ostream & | operator<< (Ostream &os, const solid &s) |
solid | ( | scalar | rho, |
scalar | cp, | ||
scalar | K, | ||
scalar | Hf, | ||
scalar | emissivity | ||
) |
TypeName | ( | "solid" | ) |
Runtime type information.
Foam::autoPtr< Foam::solid > New | ( | Istream & | is ) | [static]
|
Return a pointer to a new solid created from input.
Definition at line 30 of file newSolid.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, and Foam::nl.
Foam::scalar cp | ( | ) | const [inline]
|
Foam::scalar K | ( | ) | const [inline]
|
Foam::scalar Hf | ( | ) | const [inline]
|
void writeData | ( | Ostream & | os ) | const [virtual]
|
Write the solid properties.
Reimplemented in ash, C, and CaCO3.
Definition at line 68 of file solid.C.
References token::SPACE.
Referenced by Foam::operator<<(), CaCO3::writeData(), C::writeData(), and ash::writeData().