Public Member Functions | Friends | List of all members
C3H8 Class Reference

propane More...

Inheritance diagram for C3H8:
Inheritance graph
[legend]
Collaboration diagram for C3H8:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("C3H8")
 
 C3H8 ()
 
 C3H8 (const liquidProperties &l, const NSRDSfunc5 &density, const NSRDSfunc1 &vapourPressure, const NSRDSfunc6 &heatOfVapourisation, const NSRDSfunc14 &heatCapacity, const NSRDSfunc0 &enthalpy, const NSRDSfunc7 &idealGasHeatCapacity, const NSRDSfunc4 &secondVirialCoeff, const NSRDSfunc1 &dynamicViscosity, const NSRDSfunc2 &vapourDynamicViscosity, const NSRDSfunc0 &thermalConductivity, const NSRDSfunc2 &vapourThermalConductivity, const NSRDSfunc6 &surfaceTension, const APIdiffCoefFunc &vapourDiffussivity)
 
 C3H8 (const dictionary &dict)
 
virtual autoPtr< liquidPropertiesclone () const
 
scalar rho (scalar p, scalar T) const
 
scalar pv (scalar p, scalar T) const
 
scalar hl (scalar p, scalar T) const
 
scalar Cp (scalar p, scalar T) const
 
scalar h (scalar p, scalar T) const
 
scalar Cpg (scalar p, scalar T) const
 
scalar B (scalar p, scalar T) const
 
scalar mu (scalar p, scalar T) const
 
scalar mug (scalar p, scalar T) const
 
scalar kappa (scalar p, scalar T) const
 
scalar kappag (scalar p, scalar T) const
 
scalar sigma (scalar p, scalar T) const
 
scalar D (scalar p, scalar T) const
 
scalar D (scalar p, scalar T, scalar Wb) const
 
void writeData (Ostream &os) const
 
- Public Member Functions inherited from liquidProperties
 TypeName ("liquid")
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties, dictionary,(const dictionary &dict),(dict))
 
 liquidProperties (scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta)
 
 liquidProperties (const dictionary &dict)
 
virtual ~liquidProperties ()=default
 
scalar Y () const
 
scalar Tc () const
 
scalar Pc () const
 
scalar Vc () const
 
scalar Zc () const
 
scalar Tt () const
 
scalar Pt () const
 
scalar Tb () const
 
scalar dipm () const
 
scalar omega () const
 
scalar delta () const
 
scalar limit (const scalar T) const
 
scalar psi (scalar p, scalar T) const
 
scalar CpMCv (scalar p, scalar T) const
 
scalar Ha (const scalar p, const scalar T) const
 
scalar Hs (const scalar p, const scalar T) const
 
scalar Hc () const
 
scalar S (const scalar p, const scalar T) const
 
scalar alphah (const scalar p, const scalar T) const
 
virtual scalar pvInvert (scalar p) const
 
void readIfPresent (const dictionary &dict)
 
template<class Func >
void readIfPresent (Func &f, const word &name, const dictionary &dict)
 
template<class Liquid >
void readIfPresent (Liquid &l, const dictionary &dict)
 
template<class Liquid >
void writeData (const Liquid &l, Ostream &os) const
 
- Public Member Functions inherited from thermophysicalProperties
 TypeName ("thermophysicalProperties")
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalProperties, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalProperties (scalar W)
 
 thermophysicalProperties (const dictionary &dict)
 
virtual ~thermophysicalProperties ()=default
 
scalar W () const
 
scalar limit (const scalar T) const
 
void readIfPresent (const dictionary &dict)
 

Friends

class liquidProperties
 
Ostreamoperator<< (Ostream &os, const C3H8 &l)
 

Additional Inherited Members

- Static Public Member Functions inherited from liquidProperties
static autoPtr< liquidPropertiesNew (const word &name)
 
static autoPtr< liquidPropertiesNew (const dictionary &dict)
 
- Static Public Member Functions inherited from thermophysicalProperties
static autoPtr< thermophysicalPropertiesNew (const word &name)
 
static autoPtr< thermophysicalPropertiesNew (const dictionary &dict)
 
- Static Public Attributes inherited from liquidProperties
static const bool incompressible = true
 
static const bool isochoric = false
 

Detailed Description

propane

Source files

Definition at line 56 of file C3H8.H.

Constructor & Destructor Documentation

◆ C3H8() [1/3]

C3H8 ( )

Definition at line 35 of file C3H8.C.

◆ C3H8() [2/3]

C3H8 ( const liquidProperties l,
const NSRDSfunc5 density,
const NSRDSfunc1 vapourPressure,
const NSRDSfunc6 heatOfVapourisation,
const NSRDSfunc14 heatCapacity,
const NSRDSfunc0 enthalpy,
const NSRDSfunc7 idealGasHeatCapacity,
const NSRDSfunc4 secondVirialCoeff,
const NSRDSfunc1 dynamicViscosity,
const NSRDSfunc2 vapourDynamicViscosity,
const NSRDSfunc0 thermalConductivity,
const NSRDSfunc2 vapourThermalConductivity,
const NSRDSfunc6 surfaceTension,
const APIdiffCoefFunc vapourDiffussivity 
)

Definition at line 81 of file C3H8.C.

◆ C3H8() [3/3]

C3H8 ( const dictionary dict)

Definition at line 115 of file C3H8.C.

References dict, and liquidProperties::readIfPresent().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "C3H8"  )

◆ clone()

virtual autoPtr<liquidProperties> clone ( ) const
inlinevirtual

Implements liquidProperties.

Definition at line 113 of file C3H8.H.

◆ rho()

Foam::scalar rho ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements thermophysicalProperties.

Definition at line 21 of file C3H8I.H.

References NSRDSfunc5::f(), p, and Foam::T().

Here is the call graph for this function:

◆ pv()

Foam::scalar pv ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 27 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ hl()

Foam::scalar hl ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 33 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cp()

Foam::scalar Cp ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements thermophysicalProperties.

Definition at line 39 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ h()

Foam::scalar h ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 45 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cpg()

Foam::scalar Cpg ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 51 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ B()

Foam::scalar B ( scalar  p,
scalar  T 
) const
inline

Definition at line 57 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ mu()

Foam::scalar mu ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 63 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ mug()

Foam::scalar mug ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 69 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa()

Foam::scalar kappa ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 75 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappag()

Foam::scalar kappag ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 81 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ sigma()

Foam::scalar sigma ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 87 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ D() [1/2]

Foam::scalar D ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 93 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ D() [2/2]

Foam::scalar D ( scalar  p,
scalar  T,
scalar  Wb 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 99 of file C3H8I.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ writeData()

void writeData ( Ostream os) const
virtual

Implements liquidProperties.

Definition at line 125 of file C3H8.C.

References os(), and liquidProperties::writeData().

Referenced by Foam::operator<<().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ liquidProperties

friend class liquidProperties
friend

Definition at line 79 of file C3H8.H.

◆ operator<<

Ostream& operator<< ( Ostream os,
const C3H8 l 
)
friend

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