Base-class for thermophysical properties of solids, liquids and gases providing an interface compatible with the templated thermodynamics packages. More...
#include <thermophysicalProperties.H>

Public Member Functions | |
| TypeName ("thermophysicalProperties") | |
| declareRunTimeSelectionTable (autoPtr, thermophysicalProperties,,(),()) | |
| declareRunTimeSelectionTable (autoPtr, thermophysicalProperties, dictionary,(const dictionary &dict),(dict)) | |
| thermophysicalProperties (scalar W) | |
| Construct from molecular weight. | |
| thermophysicalProperties (const dictionary &dict) | |
| Construct from dictionary. | |
| virtual | ~thermophysicalProperties ()=default |
| Destructor. | |
| scalar | W () const |
| Molecular weight [kg/kmol]. | |
| scalar | limit (const scalar T) const |
| Limit temperature to be within the range. | |
| virtual scalar | rho (scalar p, scalar T) const =0 |
| Liquid density [kg/m^3]. | |
| virtual scalar | psi (scalar p, scalar T) const =0 |
| Liquid compressibility rho/p [s^2/m^2]. | |
| virtual scalar | CpMCv (scalar p, scalar T) const =0 |
| Return (Cp - Cv) [J/(kg K]. | |
| virtual scalar | Cp (const scalar p, const scalar T) const =0 |
| Heat capacity at constant pressure [J/(kg K)]. | |
| virtual scalar | Hs (const scalar p, const scalar T) const =0 |
| Sensible enthalpy [J/kg]. | |
| virtual scalar | Hc () const =0 |
| Chemical enthalpy [J/kg]. | |
| virtual scalar | Ha (const scalar p, const scalar T) const =0 |
| Absolute Enthalpy [J/kg]. | |
| virtual scalar | S (const scalar p, const scalar T) const =0 |
| virtual scalar | mu (scalar p, scalar T) const =0 |
| Liquid viscosity [Pa s]. | |
| virtual scalar | kappa (scalar p, scalar T) const =0 |
| Liquid thermal conductivity [W/(m K)]. | |
| virtual scalar | alphah (const scalar p, const scalar T) const =0 |
| Liquid thermal diffusivity of enthalpy [kg/ms]. | |
| void | readIfPresent (const dictionary &dict) |
| Read and set the properties present it the given dictionary. | |
| virtual void | writeData (Ostream &os) const =0 |
| Write the function coefficients. | |
Static Public Member Functions | |
| static autoPtr< thermophysicalProperties > | New (const word &name) |
| Return a pointer to a new thermophysicalProperties created from name. | |
| static autoPtr< thermophysicalProperties > | New (const dictionary &dict) |
| Return a pointer to a new thermophysicalProperties. | |
Friends | |
| Ostream & | operator<< (Ostream &os, const thermophysicalProperties &l) |
| Ostream Operator. | |
Base-class for thermophysical properties of solids, liquids and gases providing an interface compatible with the templated thermodynamics packages.
Definition at line 51 of file thermophysicalProperties.H.
| thermophysicalProperties | ( | scalar | W | ) |
Construct from molecular weight.
Definition at line 35 of file thermophysicalProperties.C.
References W().
Referenced by declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), liquidProperties::liquidProperties(), liquidProperties::liquidProperties(), and operator<<.


| thermophysicalProperties | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 41 of file thermophysicalProperties.C.
References dict.
|
virtualdefault |
| TypeName | ( | "thermophysicalProperties" | ) |
| declareRunTimeSelectionTable | ( | autoPtr | , |
| thermophysicalProperties | , | ||
| () | , | ||
| () | ) |
| declareRunTimeSelectionTable | ( | autoPtr | , |
| thermophysicalProperties | , | ||
| dictionary | , | ||
| (const dictionary &dict) | , | ||
| (dict) | ) |
References dict, Foam::name(), thermophysicalProperties(), and W().

|
static |
Return a pointer to a new thermophysicalProperties created from name.
Definition at line 50 of file thermophysicalProperties.C.
References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and Foam::name().

|
static |
Return a pointer to a new thermophysicalProperties.
created from dictionary
Definition at line 74 of file thermophysicalProperties.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, and FatalIOErrorInLookup.

|
inline |
Molecular weight [kg/kmol].
Definition at line 29 of file thermophysicalPropertiesI.H.
Referenced by liquidProperties::declareRunTimeSelectionTable(), declareRunTimeSelectionTable(), liquidProperties::liquidProperties(), Schroeder::TDNB(), and thermophysicalProperties().

|
inline |
Limit temperature to be within the range.
Definition at line 23 of file thermophysicalPropertiesI.H.
References Foam::T().

|
pure virtual |
Liquid density [kg/m^3].
Implemented in aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H10, C8H18, C9H20, CH3OH, CH4N2O, H2O, iC3H8O, IC8H18, IDEA, liquid, MB, N2, and nC3H8O.
Referenced by SprayParcel< ReactingParcel< ThermoParcel< KinematicParcel< particle > > > >::chi().


|
pure virtual |
Liquid compressibility rho/p [s^2/m^2].
Note: currently it is assumed the liquid is incompressible
Implemented in liquidProperties.

|
pure virtual |
Return (Cp - Cv) [J/(kg K].
Note: currently it is assumed the liquid is incompressible so CpMCv 0
Implemented in liquidProperties.

|
pure virtual |
Heat capacity at constant pressure [J/(kg K)].
Implemented in aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H10, C8H18, C9H20, CH3OH, CH4N2O, H2O, iC3H8O, IC8H18, IDEA, liquid, MB, N2, and nC3H8O.

|
pure virtual |
Sensible enthalpy [J/kg].
Implemented in liquidProperties.

|
pure virtual |
Chemical enthalpy [J/kg].
Implemented in liquidProperties.
|
pure virtual |
Absolute Enthalpy [J/kg].
Implemented in liquidProperties.

|
pure virtual |
|
pure virtual |
Liquid viscosity [Pa s].
Implemented in aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H10, C8H18, C9H20, CH3OH, CH4N2O, H2O, iC3H8O, IC8H18, IDEA, liquid, liquidProperties, MB, N2, and nC3H8O.

|
pure virtual |
Liquid thermal conductivity [W/(m K)].
Implemented in aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H10, C8H18, C9H20, CH3OH, CH4N2O, H2O, iC3H8O, IC8H18, IDEA, liquid, liquidProperties, MB, N2, and nC3H8O.

|
pure virtual |
Liquid thermal diffusivity of enthalpy [kg/ms].
Implemented in liquidProperties.
References dict, os(), p, and Foam::T().

| void readIfPresent | ( | const dictionary & | dict | ) |
Read and set the properties present it the given dictionary.
Definition at line 102 of file thermophysicalProperties.C.
References dict.
Referenced by liquidProperties::readIfPresent().

|
pure virtual |
Write the function coefficients.
Implemented in aC10H7CH3, Ar, bC10H7CH3, C10H22, C12H26, C13H28, C14H30, C16H34, C2H5OH, C2H6, C2H6O, C3H6O, C3H8, C4H10O, C6H14, C6H6, C7H16, C7H8, C8H10, C8H18, C9H20, CH3OH, CH4N2O, H2O, iC3H8O, IC8H18, IDEA, liquid, liquidProperties, MB, N2, and nC3H8O.
Definition at line 108 of file thermophysicalProperties.C.
References os().
Referenced by Foam::operator<<(), and liquidProperties::writeData().


|
friend |
Ostream Operator.
References os(), and thermophysicalProperties().