FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

The thermophysical properties of a solid. More...

#include <solids/solid.H>


Detailed Description

The thermophysical properties of a solid.

Source files

Definition at line 60 of file solid.H.

Inheritance diagram for solid:

List of all members.

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)

Constructor & Destructor Documentation

solid ( scalar   rho,
scalar   cp,
scalar   K,
scalar   Hf,
scalar   emissivity  
)

Construct from components.

Definition at line 40 of file solid.C.

solid ( Istream &   is  )

Construct from Istream.

Definition at line 56 of file solid.C.

virtual ~solid (  ) [inline, virtual]

Definition at line 129 of file solid.H.


Member Function Documentation

TypeName ( "solid"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
solid   ,
()   ,
()    
)
declareRunTimeSelectionTable ( autoPtr   ,
solid   ,
Istream   ,
(Istream &is)   ,
(is)    
)
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 rho (  ) const [inline]

Density [kg/m3].

Definition at line 28 of file solidI.H.

Foam::scalar cp (  ) const [inline]

Specific heat capacity [J/(kg.K)].

Definition at line 34 of file solidI.H.

Foam::scalar K (  ) const [inline]

Thermal conductivity [W/(m.K)].

Definition at line 40 of file solidI.H.

Foam::scalar Hf (  ) const [inline]

Heat of formation [J/kg].

Definition at line 46 of file solidI.H.

Foam::scalar emissivity (  ) const [inline]

Emissivity [].

Definition at line 52 of file solidI.H.

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().


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &   os,
const solid &   s  
) [friend]

The documentation for this class was generated from the following files:
  • src/thermophysicalModels/solids/solid/solid.H
  • src/thermophysicalModels/solids/solid/newSolid.C
  • src/thermophysicalModels/solids/solid/solid.C
  • src/thermophysicalModels/solids/solid/solidI.H