Revision 9c63442e45c049964bce7219d16ec23cbfa7c226 authored by Christoph Lehmann on 06 March 2023, 10:21:39 UTC, committed by Christoph Lehmann on 06 March 2023, 10:21:39 UTC
Draft: Beautiful access to element degrees of freedom See merge request ogs/ogs!4507
Tests.cmake
AddTest(
NAME ThermoRichardsFlow_PressureDiffusionTemperatureDiffusion
PATH ThermoRichardsFlow/HT/SimpleSynthetics
EXECUTABLE ogs
EXECUTABLE_ARGS PressureDiffusionTemperatureDiffusion.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
PressureDiffusionTemperatureDiffusion_expected.vtu PressureDiffusionTemperatureDiffusion_ts_1_t_1.000000.vtu T T 1e-5 1e-8
PressureDiffusionTemperatureDiffusion_expected.vtu PressureDiffusionTemperatureDiffusion_ts_1_t_1.000000.vtu p p 1e-5 1e-8
PressureDiffusionTemperatureDiffusion_expected.vtu PressureDiffusionTemperatureDiffusion_ts_1_t_1.000000.vtu darcy_velocity darcy_velocity 1e-5 1e-8
PressureDiffusionTemperatureDiffusion_expected.vtu PressureDiffusionTemperatureDiffusion_ts_1_t_1.000000.vtu dry_density_solid dry_density_solid 1e-5 1e-8
PressureDiffusionTemperatureDiffusion_expected.vtu PressureDiffusionTemperatureDiffusion_ts_1_t_1.000000.vtu porosity porosity 1e-5 1e-8
)
AddTest(
NAME ThermoRichardsFlow_HeatTransportInStationaryFlow
PATH ThermoRichardsFlow/HT/HeatTransportInStationaryFlow
EXECUTABLE ogs
EXECUTABLE_ARGS HeatTransportInStationaryFlow.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 17
DIFF_DATA
HT_HeatTransportInStationaryFlow_ts_50_t_50000.000000.vtu HeatTransportInStationaryFlow_ts_50_t_50000.000000.vtu temperature temperature 5e-3 1e-8
HT_HeatTransportInStationaryFlow_ts_50_t_50000.000000.vtu HeatTransportInStationaryFlow_ts_50_t_50000.000000.vtu pressure pressure 5e-3 1e-8
)
AddTest(
NAME ThermoRichardsFlow_RichardsFlow2DSmall
PATH ThermoRichardsFlow/RichardsFlow2D
EXECUTABLE ogs
EXECUTABLE_ARGS RichardsFlow_2d_small.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 17
DIFF_DATA
expected_Richards_2D_small_pcs_ts_1100_t_1600.000000.vtu Richards_2D_small_pcs_ts_1100_t_1600.000000.vtu pressure pressure 5e-3 1e-8
expected_Richards_2D_small_pcs_ts_1100_t_1600.000000.vtu Richards_2D_small_pcs_ts_1100_t_1600.000000.vtu saturation saturation 5e-3 1e-8
)
AddTest(
NAME ThermoRichardsFlow_RichardsFlow2DSmallPicard
PATH ThermoRichardsFlow/RichardsFlow2D
EXECUTABLE ogs
EXECUTABLE_ARGS RichardsFlow_2d_small_Picard.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 17
DIFF_DATA
expected_Richards_2D_small_pcs_ts_1100_t_1600.000000.vtu Richards_2D_small_Picard_pcs_ts_1100_t_1600.000000.vtu pressure pressure 5e-3 1e-8
expected_Richards_2D_small_pcs_ts_1100_t_1600.000000.vtu Richards_2D_small_Picard_pcs_ts_1100_t_1600.000000.vtu saturation saturation 5e-3 1e-8
)
AddTest(
NAME ThermoRichardsFlow_RichardsFlow2DSmall_ogs5
PATH ThermoRichardsFlow/RichardsFlow2D
EXECUTABLE ogs
EXECUTABLE_ARGS RichardsFlow_2d_compare_ogs5.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 17
DIFF_DATA
h_us_quad_1000.vtu richards_ogs5_pcs_ts_100_t_100.000000.vtu PRESSURE1 pressure 1e-1 1e-1
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMuni_saturated-TRuni_saturated
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRuni_saturated.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMuni_sat_ts_10_t_1.000000.vtu TRuni_sat_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMuni_sat_ts_10_t_1.000000.vtu TRuni_sat_ts_10_t_1.000000.vtu pressure pressure 5e-5 1e-10
expected_TRMuni_sat_ts_10_t_1.000000.vtu TRuni_sat_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMuni_unsaturated-TRuni_unsaturated
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRuni_unsaturated.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRuni_unsat_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRuni_unsat_ts_10_t_1.000000.vtu pressure pressure 5e-5 1e-6
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRuni_unsat_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMcustom_unsaturated-TRcustom_unsaturated
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRcustom_unsaturated.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRcustom_unsat_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRcustom_unsat_ts_10_t_1.000000.vtu pressure pressure 5e-5 1e-6
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRcustom_unsat_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMhyd_saturated-TRhyd_saturated
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRhyd_saturated.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMhyd_sat_ts_10_t_1.000000.vtu TRhyd_sat_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMhyd_sat_ts_10_t_1.000000.vtu TRhyd_sat_ts_10_t_1.000000.vtu pressure pressure 5e-5 1e-10
expected_TRMhyd_sat_ts_10_t_1.000000.vtu TRhyd_sat_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMhyd_unsaturated-TRhyd_unsaturated
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRhyd_unsaturated.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMhyd_unsat_ts_10_t_1.000000.vtu TRhyd_unsat_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMhyd_unsat_ts_10_t_1.000000.vtu TRhyd_unsat_ts_10_t_1.000000.vtu pressure pressure 5e-5 1e-6
expected_TRMhyd_unsat_ts_10_t_1.000000.vtu TRhyd_unsat_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMuni_bishopstest-TRuni_bishopstest
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRuni_unsaturated_bishopstest.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu pressure pressure 5e-2 1e-6
expected_TRMuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
expected_TRMuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRuni_unsaturated_bishopstest_ts_10_t_1.000000.vtu MassFlowRate MassFlowRate 1e-9 1e-4
)
AddTest(
NAME ThermoRichardsFlow_comp_TRMhyd_bishopstest-TRiso_bishopstest
PATH ThermoRichardsFlow/SimplifiedMechanics
EXECUTABLE ogs
EXECUTABLE_ARGS TRhyd_unsaturated_bishopstest.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 1
DIFF_DATA
expected_TRMhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu pressure pressure 5e-2 1e-6
expected_TRMhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
expected_TRMhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu TRhyd_unsaturated_bishopstest_ts_10_t_1.000000.vtu MassFlowRate MassFlowRate 1e-9 1e-4
)
AddTest(
NAME ThermoRichardsFlow_TaskCDECOVALEX2023
PATH ThermoRichardsFlow/TaskCDECOVALEX2023
EXECUTABLE ogs
EXECUTABLE_ARGS Decovalex-0-TRF.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 17
DIFF_DATA
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu pressure pressure 3e5 15
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu saturation saturation 2e-3 2e-3
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu temperature temperature 1e-2 5e-5
)
AddTest(
NAME ThermoRichardsFlow_TaskCDECOVALEX2023_Picard
PATH ThermoRichardsFlow/TaskCDECOVALEX2023/WithPicardNonLinearSolverAndPETSc
EXECUTABLE ogs
EXECUTABLE_ARGS Decovalex-0-TRF.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT (OGS_USE_LIS OR OGS_USE_MPI)
RUNTIME 17
DIFF_DATA
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu pressure pressure 3e5 15
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu saturation saturation 1e-2 2e-3
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu temperature temperature 1e-2 1.0
)
#PETSc
AddTest(
NAME ParallelFEM_ThermoRichardsFlow_comp_TRMuni_unsaturated-TRuni_unsaturated
PATH ThermoRichardsFlow/SimplifiedMechanics
RUNTIME 5
EXECUTABLE ogs
EXECUTABLE_ARGS TRuni_unsaturated.prj
WRAPPER mpirun
WRAPPER_ARGS -np 1
TESTER vtkdiff
REQUIREMENTS OGS_USE_MPI
DIFF_DATA
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRuni_unsat_ts_10_t_1.000000.vtu temperature temperature 5e-5 1e-10
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRuni_unsat_ts_10_t_1.000000.vtu pressure pressure 5e-5 1e-6
expected_TRMuni_unsat_ts_10_t_1.000000.vtu TRuni_unsat_ts_10_t_1.000000.vtu saturation saturation 5e-5 1e-10
)
AddTest(
NAME ParallelFEM_ThermoRichardsFlow_TaskCDECOVALEX2023_Picard
PATH ThermoRichardsFlow/TaskCDECOVALEX2023/WithPicardNonLinearSolverAndPETSc
RUNTIME 5
EXECUTABLE ogs
EXECUTABLE_ARGS Decovalex-0-TRF.prj
WRAPPER mpirun
WRAPPER_ARGS -np 3
TESTER vtkdiff
REQUIREMENTS OGS_USE_MPI
DIFF_DATA
#
Decovalex-THuni-0_ts_10_t_864000_000000_0.vtu Decovalex-THuni-0_ts_10_t_864000_000000_0.vtu pressure pressure 1e-10 1.0e-6
Decovalex-THuni-0_ts_10_t_864000_000000_0.vtu Decovalex-THuni-0_ts_10_t_864000_000000_0.vtu saturation saturation 1e-10 1.0e-6
Decovalex-THuni-0_ts_10_t_864000_000000_0.vtu Decovalex-THuni-0_ts_10_t_864000_000000_0.vtu temperature temperature 1e-10 1.0e-9
#
Decovalex-THuni-0_ts_10_t_864000_000000_1.vtu Decovalex-THuni-0_ts_10_t_864000_000000_1.vtu pressure pressure 1e-10 1.0e-6
Decovalex-THuni-0_ts_10_t_864000_000000_1.vtu Decovalex-THuni-0_ts_10_t_864000_000000_1.vtu saturation saturation 1e-10 1.0e-6
Decovalex-THuni-0_ts_10_t_864000_000000_1.vtu Decovalex-THuni-0_ts_10_t_864000_000000_1.vtu temperature temperature 1e-10 1.0e-9
#
Decovalex-THuni-0_ts_10_t_864000_000000_2.vtu Decovalex-THuni-0_ts_10_t_864000_000000_2.vtu pressure pressure 1e-10 1.0e-6
Decovalex-THuni-0_ts_10_t_864000_000000_2.vtu Decovalex-THuni-0_ts_10_t_864000_000000_2.vtu saturation saturation 1e-10 1.0e-6
Decovalex-THuni-0_ts_10_t_864000_000000_2.vtu Decovalex-THuni-0_ts_10_t_864000_000000_2.vtu temperature temperature 1e-10 1.0e-9
)
AddTest(
NAME OneThreadPETSc_ThermoRichardsFlow_TaskCDECOVALEX2023
PATH ThermoRichardsFlow/TaskCDECOVALEX2023
EXECUTABLE ogs
EXECUTABLE_ARGS Decovalex-0-TRF.prj
WRAPPER mpirun
WRAPPER_ARGS -np 1
TESTER vtkdiff
REQUIREMENTS OGS_USE_MPI
DIFF_DATA
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu pressure pressure 3e5 15
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu saturation saturation 2e-3 2e-3
expected_Decovalex-0_ts_10_t_864000.000000.vtu Decovalex-THuni-0_ts_10_t_864000.000000.vtu temperature temperature 1e-2 5e-5
)
# ThermoRichardsFlow; thermo_osmosis and thermo_filtration effects, linear poroelastic, column consolidation
AddTest(
NAME ThermoRichardsFlow_thermo_osmosis_filtration_effects_Column
PATH ThermoRichardsFlow/ThermoOsmosis
RUNTIME 15
EXECUTABLE ogs
EXECUTABLE_ARGS Column.prj
WRAPPER time
TESTER vtkdiff
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
expected_Column_ts_68_t_7200000.000000.vtu Column_ts_68_t_7200000.000000.vtu pressure pressure 1e-5 1e-5
expected_Column_ts_68_t_7200000.000000.vtu Column_ts_68_t_7200000.000000.vtu temperature temperature 1e-5 1e-5
)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...