BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::gasmodels::AlphaFunctionFactory Class Reference

Creates the alpha function of a cubic equation of state for one species. More...

#include <cl_GM_EoS_AlphaFunctionFactory.hpp>

Public Member Functions

 AlphaFunctionFactory ()=default
 ~AlphaFunctionFactory ()=default
AlphaFunctioncreate_empty ()
AlphaFunctioncreate_srk (const gastables::GasData *aData)
AlphaFunctioncreate_pr78 (const gastables::GasData *aData)
AlphaFunctioncreate_ccr_pr (const gastables::GasData *aData)
AlphaFunctioncreate_ccr_mc_srk (const gastables::GasData *aData)
AlphaFunctioncreate_pm_srk (const gastables::GasData *aData)
AlphaFunctioncreate_pm_pr (const gastables::GasData *aData)

Detailed Description

Creates the alpha function of a cubic equation of state for one species.

The alpha function carries the whole temperature dependence of the attraction term, so which one is picked matters more than the choice between SRK and PR. The selection is by data availability, best first: a fitted Mahmoodi and Sedigh form when cubicalpha.inp has a record for the CAS number, otherwise the Coquelet, Chapoy and Richon form - from a table of 22 hard coded species where one exists, and from the generalized acentric factor correlation where it does not.

The plain Soave and Peng Robinson 1978 factories are kept for benchmarking against the classical forms and are not wired into EoS_Cubic.

Every function returns a heap object that the caller owns.

Constructor & Destructor Documentation

◆ AlphaFunctionFactory()

belfem::gasmodels::AlphaFunctionFactory::AlphaFunctionFactory ( )
default

◆ ~AlphaFunctionFactory()

belfem::gasmodels::AlphaFunctionFactory::~AlphaFunctionFactory ( )
default

Member Function Documentation

◆ create_ccr_mc_srk()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_ccr_mc_srk ( const gastables::GasData * aData)

◆ create_ccr_pr()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_ccr_pr ( const gastables::GasData * aData)

◆ create_empty()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_empty ( )

◆ create_pm_pr()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_pm_pr ( const gastables::GasData * aData)

◆ create_pm_srk()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_pm_srk ( const gastables::GasData * aData)

◆ create_pr78()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_pr78 ( const gastables::GasData * aData)

◆ create_srk()

AlphaFunction * belfem::gasmodels::AlphaFunctionFactory::create_srk ( const gastables::GasData * aData)

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