Skip to content

Commit

Permalink
adding poroelastic cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
CusiniM committed Nov 8, 2023
1 parent abfca30 commit 7a434bf
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 24 deletions.
59 changes: 35 additions & 24 deletions tests/allTests/poroElasticCoupling/poroElasticCoupling.ats
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import geos_ats
from geos_ats.test_builder import TestDeck, RestartcheckParameters, generate_geos_tests

import geos_ats
from geos_ats.test_builder import TestDeck, RestartcheckParameters, PerformancecheckParameters, generate_geos_tests


class Description(object):
Expand Down Expand Up @@ -196,27 +197,37 @@ def _build_PoroElasticGravity_cases():


def test_poro_elastic_coupling_cases():
deck_instances = [
_build_Terzaghi_cases(),
_build_Mandel_fim_cases(),
_build_Mandel_sequential_cases(),
_build_Mandel_prism6_cases(),
_build_Deadoil_fim_cases(),
_build_Deadoil_sequential_cases(),
_build_PoroElasticWell_cases(),
_build_PoroDruckerPragerWell_cases(),
_build_PoroDelftEggWell_cases(),
_build_PoroModifiedCamClayWell_cases(),
_build_PoroImpermeableFault_cases(),
_build_PoroPermeableFault_cases(),
_build_PoroStaircaseSinglePhasePeacemanWell_cases(),
_build_PoroStaircaseCO2PeacemanWell_cases(),
_build_PoroElasticPEBICO2FIM_cases(),
_build_PoroElasticPEBICO2Sequential_cases(),
_build_PoroElasticGravity_cases()
]

generate_geos_tests(deck_instances)

deck_instances = [_build_Terzaghi_cases(),
_build_Mandel_fim_cases(),
_build_Mandel_sequential_cases(),
_build_Mandel_prism6_cases(),
_build_Deadoil_fim_cases(),
_build_Deadoil_sequential_cases(),
_build_PoroElasticWell_cases(),
_build_PoroDruckerPragerWell_cases(),
_build_PoroDelftEggWell_cases(),
_build_PoroModifiedCamClayWell_cases(),
_build_PoroImpermeableFault_cases(),
_build_PoroPermeableFault_cases(),
_build_PoroStaircaseSinglePhasePeacemanWell_cases(),
_build_PoroStaircaseCO2PeacemanWell_cases(),
_build_PoroElasticPEBICO2FIM_cases(),
_build_PoroElasticPEBICO2Sequential_cases(),
_build_PoroElasticGravity_cases(),
TestDeck( name="PoroElastic_Mandel_smoke_fim_mgr",
description="Mandel fim case using mgr strategy",
partitions=[ (1, 1, 1), (3, 1, 2) ],
restart_step=0,
check_step=0,
performancecheck_params=PerformancecheckParameters(tolerance=[0.1, 0.2])),
TestDeck( name="PoroElastic_staircase_co2_3d_mgr",
description="Staircase CO2 poroelastic problem with Peaceman wells using mgr strategy",
partitions=[ (1, 1, 1), (2, 2, 1) ],
restart_step=0,
check_step=0,
performancecheck_params=PerformancecheckParameters(tolerance=[0.1, 0.2]))
]

generate_geos_tests( deck_instances )

test_poro_elastic_coupling_cases()

0 comments on commit 7a434bf

Please sign in to comment.