Commit e795b630 authored by jbathmann's avatar jbathmann Committed by Christoph Lehmann
Browse files

[T] Bugfix InjectionProduction python benchmark

parent 1d23f59a
......@@ -556,11 +556,11 @@ AddTest(
TESTER vtkdiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu displacement displacement 1e-14 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu pressure pressure 1e-7 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu velocity velocity 1e-19 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu epsilon epsilon 1e-14 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu sigma sigma 1e-7 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu displacement displacement 1e-14 1.e-9
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu pressure pressure 1e-7 1.e-9
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu velocity velocity 1e-19 1.e-9
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu epsilon epsilon 1e-14 1.e-9
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu sigma sigma 1e-7 1.e-9
)
if (OGS_USE_PYTHON)
# same but using Python BCs
......@@ -574,11 +574,11 @@ if (OGS_USE_PYTHON)
TESTER vtkdiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu displacement displacement 1e-14 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu pressure pressure 1e-7 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu velocity velocity 1e-19 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu epsilon epsilon 1e-14 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu sigma sigma 1e-7 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_Python_ts_1_t_86400.000000.vtu displacement displacement 1e-14 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_Python_ts_1_t_86400.000000.vtu pressure pressure 1e-7 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_Python_ts_1_t_86400.000000.vtu velocity velocity 1e-19 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_Python_ts_1_t_86400.000000.vtu epsilon epsilon 1e-14 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Mono_Python_ts_1_t_86400.000000.vtu sigma sigma 1e-7 0
)
endif()
......@@ -611,11 +611,11 @@ if (OGS_USE_PYTHON)
TESTER vtkdiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_ts_1_t_86400.000000.vtu displacement displacement 1e-13 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_ts_1_t_86400.000000.vtu pressure pressure 1e-6 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_ts_1_t_86400.000000.vtu velocity velocity 1e-18 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_ts_1_t_86400.000000.vtu epsilon epsilon 1e-13 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_ts_1_t_86400.000000.vtu sigma sigma 1e-6 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Python_ts_1_t_86400.000000.vtu displacement displacement 1e-13 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Python_ts_1_t_86400.000000.vtu pressure pressure 1e-6 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Python_ts_1_t_86400.000000.vtu velocity velocity 1e-18 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Python_ts_1_t_86400.000000.vtu epsilon epsilon 1e-13 0
InjectionProduction1D_Reference_ts_1_t_86400.000000.vtu InjectionProduction1D_Python_ts_1_t_86400.000000.vtu sigma sigma 1e-6 0
)
endif()
......
<?xml version='1.0' encoding='ISO-8859-1'?>
<!--
This benchmark simulates a soil column with fluid injection at the bottom and
a production well at the top. It is taken from from the literature.
......@@ -16,7 +17,6 @@ A more detailed description of the used staggered scheme and the problem is
provided online:
https://www.opengeosys.org/docs/benchmarks/hydro-mechanics/injectionproduction/
-->
<?xml version='1.0' encoding='ISO-8859-1'?>
<OpenGeoSysProject>
<meshes>
<mesh>mesh_domain.vtu</mesh>
......@@ -137,7 +137,7 @@ https://www.opengeosys.org/docs/benchmarks/hydro-mechanics/injectionproduction/
</processes>
<output>
<type>VTK</type>
<prefix>InjectionProduction1D_Mono_python</prefix>
<prefix>InjectionProduction1D_Mono_Python</prefix>
<variables>
<variable>displacement</variable>
<variable>pressure</variable>
......@@ -243,30 +243,4 @@ https://www.opengeosys.org/docs/benchmarks/hydro-mechanics/injectionproduction/
</eigen>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<file>InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu</file>
<field>pressure_interpolated</field>
<absolute_tolerance>1e-9<!-- pressure is of order 2e6 Pa --></absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<file>InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu</file>
<field>displacement</field>
<absolute_tolerance>1e-16</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<file>InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu</file>
<field>epsilon</field>
<absolute_tolerance>1e-16</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<file>InjectionProduction1D_Mono_ts_1_t_86400.000000.vtu</file>
<field>sigma</field>
<absolute_tolerance>1e-8 <!-- sigma is of order 4e5 Pa --></absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
This benchmark simulates a soil column with fluid injection at the bottom and
a production well at the top. It is taken from from the literature.
......@@ -16,7 +17,6 @@ A more detailed description of the used staggered scheme and the problem is
provided online:
https://www.opengeosys.org/docs/benchmarks/hydro-mechanics/injectionproduction/
-->
<?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject>
<meshes>
<mesh>mesh_domain.vtu</mesh>
......@@ -179,7 +179,7 @@ https://www.opengeosys.org/docs/benchmarks/hydro-mechanics/injectionproduction/
</processes>
<output>
<type>VTK</type>
<prefix>InjectionProduction1D_python</prefix>
<prefix>InjectionProduction1D_Python</prefix>
<variables>
<variable>displacement</variable>
<variable>pressure</variable>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment