OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

thermophysicalFunction Class Reference

Abstract base class for thermo-physical functions. More...

Inheritance diagram for thermophysicalFunction:

List of all members.


Public Member Functions

 TypeName ("thermophysicalFunction")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is))
 thermophysicalFunction ()
 Construct null.
virtual ~thermophysicalFunction ()
virtual scalar f (scalar p, scalar T) const =0
 Evaluate the function and return the result.
virtual void writeData (Ostream &os) const =0
 Write the function coefficients.

Static Public Member Functions

static autoPtr
< thermophysicalFunction > 
New (Istream &is)
 Return a pointer to a new thermophysicalFunction created from input.

Friends

Ostream & operator<< (Ostream &os, const thermophysicalFunction &f)

Detailed Description

Abstract base class for thermo-physical functions.

Definition at line 42 of file thermophysicalFunction.H.


Constructor & Destructor Documentation

thermophysicalFunction (  )  [inline]

Construct null.

Definition at line 66 of file thermophysicalFunction.H.

virtual ~thermophysicalFunction (  )  [inline, virtual]

Definition at line 75 of file thermophysicalFunction.H.


Member Function Documentation

TypeName ( "thermophysicalFunction"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
thermophysicalFunction  ,
Istream  ,
(Istream &is)  ,
(is)   
)

autoPtr< thermophysicalFunction > New ( Istream &  is  )  [static]

Return a pointer to a new thermophysicalFunction created from input.

Definition at line 35 of file thermophysicalFunction.C.

References Foam::abort(), Foam::defineRunTimeSelectionTable(), Foam::defineTypeNameAndDebug(), Foam::endl(), Foam::FatalError, FatalErrorIn, and Foam::Info.

Here is the call graph for this function:

virtual scalar f ( scalar  p,
scalar  T 
) const [pure virtual]

Evaluate the function and return the result.

Implemented in APIdiffCoefFunc, NSRDSfunc0, NSRDSfunc1, NSRDSfunc14, NSRDSfunc2, NSRDSfunc3, NSRDSfunc4, NSRDSfunc5, NSRDSfunc6, and NSRDSfunc7.

virtual void writeData ( Ostream &  os  )  const [pure virtual]

Write the function coefficients.

Implemented in APIdiffCoefFunc, NSRDSfunc0, NSRDSfunc1, NSRDSfunc14, NSRDSfunc2, NSRDSfunc3, NSRDSfunc4, NSRDSfunc5, NSRDSfunc6, and NSRDSfunc7.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  os,
const thermophysicalFunction &  f 
) [friend]

Definition at line 90 of file thermophysicalFunction.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd