Skip to content
Snippets Groups Projects

Submesh residuum output for TH2M and TRM processes

Merged Christoph Lehmann requested to merge chleh/ogs:trm-submesh-residual-output into master
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented? -> see #3356

TODOs

  • Extend non-stationary TH2M test with submesh residuum output (e.g., Ogata-Banks) -> Follow-up MR, see #3356
  • Cleanup code
  • Discuss possibly necessary changes, e.g., in prj file configuration
  • unify names: residual -> residuum
  • create ctests
  • check that this MR does not break PETSc, at least if no submesh assembly is done.

For the PETSc test see:

AddTest(
    NAME ThermoRichardsMechanics_LiakopoulosMixedElementsPETSc
    PATH ThermoRichardsMechanics/LiakopoulosPETSc
    EXECUTABLE ogs
    EXECUTABLE_ARGS liakopoulos_mixElem_mumps.prj
    WRAPPER mpirun
    WRAPPER_ARGS -np 2
    TESTER vtkdiff
    # Run on envinf only because PETSc MUMPS solver is used
    REQUIREMENTS OGS_USE_PETSC AND "${HOSTNAME}" MATCHES "envinf.*"
    RUNTIME 2
    DIFF_DATA
    GLOB liakopoulosBulk_mixElem_t_*.vtu sigma sigma 1e-9 1e-12
    GLOB liakopoulosBulk_mixElem_t_*.vtu displacement displacement 1e-10 1e-12
    GLOB liakopoulosBulk_mixElem_t_*.vtu saturation saturation 1e-10 1e-12
)

The PETSc test runs, indeed:

321/337 Test #300: ogs-SteadyStateDiffusion_cube_1x1x1_Neumann_1e5-mpirun-vtkdiff .............................................   Passed    0.16 sec
322/337 Test #222: ogs-ThermoRichardsMechanics_LiakopoulosMixedElementsPETSc-mpirun ...........................................   Passed   67.01 sec
        Start 223: ogs-ThermoRichardsMechanics_LiakopoulosMixedElementsPETSc-mpirun-vtkdiff
323/337 Test  #57: snakemake_reorder_mesh .....................................................................................   Passed   55.88 sec
324/337 Test #223: ogs-ThermoRichardsMechanics_LiakopoulosMixedElementsPETSc-mpirun-vtkdiff ...................................   Passed    1.56 sec
Edited by Christoph Lehmann

Merge request reports

Approved by

Merged by Dmitri NaumovDmitri Naumov 2 years ago (Jan 30, 2023 7:52pm UTC)

Merge details

  • Changes merged into master with 279cafbb.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading