23 "fp",
"The name of the user object for liquid side fluid properties");
24 MooseEnum equation_list(
"StokesEinstein WilkeChang");
26 "equation", equation_list,
"The equation to use for mass transfer calculation");
28 params.
addParam<Real>(
"radius",
"Particle radius [m]");
30 params.
addParam<Real>(
"molar_weight",
"molar weight solvent [kg/mol]");
33 params.
addParam<Real>(
"phi", 1.0,
"The association parameter for the solute (see Wilke-Chang)");
34 params.
addParam<Real>(
"wc", 7.4e-8,
"WilkeChang constant");
35 params.
addParam<Real>(
"db", 0.023,
"Dittus-Boelter equation constant");
42 _diameter(getParam<Real>(
"d")),
45 _radius(isParamValid(
"radius") ? getParam<Real>(
"radius") : 0.0),
46 _mw(isParamValid(
"molar_weight") ? getParam<Real>(
"molar_weight") : 0.0),
47 _phi(getParam<Real>(
"phi")),
48 _wc(getParam<Real>(
"wc")),
49 _db(getParam<Real>(
"db"))
57 "Must set the molecular weight of the gas when using WilkeChang");
63 paramError(
"radius",
"Must set particle radius when using StokesEinstein");
72 Real
mu =
_fp.mu_from_p_T(pressure, temperature);
73 Real
rho =
_fp.rho_from_p_T(pressure, temperature);
74 Real Diffusivity = 0.0;
85 Real kg_to_g = 1000.0;
87 Real cm_to_m = 1. / m_to_cm;
88 Real mu_cgs =
mu * kg_to_g / m_to_cm;
89 Real poise_to_centipoise = 100;
90 mu_cgs = mu_cgs * poise_to_centipoise;
91 Real molar_volume =
_mw /
rho * Utility::pow<3>(m_to_cm);
92 Real molar_weight =
_mw * kg_to_g;
93 Diffusivity =
_wc * temperature * std::sqrt(
_phi * molar_weight) /
94 (mu_cgs * std::pow(molar_volume, 0.6));
95 Diffusivity = Diffusivity * Utility::pow<2>(cm_to_m);
100 Real sc =
mu / (
rho * Diffusivity);
101 Real
mtc =
_db * std::pow(re, 0.8) * std::pow(sc, 0.4) * Diffusivity /
_diameter;
registerMooseObject("ScalarTransportApp", GasLiquidMassTransfer)
Computes the mass transfer coefficient of a gas/liquid interface.
const Real _diameter
Diameter of the flow channel [m].
const SinglePhaseFluidProperties & _fp
fluid properties user object
const Real _mw
Molecular weight of fluid [kg/mol].
Equationlist
Enum used to select the type.
const Real _phi
Association parameter for Wilke-Chang model.
enum GasLiquidMassTransfer::Equationlist _equation_list
static InputParameters validParams()
GasLiquidMassTransfer(const InputParameters ¶meters)
const Real _wc
Constant in the Wilke-Chang model.
const Real _db
Dittus-Boelter leading coefficient.
static constexpr Real _kB
Boltzman constant [J/K].
virtual Real mtc(Real pressure, Real temperature, Real fluid_velocity) const
const Real _radius
Particle radius [m].
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
bool isParamSetByUser(const std::string &name) const
Common class for single phase fluid properties.