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

[T] Move RichardsFlow ctests.

Now the RichardsMechanics process is independent of
the richards flow material classes, the tests also
don't run, because the RichardsFlow process is not
build necessarily.
parent 2409d7c0
No related branches found
No related tags found
No related merge requests found
...@@ -61,6 +61,19 @@ AddTest( ...@@ -61,6 +61,19 @@ AddTest(
# no longer be ambiguous. # no longer be ambiguous.
) )
# Comparison test for richards mechanics w/o deformations.
AddTest(
NAME RichardsMechanics_RichardsFlow_2d_richardsflow
PATH RichardsMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS RichardsFlow_2d_richardsflow.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
GLOB RichardsFlow_2d_richardsflow_pcs_0_ts_*.vtu pressure pressure 5e-11 1e-15
GLOB RichardsFlow_2d_richardsflow_pcs_0_ts_*.vtu saturation saturation 1e-14 1e-15
)
#PETSc/MPI #PETSc/MPI
AddTest( AddTest(
NAME 2D_RichardsFlow_h_us_quad_small_PID_adaptive_dt NAME 2D_RichardsFlow_h_us_quad_small_PID_adaptive_dt
...@@ -74,3 +87,17 @@ AddTest( ...@@ -74,3 +87,17 @@ AddTest(
DIFF_DATA DIFF_DATA
ref_t_1600.000000.vtu richards_pcs_0_ts_803_t_1600_000000_0.vtu pressure pressure 1e-8 1e-3 ref_t_1600.000000.vtu richards_pcs_0_ts_803_t_1600_000000_0.vtu pressure pressure 1e-8 1e-3
) )
# Comparison test for richards mechanics w/o deformations.
AddTest(
NAME Parallel_RichardsMechanics_RichardsFlow_2d_richardsflow
PATH RichardsMechanics
EXECUTABLE_ARGS RichardsFlow_2d_richardsflow.prj
WRAPPER mpirun
WRAPPER_ARGS -np 1
TESTER vtkdiff
REQUIREMENTS OGS_USE_MPI
DIFF_DATA
RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900.000000.vtu RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900_000000_0.vtu pressure pressure 5e-8 1e-10
RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900.000000.vtu RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900_000000_0.vtu saturation saturation 1e-10 1e-11
)
...@@ -170,18 +170,6 @@ AddTest( ...@@ -170,18 +170,6 @@ AddTest(
GLOB RichardsFlow_2d_quasinewton_pcs_0_ts_*.vtu HydraulicFlow HydraulicFlow 1e-15 0 GLOB RichardsFlow_2d_quasinewton_pcs_0_ts_*.vtu HydraulicFlow HydraulicFlow 1e-15 0
GLOB RichardsFlow_2d_quasinewton_pcs_0_ts_*.vtu NodalForces NodalForces 1e-15 0 GLOB RichardsFlow_2d_quasinewton_pcs_0_ts_*.vtu NodalForces NodalForces 1e-15 0
) )
AddTest(
NAME RichardsMechanics_RichardsFlow_2d_richardsflow
PATH RichardsMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS RichardsFlow_2d_richardsflow.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
GLOB RichardsFlow_2d_richardsflow_pcs_0_ts_*.vtu pressure pressure 5e-11 1e-15
GLOB RichardsFlow_2d_richardsflow_pcs_0_ts_*.vtu saturation saturation 1e-14 1e-15
)
AddTest( AddTest(
NAME RichardsMechanics_deformation_dependent_porosity NAME RichardsMechanics_deformation_dependent_porosity
PATH RichardsMechanics PATH RichardsMechanics
...@@ -200,16 +188,3 @@ AddTest( ...@@ -200,16 +188,3 @@ AddTest(
GLOB deformation_dependent_porosity_pcs_0_ts_*.vtu porosity porosity 5e-14 1e-15 GLOB deformation_dependent_porosity_pcs_0_ts_*.vtu porosity porosity 5e-14 1e-15
GLOB deformation_dependent_porosity_pcs_0_ts_*.vtu porosity_avg porosity_avg 1e-14 1e-15 GLOB deformation_dependent_porosity_pcs_0_ts_*.vtu porosity_avg porosity_avg 1e-14 1e-15
) )
#PETSc
AddTest(
NAME Parallel_RichardsMechanics_RichardsFlow_2d_richardsflow
PATH RichardsMechanics
EXECUTABLE_ARGS RichardsFlow_2d_richardsflow.prj
WRAPPER mpirun
WRAPPER_ARGS -np 1
TESTER vtkdiff
REQUIREMENTS OGS_USE_MPI
DIFF_DATA
RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900.000000.vtu RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900_000000_0.vtu pressure pressure 5e-8 1e-10
RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900.000000.vtu RichardsFlow_2d_richardsflow_pcs_0_ts_99_t_1900_000000_0.vtu saturation saturation 1e-10 1e-11
)
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