OGS
|
Definition at line 27 of file ReactionCaOH2.h.
#include <ReactionCaOH2.h>
Public Member Functions | |
ReactionCaOH2 (BaseLib::ConfigTree const &conf) | |
double | getEnthalpy (const double, const double, const double) const override |
double | getReactionRate (const double, const double, const double, const double) const override |
const BaseLib::ConfigTree & | getOdeSolverConfig () const |
double | getReactionRate (double const solid_density) |
void | updateParam (double T_solid, double p_gas, double x_react, double rho_s_initial) |
Public Member Functions inherited from Adsorption::Reaction | |
virtual double | getEquilibriumLoading (const double, const double, const double) const |
virtual | ~Reaction ()=default |
Static Public Attributes | |
static MATERIALLIB_EXPORT constexpr double | rho_low |
lower density limit | |
static MATERIALLIB_EXPORT constexpr double | rho_up |
upper density limit | |
Private Member Functions | |
void | calculateQR () |
void | setChemicalEquilibrium () |
double | CaHydration () |
Private Attributes | |
double | _rho_s = nan |
solid phase density | |
double | _p_gas = nan |
gas phase pressure in unit bar | |
double | _p_r_g = nan |
pressure of H2O on gas phase | |
double | _p_eq = 1.0 |
equilibrium pressure in bar | |
double | _T_eq = nan |
equilibrium temperature | |
double | _T_s = nan |
solid phase temperature | |
double | _qR = nan |
rate of solid density change | |
double | _x_react = nan |
mass fraction of water in gas phase | |
double | _X_D |
mass fraction of dehydration (CaO) in the solid phase | |
double | _X_H = nan |
mass fraction of hydration in the solid phase | |
const BaseLib::ConfigTree | _ode_solver_config |
Static Private Attributes | |
static constexpr double | nan = std::numeric_limits<double>::quiet_NaN() |
Friends | |
template<typename > | |
class | ProcessLib::TESFEMReactionAdaptorCaOH2 |
Additional Inherited Members | |
Static Public Member Functions inherited from Adsorption::Reaction | |
static std::unique_ptr< Reaction > | newInstance (BaseLib::ConfigTree const &conf) |
|
inlineexplicit |
Definition at line 30 of file ReactionCaOH2.h.
|
private |
Definition at line 99 of file ReactionCaOH2.cpp.
References _p_eq, _p_r_g, _rho_s, _T_eq, _T_s, _X_D, _X_H, MaterialLib::PhysicalConstant::IdealGasConstant, rho_low, rho_up, and Adsorption::tol_u.
Referenced by calculateQR().
|
private |
Definition at line 67 of file ReactionCaOH2.cpp.
References _p_gas, _p_r_g, _qR, _x_react, CaHydration(), Adsorption::AdsorptionReaction::getMolarFraction(), Adsorption::M_carrier, Adsorption::M_react, rho_low, rho_up, and setChemicalEquilibrium().
Referenced by getReactionRate().
|
overridevirtual |
Implements Adsorption::Reaction.
Definition at line 34 of file ReactionCaOH2.cpp.
References Adsorption::M_react, and Adsorption::reaction_enthalpy.
|
inline |
Definition at line 41 of file ReactionCaOH2.h.
References _ode_solver_config.
Referenced by ProcessLib::TES::TESFEMReactionAdaptorCaOH2::TESFEMReactionAdaptorCaOH2().
|
overridevirtual |
Implements Adsorption::Reaction.
Definition at line 41 of file ReactionCaOH2.cpp.
References OGS_FATAL.
Referenced by ProcessLib::TES::TESFEMReactionAdaptorCaOH2::TESFEMReactionAdaptorCaOH2().
double Adsorption::ReactionCaOH2::getReactionRate | ( | double const | solid_density | ) |
Definition at line 49 of file ReactionCaOH2.cpp.
References _qR, _rho_s, and calculateQR().
|
private |
Definition at line 80 of file ReactionCaOH2.cpp.
References _p_eq, _p_r_g, _rho_s, _T_eq, _T_s, _X_D, _X_H, MaterialLib::PhysicalConstant::IdealGasConstant, Adsorption::reaction_enthalpy, Adsorption::reaction_entropy, rho_low, rho_up, Adsorption::tol_l, Adsorption::tol_rho, and Adsorption::tol_u.
Referenced by calculateQR().
void Adsorption::ReactionCaOH2::updateParam | ( | double | T_solid, |
double | p_gas, | ||
double | x_react, | ||
double | rho_s_initial ) |
|
friend |
Definition at line 71 of file ReactionCaOH2.h.
|
private |
Definition at line 68 of file ReactionCaOH2.h.
Referenced by getOdeSolverConfig().
|
private |
equilibrium pressure in bar
Definition at line 59 of file ReactionCaOH2.h.
Referenced by CaHydration(), and setChemicalEquilibrium().
|
private |
gas phase pressure in unit bar
Definition at line 57 of file ReactionCaOH2.h.
Referenced by calculateQR(), and updateParam().
|
private |
pressure of H2O on gas phase
Definition at line 58 of file ReactionCaOH2.h.
Referenced by CaHydration(), calculateQR(), and setChemicalEquilibrium().
|
private |
rate of solid density change
Definition at line 62 of file ReactionCaOH2.h.
Referenced by calculateQR(), and getReactionRate().
|
private |
solid phase density
Definition at line 56 of file ReactionCaOH2.h.
Referenced by CaHydration(), getReactionRate(), setChemicalEquilibrium(), and updateParam().
|
private |
equilibrium temperature
Definition at line 60 of file ReactionCaOH2.h.
Referenced by CaHydration(), and setChemicalEquilibrium().
|
private |
solid phase temperature
Definition at line 61 of file ReactionCaOH2.h.
Referenced by CaHydration(), setChemicalEquilibrium(), and updateParam().
|
private |
mass fraction of dehydration (CaO) in the solid phase
Definition at line 64 of file ReactionCaOH2.h.
Referenced by CaHydration(), and setChemicalEquilibrium().
|
private |
mass fraction of hydration in the solid phase
Definition at line 66 of file ReactionCaOH2.h.
Referenced by CaHydration(), and setChemicalEquilibrium().
|
private |
mass fraction of water in gas phase
Definition at line 63 of file ReactionCaOH2.h.
Referenced by calculateQR(), and updateParam().
|
staticconstexprprivate |
Definition at line 54 of file ReactionCaOH2.h.
|
staticconstexpr |
lower density limit
Definition at line 74 of file ReactionCaOH2.h.
Referenced by CaHydration(), calculateQR(), ProcessLib::TES::TESFEMReactionAdaptorCaOH2::initReaction(), and setChemicalEquilibrium().
|
staticconstexpr |
upper density limit
Definition at line 76 of file ReactionCaOH2.h.
Referenced by CaHydration(), calculateQR(), ProcessLib::TES::TESFEMReactionAdaptorCaOH2::initReaction(), and setChemicalEquilibrium().