Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ogsogs
  • ogs
  • Merge requests
  • !4393

Submesh residuum output for TH2M and TRM processes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christoph Lehmann requested to merge chleh/ogs:trm-submesh-residual-output into master Dec 05, 2022
  • Overview 28
  • Commits 16
  • Pipelines 21
  • Changes 69
  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 Jan 24, 2023 by Christoph Lehmann
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: trm-submesh-residual-output