OGS
DensityHauer.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
Adsorption.h
"
13
#include "
DensityCook.h
"
14
15
namespace
Adsorption
16
{
17
18
class
DensityHauer
:
public
AdsorptionReaction
19
{
20
public
:
21
double
getAdsorbateDensity
(
const
double
T_Ads)
const override
;
22
double
getAlphaT
(
const
double
T_Ads)
const override
;
23
double
characteristicCurve
(
const
double
A)
const override
;
24
double
dCharacteristicCurve
(
const
double
A)
const override
;
25
};
26
27
inline
double
rhoWaterHauer
(
const
double
T_Ads)
28
{
29
// data like in python script
30
const
double
T0 = 283.15, rho0 =
rhoWaterDean
(T0), alpha0 = 3.781e-4;
// K; kg/m^3; 1/K
31
32
return
rho0 * (1. - alpha0 * (T_Ads-T0));
// in kg/m^3
33
}
34
35
}
// namespace Adsorption
Adsorption.h
DensityCook.h
Adsorption::AdsorptionReaction
Definition
Adsorption.h:21
Adsorption::DensityHauer
Definition
DensityHauer.h:19
Adsorption::DensityHauer::characteristicCurve
double characteristicCurve(const double A) const override
Definition
DensityHauer.cpp:46
Adsorption::DensityHauer::getAlphaT
double getAlphaT(const double T_Ads) const override
Definition
DensityHauer.cpp:36
Adsorption::DensityHauer::getAdsorbateDensity
double getAdsorbateDensity(const double T_Ads) const override
Definition
DensityHauer.cpp:30
Adsorption::DensityHauer::dCharacteristicCurve
double dCharacteristicCurve(const double A) const override
Definition
DensityHauer.cpp:58
Adsorption
Definition
Adsorption.cpp:38
Adsorption::rhoWaterHauer
double rhoWaterHauer(const double T_Ads)
Definition
DensityHauer.h:27
Adsorption::rhoWaterDean
double rhoWaterDean(const double T_Ads)
Definition
DensityCook.h:26
MaterialLib
Adsorption
DensityHauer.h
Generated by
1.12.0