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
kappa()
const;
153 inline scalar
Hf()
const;
156 inline scalar
Hs(
const scalar
T)
const;
solidProperties(scalar rho, scalar Cp, scalar kappa, scalar Hf, scalar emissivity)
Construct from components.
scalar Cp() const
Specific heat capacity [J/kg/K].
scalar rho() const
Density [kg/m^3].
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~solidProperties()
Destructor.
virtual void write(Ostream &os) const
Write the solidProperties properties.
scalar emissivity() const
Emissivity [].
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.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class for handling words, derived from string.
scalar Hf() const
Heat of formation [J/kg].
void readIfPresent(const dictionary &dict)
Read and set the properties present it the given dictionary.
friend Ostream & operator<<(Ostream &os, const solidProperties &s)
Ostream Operator.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual autoPtr< solidProperties > clone() const
Construct and return clone.
scalar kappa() const
Thermal conductivity [W/m/K].
scalar Hs(const scalar T) const
Sensible enthalpy - reference to Tstd [J/kg].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
TypeName("solid")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, solidProperties,,(),())
The thermophysical properties of a solid.
Ostream & operator<<(Ostream &, const ensightPart &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
static autoPtr< solidProperties > New(const word &name)
Return a pointer to a new solidProperties created from name.