#include <ComponentBase.h>

Inheritance diagram for ComponentBase:

Public Member Functions

 ComponentBase (const Value &mw, const Value &Pc, const Value &Tc, const Value &rhoc, const Value &diffvol, const Value &vb, const Value &dh0, const Value &dg0, const Value &zc, const Value &omega)
 preferred constructor More...
 
 ComponentBase (const Value &mw)
 dummy constructor will set remaining parameters to dummy values More...
 
virtual ~ComponentBase (void)
 
const ValueMW (void) const
 
const ValuePc (void) const
 
const ValueTc (void) const
 
const ValueZc (void) const
 
const Value Vc (void) const
 
const Valueomega (void) const
 
const Valuediffvol (void) const
 
const Valuevb (void) const
 
const Valuedh0 (void) const
 
const Valuedg0 (void) const
 

Protected Attributes

Value MW_
 molecular weight More...
 
Value Pc_
 critical pressure, Pa More...
 
Value Tc_
 critical temperature, K More...
 
Value rhoc_
 molar density at the critical point, kmol/m3 More...
 
Value diffvol_
 molar diffusivity parameter More...
 
Value vb_
 molar volume at boiling point, m3/kmol More...
 
Value zc_
 critical compressibility factor More...
 
Value dh0_
 enthalpy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol More...
 
Value dg0_
 Gibbs free energy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol. More...
 
Value omega_
 acentric factor More...
 

Detailed Description

Base class providing pure component parameters required in any case

#include <libpf/ComponentBase.h>

Remarks
This class is not copyable
Warning
Thread safe:
Extendable:
Platform dependencies:

Constructor & Destructor Documentation

ComponentBase::ComponentBase ( const Value mw,
const Value Pc,
const Value Tc,
const Value rhoc,
const Value diffvol,
const Value vb,
const Value dh0,
const Value dg0,
const Value zc,
const Value omega 
)

preferred constructor

ComponentBase::ComponentBase ( const Value mw)
explicit

dummy constructor will set remaining parameters to dummy values

virtual ComponentBase::~ComponentBase ( void  )
inlinevirtual

Member Function Documentation

const Value& ComponentBase::dg0 ( void  ) const
virtual

Gibbs free energy of formation

Returns
Gibbs free energy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol

Implements ComponentInterface.

const Value& ComponentBase::dh0 ( void  ) const
virtual

enthalpy of formation

Returns
enthalpy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol

Implements ComponentInterface.

const Value& ComponentBase::diffvol ( void  ) const
virtual

molar diffusivity parameter

Returns
molar diffusivity parameter

Implements ComponentInterface.

const Value& ComponentBase::MW ( void  ) const
virtual

Molecular Weight

Returns
molecular weight

Implements ComponentInterface.

const Value& ComponentBase::omega ( void  ) const
virtual

Acentric factor

Returns
acentric factor

Implements ComponentInterface.

const Value& ComponentBase::Pc ( void  ) const
virtual

Critical pressure

Returns
Critical pressure Pa

Implements ComponentInterface.

const Value& ComponentBase::Tc ( void  ) const
virtual

Critical temperature

Returns
Critical temperature K

Implements ComponentInterface.

const Value& ComponentBase::vb ( void  ) const
virtual

molar volume at boiling point

Returns
molar volume at boiling point m3/kmol

Implements ComponentInterface.

const Value ComponentBase::Vc ( void  ) const
virtual

Critical volume

Returns
Critical volume m3/kmol

Implements ComponentInterface.

const Value& ComponentBase::Zc ( void  ) const
virtual

Critical compressibility factor

Returns
Critical compressibility factor

Implements ComponentInterface.

Member Data Documentation

Value ComponentBase::dg0_
protected

Gibbs free energy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol.

Value ComponentBase::dh0_
protected

enthalpy of formation in the isIdeal gas phase at 1 atm 298.15 K, J/kmol

Value ComponentBase::diffvol_
protected

molar diffusivity parameter

Value ComponentBase::MW_
protected

molecular weight

Value ComponentBase::omega_
protected

acentric factor

Value ComponentBase::Pc_
protected

critical pressure, Pa

Value ComponentBase::rhoc_
protected

molar density at the critical point, kmol/m3

Value ComponentBase::Tc_
protected

critical temperature, K

Value ComponentBase::vb_
protected

molar volume at boiling point, m3/kmol

Value ComponentBase::zc_
protected

critical compressibility factor


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