Skip to content
Snippets Groups Projects
Commit 7f47b0aa authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MPL] Rename Henry "constant" to henry_coefficient

The coefficient can be temperature dependent and so forth
and is, therefore not a constant.

Related to !4131 "TH2M Dissolution of gas components in
liquid phase" merge-request.
parent d4d46bbb
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ enum PropertyType : int
evaporation_enthalpy,
fredlund_parameters,
heat_capacity,
henry_constant,
henry_coefficient,
latent_heat,
/// used to compute the hydrodynamic dispersion tensor.
longitudinal_dispersivity,
......@@ -133,7 +133,7 @@ static const std::array<std::string, PropertyType::number_of_properties>
"evaporation_enthalpy",
"fredlund_parameters",
"heat_capacity",
"henry_constant",
"henry_coefficient",
"latent_heat",
"longitudinal_dispersivity",
"molality",
......
......@@ -62,7 +62,8 @@ void checkMPLProperties(
std::array const required_property_contaminant_vapour_component = {
MaterialPropertyLib::pore_diffusion,
MaterialPropertyLib::specific_heat_capacity,
MaterialPropertyLib::henry_constant, MaterialPropertyLib::molar_mass};
MaterialPropertyLib::henry_coefficient,
MaterialPropertyLib::molar_mass};
std::array const required_property_dissolved_contaminant_component = {
MaterialPropertyLib::pore_diffusion};
......
......@@ -278,11 +278,11 @@ void ThermalTwoPhaseFlowWithPPLocalAssembler<
// Henry constant of organic contaminant
double const henry_contam =
contaminant_vapour_component
.property(MaterialPropertyLib::PropertyType::henry_constant)
.property(MaterialPropertyLib::PropertyType::henry_coefficient)
.template value<double>(vars, pos, t, dt);
double d_henry_contaminant_dT =
contaminant_vapour_component
.property(MaterialPropertyLib::PropertyType::henry_constant)
.property(MaterialPropertyLib::PropertyType::henry_coefficient)
.template dValue<double>(
vars, MaterialPropertyLib::Variable::temperature, pos, t,
dt);
......
......@@ -107,7 +107,7 @@
<value>1.</value>
</property>
<property>
<name>henry_constant</name>
<name>henry_coefficient</name>
<type>Constant</type>
<value>1.</value>
</property>
......
......@@ -107,7 +107,7 @@
<value>1.</value>
</property>
<property>
<name>henry_constant</name>
<name>henry_coefficient</name>
<type>Constant</type>
<value>1</value>
</property>
......
......@@ -129,7 +129,7 @@
<value>0.1314</value>
</property>
<property>
<name>henry_constant</name>
<name>henry_coefficient</name>
<type>Constant</type>
<value>1.062e-3</value>
</property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment