Skip to content

Commit

Permalink
[T/HT] Move test def into prj. Tight tols.
Browse files Browse the repository at this point in the history
Also test the darcy velocity.
  • Loading branch information
endJunction committed Jul 20, 2023
1 parent 559ef76 commit 8e162b0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
17 changes: 1 addition & 16 deletions ProcessLib/HT/Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ endif()

if (NOT (OGS_USE_MPI))
OgsTest(PROJECTFILE Parabolic/HT/SimpleSynthetics/deactivated_subdomain/HT_DeactivatedSubdomain.prj)
OgsTest(PROJECTFILE Parabolic/HT/LowerDimensionalFracture/2D_single_fracture_HT.prj RUNTIME 55)
endif()

AddTest(
Expand Down Expand Up @@ -513,19 +514,3 @@ AddTest(
HeatTransportInStationaryFlow_ts_50_t_50000_000000_2.vtu HeatTransportInStationaryFlow_ts_50_t_50000_000000_2.vtu temperature temperature 1.e-9 1.0e-8
HeatTransportInStationaryFlow_ts_50_t_50000_000000_2.vtu HeatTransportInStationaryFlow_ts_50_t_50000_000000_2.vtu pressure pressure 1.e-9 1.0e-8
)

AddTest(
NAME 2D_single_fracture_HT
PATH Parabolic/HT/LowerDimensionalFracture
EXECUTABLE ogs
EXECUTABLE_ARGS 2D_single_fracture_HT.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 55
DIFF_DATA
2D_single_fracture_HT_ts_3_t_1800.000000.vtu 2D_single_fracture_HT_ts_3_t_1800.000000.vtu temperature temperature 1.e-9 1.0e-11
2D_single_fracture_HT_ts_3_t_1800.000000.vtu 2D_single_fracture_HT_ts_3_t_1800.000000.vtu pressure pressure 1.e-9 1.0e-11
2D_single_fracture_HT_ts_6_t_3600.000000.vtu 2D_single_fracture_HT_ts_6_t_3600.000000.vtu temperature temperature 1.e-9 1.0e-11
2D_single_fracture_HT_ts_6_t_3600.000000.vtu 2D_single_fracture_HT_ts_6_t_3600.000000.vtu pressure pressure 1.e-9 1.0e-11
)
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,24 @@
</eigen>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>2D_single_fracture_HT_ts_.*_t_.*.vtu</regex>
<field>temperature</field>
<absolute_tolerance>6e-12</absolute_tolerance>
<relative_tolerance>3e-15</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>2D_single_fracture_HT_ts_.*_t_.*.vtu</regex>
<field>pressure</field>
<absolute_tolerance>3e-6</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>2D_single_fracture_HT_ts_.*_t_.*.vtu</regex>
<field>darcy_velocity</field>
<absolute_tolerance>2e-14</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>

0 comments on commit 8e162b0

Please sign in to comment.