OGS
Adsorption::DensityHauer Class Reference

Detailed Description

Definition at line 18 of file DensityHauer.h.

#include <DensityHauer.h>

Inheritance diagram for Adsorption::DensityHauer:
[legend]
Collaboration diagram for Adsorption::DensityHauer:
[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::DensityHauer::characteristicCurve ( const double A) const
overridevirtual

Implements Adsorption::AdsorptionReaction.

Definition at line 46 of file DensityHauer.cpp.

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

References Adsorption::curvePolyfrac().

◆ dCharacteristicCurve()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 58 of file DensityHauer.cpp.

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

References Adsorption::dCurvePolyfrac().

◆ getAdsorbateDensity()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 30 of file DensityHauer.cpp.

31{
32 return rhoWaterHauer(T_Ads);
33}
double rhoWaterHauer(const double T_Ads)

References Adsorption::rhoWaterHauer().

◆ getAlphaT()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 36 of file DensityHauer.cpp.

37{
38 // data like in python script
39 const double T0 = 283.15;
40 const double alpha0 = 3.781e-4; // K; 1/K
41
42 return alpha0 / (1. - alpha0 * (T_Ads - T0)); // in 1/K
43}

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