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 const double | rho_low = 1656.0 |
static MATERIALLIB_EXPORT const double | rho_up = 2200.0 |
lower density limit More... | |
Private Member Functions | |
void | calculateQR () |
void | setChemicalEquilibrium () |
double | CaHydration () |
Private Attributes | |
double | _rho_s |
solid phase density More... | |
double | _p_gas |
gas phase pressure in unit bar More... | |
double | _p_r_g |
pressure of H2O on gas phase More... | |
double | _p_eq = 1.0 |
equilibrium pressure in bar More... | |
double | _T_eq |
equilibrium temperature More... | |
double | _T_s |
solid phase temperature More... | |
double | _qR |
rate of solid density change More... | |
double | _x_react |
mass fraction of water in gas phase More... | |
double | _X_D |
mass fraction of dehydration (CaO) in the solid phase More... | |
double | _X_H |
mass fraction of hydration in the solid phase More... | |
const BaseLib::ConfigTree | _ode_solver_config |
Static Private Attributes | |
static const double | _reaction_enthalpy = -1.12e+05 |
reaction enthalpy in J/mol; negative for exothermic composition reaction More... | |
static const double | _reaction_entropy = -143.5 |
reaction entropy in J/mol/K More... | |
static const double | _M_carrier |
inert component molar mass More... | |
static const double | _M_react |
reactive component molar mass More... | |
static const double | _tol_l = 1e-4 |
static const double | _tol_u = 1.0 - 1e-4 |
static const double | _tol_rho = 0.1 |
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, _tol_u, _X_D, _X_H, MaterialLib::PhysicalConstant::IdealGasConstant, rho_low, and rho_up.
Referenced by calculateQR().
|
private |
Definition at line 67 of file ReactionCaOH2.cpp.
References _M_carrier, _M_react, _p_gas, _p_r_g, _qR, _x_react, CaHydration(), Adsorption::AdsorptionReaction::getMolarFraction(), rho_low, rho_up, and setChemicalEquilibrium().
Referenced by getReactionRate().
|
overridevirtual |
Implements Adsorption::Reaction.
Definition at line 34 of file ReactionCaOH2.cpp.
References _M_react, and _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 | ) |
|
private |
Definition at line 80 of file ReactionCaOH2.cpp.
References _p_eq, _p_r_g, _reaction_enthalpy, _reaction_entropy, _rho_s, _T_eq, _T_s, _tol_l, _tol_rho, _tol_u, _X_D, _X_H, MaterialLib::PhysicalConstant::IdealGasConstant, rho_low, and rho_up.
Referenced by calculateQR().
void Adsorption::ReactionCaOH2::updateParam | ( | double | T_solid, |
double | _p_gas, | ||
double | _x_react, | ||
double | rho_s_initial | ||
) |
|
friend |
Definition at line 80 of file ReactionCaOH2.h.
|
staticprivate |
inert component molar mass
Definition at line 70 of file ReactionCaOH2.h.
Referenced by calculateQR().
|
staticprivate |
reactive component molar mass
Definition at line 71 of file ReactionCaOH2.h.
Referenced by calculateQR(), and getEnthalpy().
|
private |
Definition at line 77 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().
|
staticprivate |
reaction enthalpy in J/mol; negative for exothermic composition reaction
Definition at line 68 of file ReactionCaOH2.h.
Referenced by getEnthalpy(), and setChemicalEquilibrium().
|
staticprivate |
reaction entropy in J/mol/K
Definition at line 69 of file ReactionCaOH2.h.
Referenced by setChemicalEquilibrium().
|
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().
|
staticprivate |
Definition at line 73 of file ReactionCaOH2.h.
Referenced by setChemicalEquilibrium().
|
staticprivate |
Definition at line 75 of file ReactionCaOH2.h.
Referenced by setChemicalEquilibrium().
|
staticprivate |
Definition at line 74 of file ReactionCaOH2.h.
Referenced by CaHydration(), and setChemicalEquilibrium().
|
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 65 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().
|
static |
Definition at line 83 of file ReactionCaOH2.h.
Referenced by CaHydration(), calculateQR(), ProcessLib::TES::TESFEMReactionAdaptorCaOH2::initReaction(), and setChemicalEquilibrium().
|
static |
lower density limit
Definition at line 84 of file ReactionCaOH2.h.
Referenced by CaHydration(), calculateQR(), ProcessLib::TES::TESFEMReactionAdaptorCaOH2::initReaction(), and setChemicalEquilibrium().