OGS
Adsorption::Density100MPa Class Reference

Detailed Description

Definition at line 17 of file Density100MPa.h.

#include <Density100MPa.h>

Inheritance diagram for Adsorption::Density100MPa:
[legend]
Collaboration diagram for Adsorption::Density100MPa:
[legend]

Public Member Functions

double getAdsorbateDensity (const double T_Ads) const override
 
double getAlphaT (const double T_Ads) const override
 
double characteristicCurve (const double A) const override
 
double dCharacteristicCurve (const double A) const override
 
- Public Member Functions inherited from Adsorption::AdsorptionReaction
double getEquilibriumLoading (const double p_Ads, const double T_Ads, const double M_Ads) const override
 
double getEnthalpy (const double p_Ads, const double T_Ads, const double M_Ads) const override
 
double getReactionRate (const double p_Ads, const double T_Ads, const double M_Ads, const double loading) const override
 
- Public Member Functions inherited from Adsorption::Reaction
virtual ~Reaction ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from Adsorption::AdsorptionReaction
static double getEvaporationEnthalpy (const double T_Ads)
 
static double getEquilibriumVapourPressure (const double T_Ads)
 
static double getMolarFraction (double xm, double M_this, double M_other)
 
static double dMolarFraction (double xm, double M_this, double M_other)
 
static double getLoading (const double rho_curr, const double rho_dry)
 
- Static Public Member Functions inherited from Adsorption::Reaction
static std::unique_ptr< ReactionnewInstance (BaseLib::ConfigTree const &conf)
 

Member Function Documentation

◆ characteristicCurve()

double Adsorption::Density100MPa::characteristicCurve ( const double A) const
overridevirtual

Implements Adsorption::AdsorptionReaction.

Definition at line 45 of file Density100MPa.cpp.

46{
47 double W = curvePolyfrac(Density100MPa_c, A); // cm^3/g
48
49 if (W < 0.0)
50 {
51 W = 0.0; // TODO [CL] debug output
52 }
53
54 return W / 1.e3; // m^3/kg
55}
double curvePolyfrac(const double *coeffs, const double x)
Definition Adsorption.h:52

References Adsorption::curvePolyfrac().

◆ dCharacteristicCurve()

double Adsorption::Density100MPa::dCharacteristicCurve ( const double A) const
overridevirtual

Implements Adsorption::AdsorptionReaction.

Definition at line 57 of file Density100MPa.cpp.

58{
59 return dCurvePolyfrac(Density100MPa_c, A);
60}
double dCurvePolyfrac(const double *coeffs, const double x)
Definition Adsorption.h:61

References Adsorption::dCurvePolyfrac().

◆ getAdsorbateDensity()

double Adsorption::Density100MPa::getAdsorbateDensity ( const double T_Ads) const
overridevirtual

Implements Adsorption::AdsorptionReaction.

Definition at line 30 of file Density100MPa.cpp.

31{
32 return -0.0013 * T_Ads * T_Ads + 0.3529 * T_Ads + 1049.2;
33}

◆ getAlphaT()

double Adsorption::Density100MPa::getAlphaT ( const double T_Ads) const
overridevirtual

Implements Adsorption::AdsorptionReaction.

Definition at line 36 of file Density100MPa.cpp.

37{
38 const double rho = -0.0013 * T_Ads * T_Ads + 0.3529 * T_Ads + 1049.2;
39 const double drhodT = -0.0026 * T_Ads + 0.3529;
40
41 return -drhodT / rho;
42}
@ rho
density. For some models, rho substitutes p

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