OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

MB Class Reference

Liquid nC3H7COOCH3 or (MB) methyl butyrate (used for biodiesel surrogate). More...

Inheritance diagram for MB:
Collaboration diagram for MB:

List of all members.


Public Member Functions

 TypeName ("MB")
 Runtime type information.
 MB ()
 Construct null.
 MB (const liquid &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.
 MB (Istream &is)
 Construct from Istream.
scalar rho (scalar p, scalar T) const
 Liquid density [kg/m^3].
scalar pv (scalar p, scalar T) const
 Vapour pressure [Pa].
scalar hl (scalar p, scalar T) const
 Heat of vapourisation [J/kg].
scalar cp (scalar p, scalar T) const
 Liquid heat capacity [J/(kg K)].
scalar h (scalar p, scalar T) const
 Liquid Enthalpy [J/(kg)].
scalar cpg (scalar p, scalar T) const
 Ideal gas heat capacity [J/(kg K)].
scalar B (scalar p, scalar T) const
 Second Virial Coefficient [m^3/kg].
scalar mu (scalar p, scalar T) const
 Liquid viscosity [Pa s].
scalar mug (scalar p, scalar T) const
 Vapour viscosity [Pa s].
scalar K (scalar p, scalar T) const
 Liquid thermal conductivity [W/(m K)].
scalar Kg (scalar p, scalar T) const
 Vapour thermal conductivity [W/(m K)].
scalar sigma (scalar p, scalar T) const
 Surface tension [N/m].
scalar D (scalar p, scalar T) const
 Vapour diffussivity [m2/s].
void writeData (Ostream &os) const
 Write the function coefficients.

Friends

Ostream & operator<< (Ostream &os, const MB &l)
 Ostream Operator.

Detailed Description

Liquid nC3H7COOCH3 or (MB) methyl butyrate (used for biodiesel surrogate).

Source files

Definition at line 54 of file MB.H.


Constructor & Destructor Documentation

MB (  ) 

Construct null.

Definition at line 32 of file MB.C.

References Foam::addToRunTimeSelectionTable(), and Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

MB ( const liquid &  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 72 of file MB.C.

MB ( Istream &  is  ) 

Construct from Istream.

Definition at line 106 of file MB.C.


Member Function Documentation

TypeName ( "MB"   ) 

Runtime type information.

Foam::scalar rho ( scalar  p,
scalar  T 
) const [inline, virtual]

Liquid density [kg/m^3].

Implements liquid.

Definition at line 18 of file MBI.H.

Foam::scalar pv ( scalar  p,
scalar  T 
) const [inline, virtual]

Vapour pressure [Pa].

Implements liquid.

Definition at line 24 of file MBI.H.

References NSRDSfunc5::f().

Here is the call graph for this function:

Foam::scalar hl ( scalar  p,
scalar  T 
) const [inline, virtual]

Heat of vapourisation [J/kg].

Implements liquid.

Definition at line 30 of file MBI.H.

Foam::scalar cp ( scalar  p,
scalar  T 
) const [inline, virtual]

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

Implements liquid.

Definition at line 36 of file MBI.H.

Foam::scalar h ( scalar  p,
scalar  T 
) const [inline, virtual]

Liquid Enthalpy [J/(kg)].

Implements liquid.

Definition at line 42 of file MBI.H.

Foam::scalar cpg ( scalar  p,
scalar  T 
) const [inline, virtual]

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

Implements liquid.

Definition at line 48 of file MBI.H.

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

Second Virial Coefficient [m^3/kg].

Definition at line 54 of file MBI.H.

Foam::scalar mu ( scalar  p,
scalar  T 
) const [inline, virtual]

Liquid viscosity [Pa s].

Implements liquid.

Definition at line 60 of file MBI.H.

Foam::scalar mug ( scalar  p,
scalar  T 
) const [inline, virtual]

Vapour viscosity [Pa s].

Implements liquid.

Definition at line 66 of file MBI.H.

Foam::scalar K ( scalar  p,
scalar  T 
) const [inline, virtual]

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

Implements liquid.

Definition at line 72 of file MBI.H.

Foam::scalar Kg ( scalar  p,
scalar  T 
) const [inline, virtual]

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

Implements liquid.

Definition at line 78 of file MBI.H.

Foam::scalar sigma ( scalar  p,
scalar  T 
) const [inline, virtual]

Surface tension [N/m].

Implements liquid.

Definition at line 84 of file MBI.H.

Foam::scalar D ( scalar  p,
scalar  T 
) const [inline, virtual]

Vapour diffussivity [m2/s].

Implements liquid.

Definition at line 90 of file MBI.H.

void writeData ( Ostream &  os  )  const [inline, virtual]

Write the function coefficients.

Reimplemented from liquid.

Definition at line 154 of file MB.H.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  os,
const MB &  l 
) [friend]

Ostream Operator.

Definition at line 172 of file MB.H.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/liquids/MB/MB.H
  • src/thermophysicalModels/liquids/MB/MB.C
  • src/thermophysicalModels/liquids/MB/MBI.H
Copyright © 2000-2009 OpenCFD Ltd