#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 Value & MW (void) const override
 
const Value & Pc (void) const override
 
const Value & Tc (void) const override
 
const Value & Zc (void) const override
 
const Value Vc (void) const override
 
const Value & omega (void) const override
 
const Value & diffvol (void) const override
 
const Value & vb (void) const override
 
const Value & dh0 (void) const override
 
const Value & dg0 (void) const override
 
virtual const Value & MW (void) const =0
 
virtual const Value & Pc (void) const =0
 
virtual const Value & Tc (void) const =0
 
virtual const Value Vc (void) const =0
 
virtual const Value & Zc (void) const =0
 
virtual const Value & omega (void) const =0
 
virtual const Value & diffvol (void) const =0
 
virtual const Value & vb (void) const =0
 
virtual const Value & dh0 (void) const =0
 
virtual const Value & dg0 (void) const =0
 

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...
 

Additional Inherited Members

- Protected Member Functions inherited from ComponentInterface
virtual ~ComponentInterface ()=default
 

Detailed Description

Base class providing pure component parameters required in any case

#include <libpf/components/ComponentBase.h>

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

Constructor & Destructor Documentation

◆ ComponentBase() [1/2]

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() [2/2]

ComponentBase::ComponentBase ( const Value &  mw)
explicit

dummy constructor will set remaining parameters to dummy values

◆ ~ComponentBase()

virtual ComponentBase::~ComponentBase ( void  )
inlinevirtual

Member Function Documentation

◆ dg0()

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

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.

◆ dh0()

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

enthalpy of formation

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

Implements ComponentInterface.

◆ diffvol()

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

molar diffusivity parameter

Returns
molar diffusivity parameter

Implements ComponentInterface.

◆ MW()

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

Molecular Weight

Returns
molecular weight

Implements ComponentInterface.

◆ omega()

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

Acentric factor

Returns
acentric factor

Implements ComponentInterface.

◆ Pc()

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

Critical pressure

Returns
Critical pressure Pa

Implements ComponentInterface.

◆ Tc()

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

Critical temperature

Returns
Critical temperature K

Implements ComponentInterface.

◆ vb()

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

molar volume at boiling point

Returns
molar volume at boiling point m3/kmol

Implements ComponentInterface.

◆ Vc()

const Value ComponentBase::Vc ( void  ) const
overridevirtual

Critical volume

Returns
Critical volume m3/kmol

Implements ComponentInterface.

◆ Zc()

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

Critical compressibility factor

Returns
Critical compressibility factor

Implements ComponentInterface.

Member Data Documentation

◆ dg0_

Value ComponentBase::dg0_
protected

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

◆ dh0_

Value ComponentBase::dh0_
protected

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

◆ diffvol_

Value ComponentBase::diffvol_
protected

molar diffusivity parameter

◆ MW_

Value ComponentBase::MW_
protected

molecular weight

◆ omega_

Value ComponentBase::omega_
protected

acentric factor

◆ Pc_

Value ComponentBase::Pc_
protected

critical pressure, Pa

◆ rhoc_

Value ComponentBase::rhoc_
protected

molar density at the critical point, kmol/m3

◆ Tc_

Value ComponentBase::Tc_
protected

critical temperature, K

◆ vb_

Value ComponentBase::vb_
protected

molar volume at boiling point, m3/kmol

◆ zc_

Value ComponentBase::zc_
protected

critical compressibility factor


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