From d50e63888d0d6809e9029a1ebc1769d58ea8211a Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Fri, 8 Sep 2023 13:14:02 +0200 Subject: [PATCH] [T/TRM] Added a minimal test for passing volumetric strain. --- ...othermal_drainage_imbibition_extended_mfront_model.prj | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Tests/Data/ThermoRichardsMechanics/MFront/ThermoPoroElasticity/uniaxial_isothermal_drainage_imbibition_extended_mfront_model.prj b/Tests/Data/ThermoRichardsMechanics/MFront/ThermoPoroElasticity/uniaxial_isothermal_drainage_imbibition_extended_mfront_model.prj index 4687b388bc5..ce1d13ba14c 100644 --- a/Tests/Data/ThermoRichardsMechanics/MFront/ThermoPoroElasticity/uniaxial_isothermal_drainage_imbibition_extended_mfront_model.prj +++ b/Tests/Data/ThermoRichardsMechanics/MFront/ThermoPoroElasticity/uniaxial_isothermal_drainage_imbibition_extended_mfront_model.prj @@ -129,8 +129,12 @@ </property> <property> <name>permeability</name> - <type>Constant</type> - <value>2e-20</value> + <type>Function</type> + <value> + <!-- If volumetric strain is not set by OGS, it will be NaN. + Hence, the entire expression will be NaN and OGS will fail. --> + <expression>2e-20 + volumetric_strain - volumetric_strain</expression> + </value> </property> <property> <name>porosity</name> -- GitLab