OGS
Adsorption::DensityMette Class Reference

Detailed Description

Definition at line 17 of file DensityMette.h.

#include <DensityMette.h>

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

Implements Adsorption::AdsorptionReaction.

Definition at line 48 of file DensityMette.cpp.

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

References Adsorption::curvePolyfrac().

◆ dCharacteristicCurve()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 60 of file DensityMette.cpp.

61{
62 return dCurvePolyfrac(DensityMette_c, A);
63}
double dCurvePolyfrac(const double *coeffs, const double x)
Definition Adsorption.h:61

References Adsorption::dCurvePolyfrac().

◆ getAdsorbateDensity()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 31 of file DensityMette.cpp.

32{
33 const double T0 = 293.15;
34 const double rho0 = rhoWaterDean(T0);
35 const double alpha20 = alphaTWaterDean(T0);
36 return rho0 / (1. + alpha20 * (T_Ads - T0));
37}
double rhoWaterDean(const double T_Ads)
Definition DensityCook.h:26
double alphaTWaterDean(const double T_Ads)
Definition DensityCook.h:41

References Adsorption::alphaTWaterDean(), and Adsorption::rhoWaterDean().

◆ getAlphaT()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 40 of file DensityMette.cpp.

41{
42 const double T0 = 293.15;
43 const double alpha20 = alphaTWaterDean(T0);
44 return alpha20 / (1. + alpha20 * (T_Ads - T0));
45}

References Adsorption::alphaTWaterDean().


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