OGS
Adsorption::DensityDubinin Class Reference

Detailed Description

Definition at line 17 of file DensityDubinin.h.

#include <DensityDubinin.h>

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

Implements Adsorption::AdsorptionReaction.

Definition at line 79 of file DensityDubinin.cpp.

80{
81 double W = curvePolyfrac(DensityDubinin_c, A); // cm^3/g
82
83 if (W < 0.0)
84 {
85 W = 0.0; // TODO [CL] debug output
86 }
87
88 return W / 1.e3; // m^3/kg
89}
double curvePolyfrac(const double *coeffs, const double x)
Definition Adsorption.h:52

References Adsorption::curvePolyfrac().

◆ dCharacteristicCurve()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 91 of file DensityDubinin.cpp.

92{
93 return dCurvePolyfrac(DensityDubinin_c, A);
94}
double dCurvePolyfrac(const double *coeffs, const double x)
Definition Adsorption.h:61

References Adsorption::dCurvePolyfrac().

◆ getAdsorbateDensity()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 34 of file DensityDubinin.cpp.

35{
36 const double Tb = 373.1;
37
38 if (T_Ads < Tb)
39 {
40 return rhoWaterDean(T_Ads);
41 }
42 const double Tc = 647.3; // K
43 const double pc = 221.2e5; // Pa
44 // boiling point density
45 const double rhob = rhoWaterDean(Tb);
46 // state values
49 const double b = R * Tc / (8. * pc); // m^3/mol
50 const double rhom = M / b; // kg/m^3
51 const double rho = rhob - (rhob - rhom) / (Tc - Tb) * (T_Ads - Tb);
52 return rho;
53}
double rhoWaterDean(const double T_Ads)
Definition DensityCook.h:26
@ rho
density. For some models, rho substitutes p

References MaterialLib::PhysicalConstant::IdealGasConstant, Adsorption::rhoWaterDean(), and MaterialLib::PhysicalConstant::MolarMass::Water.

◆ getAlphaT()

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

Implements Adsorption::AdsorptionReaction.

Definition at line 56 of file DensityDubinin.cpp.

57{
58 const double Tb = 373.1;
59 if (T_Ads <= Tb)
60 {
61 return alphaTWaterDean(T_Ads);
62 }
63 // critical T and p
64 const double Tc = 647.3; // K
65 // const double rhoc = 322.; // kg/m^3
66 const double pc = 221.2e5; // Pa
67 // boiling point density
68 const double rhob = rhoWaterDean(Tb);
69 // state values
72 const double b = R * Tc / (8. * pc); // m^3/mol
73 const double rhom = M / (b); // kg/m^3
74 const double rho = rhob - (rhob - rhom) / (Tc - Tb) * (T_Ads - Tb);
75 return ((rhob - rhom) / (Tc - Tb) * 1. / rho);
76}
double alphaTWaterDean(const double T_Ads)
Definition DensityCook.h:41

References Adsorption::alphaTWaterDean(), MaterialLib::PhysicalConstant::IdealGasConstant, Adsorption::rhoWaterDean(), and MaterialLib::PhysicalConstant::MolarMass::Water.


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