11 #include "libmesh/utility.h" 21 "one_over_desorption_time_const",
22 "Time constant for Langmuir desorption (gas moving from matrix to porespace). Units [s]");
24 "one_over_adsorption_time_const",
25 "Time constant for Langmuir adsorption (gas moving from porespace to matrix). Units [s].");
27 "This is (Langmuir volume)*(density of gas at standard temp and " 28 "pressure). Langmuir volume is measured in (gas volume)/(matrix " 29 "volume). (Methane density(101kPa, 20degC) = 0.655kg/m^3. " 30 "Methane density(101kPa, 0degC) = 0.715kg/m^3.) Units [kg/m^3]");
34 params.
addClassDescription(
"Material type that holds info regarding Langmuir desorption from " 35 "matrix to porespace and viceversa");
41 _one_over_de_time_const(coupledValue(
"one_over_desorption_time_const")),
42 _one_over_ad_time_const(coupledValue(
"one_over_adsorption_time_const")),
44 _langmuir_dens(getParam<
Real>(
"langmuir_density")),
45 _langmuir_p(getParam<
Real>(
"langmuir_pressure")),
47 _conc(coupledValue(
"conc_var")),
48 _pressure(coupledValue(
"pressure_var")),
50 _mass_rate_from_matrix(declareProperty<
Real>(
"mass_rate_from_matrix")),
51 _dmass_rate_from_matrix_dC(declareProperty<
Real>(
"dmass_rate_from_matrix_dC")),
52 _dmass_rate_from_matrix_dp(declareProperty<
Real>(
"dmass_rate_from_matrix_dp"))
60 Real dequilib_conc_dp =
const Real _langmuir_p
langmuir pressure
const VariableValue & _one_over_de_time_const
reciprocal of desorption time constant
LangmuirMaterial(const InputParameters ¶meters)
const VariableValue & _pressure
porespace pressure (or partial pressure if multiphase flow scenario)
static InputParameters validParams()
MaterialProperty< Real > & _mass_rate_from_matrix
mass flow rate from the matrix = mass flow rate to the porespace
virtual void computeQpProperties() override
registerMooseObject("ChemicalReactionsApp", LangmuirMaterial)
const Real _langmuir_dens
langmuir density
static InputParameters validParams()
const VariableValue & _conc
concentration of adsorbed fluid in matrix
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< Real > & _dmass_rate_from_matrix_dp
derivative of mass flow rate wrt pressure
Holds Langmuir parameters associated with desorption Calculates mass-flow rates and derivatives there...
MaterialProperty< Real > & _dmass_rate_from_matrix_dC
derivative of mass flow rate wrt concentration
const VariableValue & _one_over_ad_time_const
reciprocal of adsorption time constant