Public Member Functions | Private Attributes | Friends
CH3OH Class Reference

methanol More...

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

Public Member Functions

 TypeName ("CH3OH")
 Runtime type information. More...
 
 CH3OH ()
 Construct null. More...
 
 CH3OH (const liquidProperties &l, const NSRDSfunc5 &density, const NSRDSfunc1 &vapourPressure, const NSRDSfunc6 &heatOfVapourisation, const NSRDSfunc0 &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)
 Construct from components. More...
 
 CH3OH (Istream &is)
 Construct from Istream. More...
 
 CH3OH (const dictionary &dict)
 Construct from dictionary. More...
 
 CH3OH (const CH3OH &liq)
 Construct copy. More...
 
virtual autoPtr< liquidPropertiesclone () const
 Construct and return clone. More...
 
scalar rho (scalar p, scalar T) const
 Liquid density [kg/m^3]. More...
 
scalar pv (scalar p, scalar T) const
 Vapour pressure [Pa]. More...
 
scalar hl (scalar p, scalar T) const
 Heat of vapourisation [J/kg]. More...
 
scalar Cp (scalar p, scalar T) const
 Liquid heat capacity [J/(kg K)]. More...
 
scalar h (scalar p, scalar T) const
 Liquid Enthalpy [J/(kg)]. More...
 
scalar Cpg (scalar p, scalar T) const
 Ideal gas heat capacity [J/(kg K)]. More...
 
scalar B (scalar p, scalar T) const
 Second Virial Coefficient [m^3/kg]. More...
 
scalar mu (scalar p, scalar T) const
 Liquid viscosity [Pa s]. More...
 
scalar mug (scalar p, scalar T) const
 Vapour viscosity [Pa s]. More...
 
scalar K (scalar p, scalar T) const
 Liquid thermal conductivity [W/(m K)]. More...
 
scalar Kg (scalar p, scalar T) const
 Vapour thermal conductivity [W/(m K)]. More...
 
scalar sigma (scalar p, scalar T) const
 Surface tension [N/m]. More...
 
scalar D (scalar p, scalar T) const
 Vapour diffussivity [m2/s]. More...
 
scalar D (scalar p, scalar T, scalar Wb) const
 Vapour diffussivity [m2/s] with specified binary pair. More...
 
void writeData (Ostream &os) const
 Write the function coefficients. More...
 
- Public Member Functions inherited from liquidProperties
 TypeName ("liquidProperties")
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties, Istream,(Istream &is),(is))
 
 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)
 Construct from components. More...
 
 liquidProperties (Istream &is)
 Construct from Istream. More...
 
 liquidProperties (const dictionary &dict)
 Construct from dictionary. More...
 
 liquidProperties (const liquidProperties &liq)
 Construct copy. More...
 
virtual ~liquidProperties ()
 Destructor. More...
 
scalar W () const
 Molecular weight [kg/kmol]. More...
 
scalar Tc () const
 Critical temperature [K]. More...
 
scalar Pc () const
 Critical pressure [Pa]. More...
 
scalar Vc () const
 Critical volume [m^3/kmol]. More...
 
scalar Zc () const
 Critical compressibilty factor. More...
 
scalar Tt () const
 Triple point temperature [K]. More...
 
scalar Pt () const
 Triple point pressure [Pa]. More...
 
scalar Tb () const
 Normal boiling temperature [K]. More...
 
scalar dipm () const
 Dipole moment []. More...
 
scalar omega () const
 Pitzer's ascentric factor []. More...
 
scalar delta () const
 Solubility parameter [(J/m^3)^(1/2)]. More...
 
virtual scalar pvInvert (scalar p) const
 Invert the vapour pressure relationship to retrieve the. More...
 

Private Attributes

NSRDSfunc5 rho_
 
NSRDSfunc1 pv_
 
NSRDSfunc6 hl_
 
NSRDSfunc0 Cp_
 
NSRDSfunc0 h_
 
NSRDSfunc7 Cpg_
 
NSRDSfunc4 B_
 
NSRDSfunc1 mu_
 
NSRDSfunc2 mug_
 
NSRDSfunc0 K_
 
NSRDSfunc2 Kg_
 
NSRDSfunc6 sigma_
 
APIdiffCoefFunc D_
 

Friends

Ostreamoperator<< (Ostream &os, const CH3OH &l)
 Ostream Operator. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from liquidProperties
static autoPtr< liquidPropertiesNew (Istream &is)
 Return a pointer to a new liquidProperties created from input. More...
 
static autoPtr< liquidPropertiesNew (const dictionary &dict)
 Return a pointer to a new liquidProperties created from dictionary. More...
 

Detailed Description

