35 #ifndef solidProperties_H 36 #define solidProperties_H 48 class solidProperties;
53 const solidProperties&
165 inline scalar
rho()
const;
168 inline scalar
Cp()
const;
171 inline scalar
K()
const;
174 inline scalar
Hf()
const;
177 inline scalar
Hs(
const scalar
T)
const;
186 virtual void writeData(Ostream& os)
const;
scalar Hf() const
Heat of formation [J/kg].
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~solidProperties()
Destructor.
scalar emissivity() const
Emissivity [].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static autoPtr< solidProperties > New(Istream &is)
Return a pointer to a new solidProperties created from input.
CGAL::Exact_predicates_exact_constructions_kernel K
TypeName("solidProperties")
Runtime type information.
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))
solidProperties(scalar rho, scalar Cp, scalar K, scalar Hf, scalar emissivity)
Construct from components.
virtual void writeData(Ostream &os) const
Write the solidProperties properties.
friend Ostream & operator<<(Ostream &os, const solidProperties &s)
scalar Hs(const scalar T) const
Sensible enthalpy - reference to Tstd [J/kg].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual autoPtr< solidProperties > clone() const
Construct and return clone.
scalar Cp() const
Specific heat capacity [J/(kg.K)].
declareRunTimeSelectionTable(autoPtr, solidProperties,,(),())
The thermophysical properties of a solid.
scalar K() const
Thermal conductivity [W/(m.K)].
scalar rho() const
Density [kg/m3].
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.