Public Member Functions | |
TypeName ("nonUniformTable") | |
Runtime type information. More... | |
nonUniformTable (const word &name, const dictionary &dict) | |
Construct from entry name and dictionary. More... | |
nonUniformTable (const dictionary &dict) | |
Construct from dictionary, using "values" for the lookup. More... | |
const List< Tuple2< scalar, scalar > > & | values () const |
Return the non-uniform table of values. More... | |
scalar | f (scalar p, scalar T) const |
Evaluate the function and return the result. More... | |
scalar | dfdT (scalar p, scalar T) const |
Evaluate the derivative of the function and return the result. More... | |
void | writeData (Ostream &os) const |
Write the function coefficients. More... | |
Public Member Functions inherited from thermophysicalFunction | |
TypeName ("thermophysicalFunction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, Istream,(Istream &is),(is)) | |
declareRunTimeSelectionTable (autoPtr, thermophysicalFunction, dictionary,(const dictionary &dict),(dict)) | |
thermophysicalFunction () | |
Construct null. More... | |
virtual | ~thermophysicalFunction ()=default |
Destructor. More... | |
Protected Member Functions | |
label | index (scalar p, scalar T) const |
Additional Inherited Members | |
Static Public Member Functions inherited from thermophysicalFunction | |
static autoPtr< thermophysicalFunction > | New (Istream &is) |
Return pointer to new thermophysicalFunction created from input. More... | |
static autoPtr< thermophysicalFunction > | New (const dictionary &dict) |
Return pointer to new thermophysicalFunction created from dict. More... | |
Definition at line 76 of file nonUniformTableThermophysicalFunction.H.
nonUniformTable | ( | const word & | name, |
const dictionary & | dict | ||
) |
Construct from entry name and dictionary.
Definition at line 50 of file nonUniformTableThermophysicalFunction.C.
References dict, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FatalIOError, FatalIOErrorInFunction, forAll, Foam::min(), Foam::nl, and T.
|
explicit |
Construct from dictionary, using "values" for the lookup.
Definition at line 113 of file nonUniformTableThermophysicalFunction.C.
|
inlineprotected |
Return the lower index of the interval in the table corresponding to the given temperature.
Checks the temperature range
Definition at line 34 of file nonUniformTableThermophysicalFunctionI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and T.
TypeName | ( | "nonUniformTable" | ) |
Runtime type information.
Return the non-uniform table of values.
Definition at line 124 of file nonUniformTableThermophysicalFunction.H.
|
virtual |
Evaluate the function and return the result.
Implements thermophysicalFunction.
Definition at line 124 of file nonUniformTableThermophysicalFunction.C.
References lambda(), p, and T.
Foam::scalar dfdT | ( | scalar | p, |
scalar | T | ||
) | const |
Evaluate the derivative of the function and return the result.
Definition at line 140 of file nonUniformTableThermophysicalFunction.C.
|
virtual |
Write the function coefficients.
Implements thermophysicalFunction.
Definition at line 153 of file nonUniformTableThermophysicalFunction.C.
References Ostream::writeEntry().