methanol

Source files

Definition at line 58 of file CH3OH.H.

Constructor & Destructor Documentation

◆ CH3OH() [1/5]

CH3OH ( )

Construct null.

Definition at line 41 of file CH3OH.C.

Referenced by CH3OH::clone().

Here is the caller graph for this function:

◆ CH3OH() [2/5]

CH3OH ( const liquidProperties l,
const NSRDSfunc5 density,
const NSRDSfunc1 vapourPressure,
const NSRDSfunc6 heatOfVapourisation,
const NSRDSfunc0 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 
)

Construct from components.

Definition at line 97 of file CH3OH.C.

◆ CH3OH() [3/5]

CH3OH ( Istream is)

Construct from Istream.

Definition at line 131 of file CH3OH.C.

◆ CH3OH() [4/5]

CH3OH ( const dictionary dict)

Construct from dictionary.

Definition at line 150 of file CH3OH.C.

◆ CH3OH() [5/5]

CH3OH ( const CH3OH liq)

Construct copy.

Definition at line 169 of file CH3OH.C.

Member Function Documentation

◆ TypeName()

TypeName ( "CH3OH"  )

Runtime type information.

◆ clone()

virtual autoPtr<liquidProperties> clone ( ) const
inlinevirtual

Construct and return clone.

Reimplemented from liquidProperties.

Definition at line 119 of file CH3OH.H.

References CH3OH::CH3OH().

Here is the call graph for this function:

◆ rho()

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

Liquid density [kg/m^3].

Reimplemented from liquidProperties.

Definition at line 26 of file CH3OHI.H.

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

Here is the call graph for this function:

◆ pv()

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

Vapour pressure [Pa].

Reimplemented from liquidProperties.

Definition at line 32 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ hl()

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

Heat of vapourisation [J/kg].

Reimplemented from liquidProperties.

Definition at line 38 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cp()

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

Liquid heat capacity [J/(kg K)].

Reimplemented from liquidProperties.

Definition at line 44 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ h()

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

Liquid Enthalpy [J/(kg)].

Reimplemented from liquidProperties.

Definition at line 50 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cpg()

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

Ideal gas heat capacity [J/(kg K)].

Reimplemented from liquidProperties.

Definition at line 56 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ B()

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

Second Virial Coefficient [m^3/kg].

Definition at line 62 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ mu()

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

Liquid viscosity [Pa s].

Reimplemented from liquidProperties.

Definition at line 68 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ mug()

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

Vapour viscosity [Pa s].

Reimplemented from liquidProperties.

Definition at line 74 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ K()

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

Liquid thermal conductivity [W/(m K)].

Reimplemented from liquidProperties.

Definition at line 80 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Kg()

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

Vapour thermal conductivity [W/(m K)].

Reimplemented from liquidProperties.

Definition at line 86 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ sigma()

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

Surface tension [N/m].

Reimplemented from liquidProperties.

Definition at line 92 of file CH3OHI.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

Vapour diffussivity [m2/s].

Reimplemented from liquidProperties.

Definition at line 98 of file CH3OHI.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

Vapour diffussivity [m2/s] with specified binary pair.

Reimplemented from liquidProperties.

Definition at line 104 of file CH3OHI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ writeData()

void writeData ( Ostream os) const
inlinevirtual

Friends And Related Function Documentation

◆ operator<<

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

Ostream Operator.

Definition at line 192 of file CH3OH.H.

Field Documentation

◆ rho_

NSRDSfunc5 rho_
private

Definition at line 64 of file CH3OH.H.

Referenced by CH3OH::rho(), and CH3OH::writeData().

◆ pv_

NSRDSfunc1 pv_
private

Definition at line 65 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ hl_

NSRDSfunc6 hl_
private

Definition at line 66 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ Cp_

NSRDSfunc0 Cp_
private

Definition at line 67 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ h_

NSRDSfunc0 h_
private

Definition at line 68 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ Cpg_

NSRDSfunc7 Cpg_
private

Definition at line 69 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ B_

NSRDSfunc4 B_
private

Definition at line 70 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ mu_

NSRDSfunc1 mu_
private

Definition at line 71 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ mug_

NSRDSfunc2 mug_
private

Definition at line 72 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ K_

NSRDSfunc0 K_
private

Definition at line 73 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ Kg_

NSRDSfunc2 Kg_
private

Definition at line 74 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ sigma_

NSRDSfunc6 sigma_
private

Definition at line 75 of file CH3OH.H.

Referenced by CH3OH::writeData().

◆ D_

APIdiffCoefFunc D_
private

Definition at line 76 of file CH3OH.H.

Referenced by CH3OH::writeData().


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