From dbc8f7ccecdcc33954e2386f007b6dc435464b2c Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sat, 12 Dec 2020 23:48:04 +0100
Subject: [PATCH] [MPL] Saturation property name for micro-structure

In a double porosity models this represents the (micro)
capillary pressure -- (micro-)saturation relationship.
---
 MaterialLib/MPL/PropertyType.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/MaterialLib/MPL/PropertyType.h b/MaterialLib/MPL/PropertyType.h
index 98e1d52fc19..b975b8fc0db 100644
--- a/MaterialLib/MPL/PropertyType.h
+++ b/MaterialLib/MPL/PropertyType.h
@@ -77,6 +77,8 @@ enum PropertyType : int
     /// specify retardation factor used in component transport process.
     retardation_factor,
     saturation,
+    /// capillary pressure saturation relationship for microstructure.
+    saturation_micro,
     specific_heat_capacity,
     storage,
     swelling_stress_rate,
@@ -257,6 +259,10 @@ inline PropertyType convertStringToProperty(std::string const& inString)
     {
         return PropertyType::saturation;
     }
+    if (boost::iequals(inString, "saturation_micro"))
+    {
+        return PropertyType::saturation_micro;
+    }
     if (boost::iequals(inString, "specific_heat_capacity"))
     {
         return PropertyType::specific_heat_capacity;
@@ -358,6 +364,7 @@ static const std::array<std::string, PropertyType::number_of_properties>
                              "residual_liquid_saturation",
                              "retardation_factor",
                              "saturation",
+                             "saturation_micro",
                              "specific_heat_capacity",
                              "storage",
                              "swelling_stress_rate",
-- 
GitLab