35 #ifndef solidProperties_H
36 #define solidProperties_H
49 class solidProperties;
50 Ostream&
operator<<(Ostream&,
const solidProperties&);
144 inline scalar
rho()
const;
147 inline scalar
Cp()
const;
150 inline scalar
hf()
const;
153 inline scalar
hs(
const scalar
T)
const;
156 inline scalar
ha(scalar
T)
const;
159 inline scalar
es(
const scalar
T)
const;
162 inline scalar
ea(scalar
T)
const;
165 inline scalar
kappa()
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
The thermophysical properties of a solid.
scalar Cp() const
Specific heat capacity [J/kg/K].
scalar kappa() const
Thermal conductivity [W/m/K].
scalar ea(scalar T) const
Absolute internal energy [J/kg].
friend Ostream & operator<<(Ostream &os, const solidProperties &s)
Ostream Operator.
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.
virtual autoPtr< solidProperties > clone() const
Construct and return clone.
scalar es(const scalar T) const
Sensible internal energy [J/kg].
TypeName("solid")
Runtime type information.
virtual void write(Ostream &os) const
Write the solidProperties properties.
scalar ha(scalar T) const
Absolute enthalpy [J/kg].
solidProperties(scalar rho, scalar Cp, scalar kappa, scalar hf, scalar emissivity)
Construct from components.
scalar rho() const
Density [kg/m^3].
scalar hf() const
Heat of formation [J/kg].
scalar emissivity() const
Emissivity [].
declareRunTimeSelectionTable(autoPtr, solidProperties,,(),())
virtual ~solidProperties()
Destructor.
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
scalar hs(const scalar T) const
Sensible enthalpy [J/kg].
A class for handling words, derived from string.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
word name(const bool)
Return a word representation of a bool.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Macros to ease declaration of run-time selection tables.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...