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

thermophysicalFunction Class Reference

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

#include <thermophysicalFunctions/thermophysicalFunction.H>


Detailed Description

Abstract base class for thermo-physical functions.

Definition at line 50 of file thermophysicalFunction.H.

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)

Constructor & Destructor Documentation

thermophysicalFunction (  ) [inline]

Construct null.

Definition at line 74 of file thermophysicalFunction.H.

virtual ~thermophysicalFunction (  ) [inline, virtual]

Definition at line 83 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 43 of file thermophysicalFunction.C.

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

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 98 of file thermophysicalFunction.H.


The documentation for this class was generated from the following files: