Submesh residuum output for TH2M and TRM processes
-
Feature description was added to the changelog -
Tests covering your feature were added? -
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
)
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
Activity
changed milestone to %6.4.4
added workflowin development label
added 3 commits
added 318 commits
-
2960372a...5b192cef - 217 commits from branch
ogs:master
- f03032cf - [PL] DBUG -> INFO
- 48b6da4c - WIP
- 947c1c4c - WIP started submesh residual output config
- 912e8b3a - [T] Added two test meshes
- 6a168298 - [T] Mapped meshed to simulation domain
- 53ed29ed - WIP reading additional meshes
- 3721483a - [PL/TL] Made mesh vector mutable
- 2c14c8ef - WIP added another output config
- 5aedc6e1 - [PL] Split output creation
- fdf45b66 - [PL] Use more r-value refs
- 9a251f5a - WIP added comments
- e407e1a3 - WIP reuse more of the existing output config
- 985dc32c - WIP pass meshes
- fde5e069 - WIP split output creation into two steps
- e7df7253 - Added output mesh name filter
- f20dfbbe - Inform process about submeshes
- d3051f74 - Added SubmeshResidualOutputMixin
- f9bc7631 - [PL/TRM] Moved assembly to submesh residual mixin
- 93aa9fb6 - added comment
- 45d74b9f - [PL] Moved loc asm creation to separate file
- 5baf5687 - WIP active element filter
- 982b3491 - Assemble on sub meshes
- 7ce4ec14 - Create residuum vectors
- b6f1552d - copy residuum to submeshes
- c6cfc90a - Re-enable direct assembly of bulk mesh without submeshes
- 48c20842 - Cleanup
- ebc8e038 - Always init submesh output
- 4978ccc1 - fill output vector with 0, not with NaN
- f275fb7a - [NL] Fill with zeroes, not NaNs
- da75cea8 - Do not project residuum vectors from bulk mesh to submeshes
- c0ead81c - WIP review comments
- 1e1791b7 - [T] Added notebook test
- e92d85d8 - made meshes const again
- 8e90c0c1 - [PL] Moved code to separate file
- 302c1ab5 - moved method out of class
- 30606355 - WIP split off assembly mixin base
- a15ca4f6 - moved further code to base class
- ab6ca6a6 - enforce correct use of CRTP
- af3ddc45 - moved implementations to cpp file
- 592edc59 - Changed message
- 358452a3 - removed lambda
- e87737cf - extracted method transformVariableFromGlobalVector()
- bc5fe688 - Moved transformation function to doftable utils
- f1ba40e7 - renamed a method
- d55af630 - cleanup
- ea36828d - renamed a field
- 1ce75e56 - cleanup
- 249299dd - [PL/TH2M] Added compilation unit, changed includes
- c349529c - removed unneeded include
- ebdc647e - TH2M WIP use assembly mixin
- 442741a2 - AssemblyMixin: assemble also w/o Jac
- fd8bfebf - TH2M asm w/o Jac
- ba113078 - Deduplicated code
- 18737ce1 - Moved some code to separate functions
- 45630630 - removed a blank line
- a679c312 - added comment
- fe2b9dce - [T] Added primary variable plots
- 56ee9135 - [T] WIP TH2M tests
- d4b18630 - [T] WIP simulation runs
- f28bd5aa - [T] Temperature test finished
- 5bca6074 - [T] Refactored
- f24fdece - [T] WIP added further tests
- 924fa622 - [T] Reran notebook
- 522590be - added todo note
- b0997446 - [T] changed test seems to work better
- fab843d9 - [T] Finished gas mass flow test (more or less)
- 9eb8d63b - Added comments
- e64b1cd4 - reran notebook and fixes
- 66fe3df7 - capillary pressure test works
- 6787944e - displacement test kind of works
- 6131cd3e - Removed duplicate tests
- c3f698f7 - reran notebook
- f856554f - reran with lower permeability -- all fine except displacement test
- 91470dff - improved displacement test
- fb4e944c - figured out formula for initial stress
- e17820d4 - check that tolerances are tight
- d6e347f5 - cleanup and comments
- 68040c96 - added analytical heat flow rate test for T
- 2d043abc - analytical expression for nodal forces
- 941e2a7c - added analytical expression for gas mass flow rate
- c5e97c75 - added analytical expression for liquid mass flow rate
- f84a4caf - cleanup
- 1662a772 - WIP Ogata-Banks test TH2M
- d6f0a1a0 - moved code, renames
- 86028a3c - [PL] Added several consistency checks
- de453df1 - fixup! [PL] Added several consistency checks
- b379e021 - added input file
- 5d340886 - WIP
- 8e2af4f9 - with advection term good agreement ana/num
- d8c7e45a - summing over vertical slices does not seem right...
- 4fb117cc - WIP
- 311d8bbb - reran notebook - results look better, now
- 26455c6d - WIP ogata banks test
- 38806a70 - WIP
- f83a0cd9 - added abs diff and rel diff residuum plots
- 77ff89b0 - [PL] added missing template params
- cfcccf38 - [PL] Added missing template params
- 9f044cbc - [PL] formatting
- d72871f6 - fixup! [PL] Moved loc asm creation to separate file
- bc6c2aa2 - fixup! [PL] Moved loc asm creation to separate file
- c8077e4d - fixup! [PL] Moved loc asm creation to separate file
Toggle commit list-
2960372a...5b192cef - 217 commits from branch
added ciskip label
added 78 commits
- 362eedfb - [PL] Moved loc asm creation to separate file
- c26dabed - WIP active element filter
- e61a3239 - Assemble on sub meshes
- 9e0d5cf3 - Create residuum vectors
- a0ce3154 - copy residuum to submeshes
- 67f3e4e2 - Re-enable direct assembly of bulk mesh without submeshes
- a5083522 - Cleanup
- bb176269 - Always init submesh output
- 75116178 - fill output vector with 0, not with NaN
- 3d4247f4 - [NL] Fill with zeroes, not NaNs
- f37e0d57 - Do not project residuum vectors from bulk mesh to submeshes
- 2e73a616 - WIP review comments
- 7d87474a - [T] Added notebook test
- dd430e42 - made meshes const again
- 0911116c - [PL] Moved code to separate file
- b9015de2 - moved method out of class
- 6f629c71 - WIP split off assembly mixin base
- ede39e59 - moved further code to base class
- c1645393 - enforce correct use of CRTP
- 7b737c15 - moved implementations to cpp file
- f194a36d - Changed message
- e4d8eb29 - removed lambda
- b272e6de - extracted method transformVariableFromGlobalVector()
- a0a4b448 - Moved transformation function to doftable utils
- eda9acf4 - renamed a method
- 00255f14 - cleanup
- 3f3afe0e - renamed a field
- 89baa5ef - cleanup
- e28c16a3 - [PL/TH2M] Added compilation unit, changed includes
- f84cc05c - removed unneeded include
- c80ba261 - TH2M WIP use assembly mixin
- b1f8f38d - AssemblyMixin: assemble also w/o Jac
- fdf2184a - TH2M asm w/o Jac
- 8622f9a0 - Deduplicated code
- de5f096b - Moved some code to separate functions
- a8518ad8 - removed a blank line
- 5fd1e870 - added comment
- ec7a93be - [T] Added primary variable plots
- d14cda0b - [T] WIP TH2M tests
- 3e2323d6 - [T] WIP simulation runs
- fa1b65e3 - [T] Temperature test finished
- f4d30724 - [T] Refactored
- fed3d8ae - [T] WIP added further tests
- fce79942 - [T] Reran notebook
- a5d30e54 - added todo note
- e442a8bc - [T] changed test seems to work better
- 24530f10 - [T] Finished gas mass flow test (more or less)
- 2f9ca5d6 - Added comments
- 528d88cb - reran notebook and fixes
- 61df0a4e - capillary pressure test works
- 68965d85 - displacement test kind of works
- 5846a755 - Removed duplicate tests
- 9e95b192 - reran notebook
- 8d5ff6c3 - reran with lower permeability -- all fine except displacement test
- 35cdf781 - improved displacement test
- 5f4e510d - figured out formula for initial stress
- be14de2a - check that tolerances are tight
- 3dcfa467 - cleanup and comments
- 43b6ed49 - added analytical heat flow rate test for T
- edd4be53 - analytical expression for nodal forces
- 339b81b5 - added analytical expression for gas mass flow rate
- 65f88429 - added analytical expression for liquid mass flow rate
- 81c7e16c - cleanup
- 31844619 - WIP Ogata-Banks test TH2M
- 26cc4ce0 - moved code, renames
- 9a17ceef - [PL] Added several consistency checks
- e137d16b - added input file
- b4b872e6 - WIP
- aec4d984 - with advection term good agreement ana/num
- e614bc2a - summing over vertical slices does not seem right...
- ffbaf58d - WIP
- bcda8ce0 - reran notebook - results look better, now
- 288776fa - WIP ogata banks test
- eae236f9 - WIP
- 0b4b6e78 - added abs diff and rel diff residuum plots
- 163264cc - [PL] added missing template params
- 1e00df55 - [PL] Added missing template params
- 4226e518 - [PL] formatting
Toggle commit listadded 79 commits
- aa514958 - [PL] Moved loc asm creation to separate file
- c5a7a9f0 - WIP active element filter
- a0c56aad - Assemble on sub meshes
- 6a278448 - Create residuum vectors
- 1b0bdfbd - copy residuum to submeshes
- f3d3489b - Re-enable direct assembly of bulk mesh without submeshes
- eff04c2f - Cleanup
- 98ab9820 - Always init submesh output
- d67e6079 - fill output vector with 0, not with NaN
- 5b6a8aa3 - [NL] Fill with zeroes, not NaNs
- ae7fb9ec - Do not project residuum vectors from bulk mesh to submeshes
- e2f27e45 - WIP review comments
- 9054ed9b - [T] Added notebook test
- b9b2e557 - made meshes const again
- ba2b247d - [PL] Moved code to separate file
- 17c5ae41 - moved method out of class
- 85c60f6b - WIP split off assembly mixin base
- ce8c2007 - moved further code to base class
- bfcec54a - enforce correct use of CRTP
- 2dd621a5 - moved implementations to cpp file
- 3bde6aab - Changed message
- d99c4085 - removed lambda
- 1cfa1e30 - extracted method transformVariableFromGlobalVector()
- e5197c3e - Moved transformation function to doftable utils
- 038e6067 - renamed a method
- f0dff242 - cleanup
- 466d8b77 - renamed a field
- bf64db05 - cleanup
- cac91299 - [PL/TH2M] Moved loc asm creation to separate file
- 2b6782b1 - [PL/TH2M] Changed includes
- 0befd184 - removed unneeded include
- 19f5c720 - TH2M WIP use assembly mixin
- 10462b10 - AssemblyMixin: assemble also w/o Jac
- ada63332 - TH2M asm w/o Jac
- cfc2cc02 - Deduplicated code
- 6f3ee7cc - Moved some code to separate functions
- e1782c00 - removed a blank line
- e9f45dfd - added comment
- ec25bdb7 - [T] Added primary variable plots
- ab31ccc8 - [T] WIP TH2M tests
- b314d26f - [T] WIP simulation runs
- 0333dfa5 - [T] Temperature test finished
- bc336b0f - [T] Refactored
- 9ce945b2 - [T] WIP added further tests
- b585e065 - [T] Reran notebook
- cc745b94 - added todo note
- 7c714647 - [T] changed test seems to work better
- ccf91c3f - [T] Finished gas mass flow test (more or less)
- 90d04132 - Added comments
- d6ac0d4d - reran notebook and fixes
- 1e2392b8 - capillary pressure test works
- 66e1cc4c - displacement test kind of works
- 706e6e77 - Removed duplicate tests
- a45da675 - reran notebook
- 0788848e - reran with lower permeability -- all fine except displacement test
- 7101ab38 - improved displacement test
- 450dd353 - figured out formula for initial stress
- 90117682 - check that tolerances are tight
- 65fd46b2 - cleanup and comments
- 2e9f88f7 - added analytical heat flow rate test for T
- 93822899 - analytical expression for nodal forces
- 2bb55221 - added analytical expression for gas mass flow rate
- b8b55250 - added analytical expression for liquid mass flow rate
- 04e4036f - cleanup
- 8f19f122 - WIP Ogata-Banks test TH2M
- e63a4b21 - moved code, renames
- 705b7f28 - [PL] Added several consistency checks
- c386d39a - added input file
- abc3a7ee - WIP
- e865060a - with advection term good agreement ana/num
- 255492f8 - summing over vertical slices does not seem right...
- 27d9810d - WIP
- 35204c5d - reran notebook - results look better, now
- 2d8cb325 - WIP ogata banks test
- 1308a82d - WIP
- 8f87f861 - added abs diff and rel diff residuum plots
- 72860cd0 - [PL] added missing template params
- 3b11be86 - [PL] Added missing template params
- 53f86e18 - [PL] formatting
Toggle commit listadded 99 commits
- c507ff50 - [PL/TRM] Moved loc asm creation to separate file
- c0436ccf - [PL/TH2M] Moved loc asm creation to separate file
- 8fe5bc78 - Added comment
- 2b3a0824 - [PL] DBUG -> INFO
- 11bd9acb - WIP
- f95c468f - WIP started submesh residual output config
- 2a0624aa - [T] Added two test meshes
- 63b8e363 - [T] Mapped meshed to simulation domain
- e5d464da - WIP reading additional meshes
- bc826efc - [PL/TL] Made mesh vector mutable
- 37b9c13b - WIP added another output config
- d4874da3 - [PL] Split output creation
- f69bda20 - [PL] Use more r-value refs
- ce3a5ef0 - WIP added comments
- 3cee01b5 - WIP reuse more of the existing output config
- a3407c12 - WIP pass meshes
- b3c8c293 - WIP split output creation into two steps
- f0bddb5c - Added output mesh name filter
- 655670cb - Inform process about submeshes
- 75dfa5c1 - Added SubmeshResidualOutputMixin
- 1227ccbf - [PL/TRM] Moved assembly to submesh residual mixin
- 2ae5b3cd - WIP active element filter
- a670ec66 - Assemble on sub meshes
- eb04c7fe - Create residuum vectors
- 1242f5d3 - copy residuum to submeshes
- 50d0b412 - Re-enable direct assembly of bulk mesh without submeshes
- 3d9a145d - Cleanup
- 79f049d2 - Always init submesh output
- 98af4769 - fill output vector with 0, not with NaN
- 99a6496f - [NL] Fill with zeroes, not NaNs
- 3fbc083b - Do not project residuum vectors from bulk mesh to submeshes
- 0b306b50 - WIP review comments
- 48d13a73 - [T] Added notebook test
- e2c3d24e - made meshes const again
- db35fed1 - [PL] Moved code to separate file
- a0d8cf9e - moved method out of class
- baf4cd3a - WIP split off assembly mixin base
- 05f2ca97 - moved further code to base class
- 65c98f78 - enforce correct use of CRTP
- 6338bae0 - moved implementations to cpp file
- cba61c8f - Changed message
- 2ba7adc7 - removed lambda
- 0caa4c33 - extracted method transformVariableFromGlobalVector()
- 2bae3f3c - Moved transformation function to doftable utils
- 705c90fe - renamed a method
- fa6d1874 - cleanup
- 24fab9f8 - renamed a field
- 8751b0f3 - cleanup
- 8ac865d8 - [PL/TH2M] Changed includes
- 1828c737 - removed unneeded include
- d8440645 - TH2M WIP use assembly mixin
- 22a465b6 - AssemblyMixin: assemble also w/o Jac
- 5d380600 - TH2M asm w/o Jac
- 68464b8b - Deduplicated code
- 07155e0f - Moved some code to separate functions
- 824ca325 - removed a blank line
- a4da6adb - added comment
- e7d390f7 - [T] Added primary variable plots
- 59622a53 - [T] WIP TH2M tests
- 1fa151fd - [T] WIP simulation runs
- d780c373 - [T] Temperature test finished
- 861fd517 - [T] Refactored
- dd00f532 - [T] WIP added further tests
- 17ea12f0 - [T] Reran notebook
- 773a004e - added todo note
- 17b013cb - [T] changed test seems to work better
- 72a34ffb - [T] Finished gas mass flow test (more or less)
- 30ed656c - Added comments
- c03b49e1 - reran notebook and fixes
- e467c09d - capillary pressure test works
- d03d4ebd - displacement test kind of works
- f2d91fe6 - Removed duplicate tests
- 805d5c06 - reran notebook
- b2e4be41 - reran with lower permeability -- all fine except displacement test
- d5212ae4 - improved displacement test
- 1782e948 - figured out formula for initial stress
- d020b864 - check that tolerances are tight
- 1106de18 - cleanup and comments
- c95c4b7a - added analytical heat flow rate test for T
- 9176b786 - analytical expression for nodal forces
- c89d9061 - added analytical expression for gas mass flow rate
- 6a9fc28b - added analytical expression for liquid mass flow rate
- 9279cba2 - cleanup
- 9e4e2e67 - WIP Ogata-Banks test TH2M
- c1bd179f - moved code, renames
- d0fbf8c5 - [PL] Added several consistency checks
- bef6fa44 - added input file
- ebf9e9a2 - WIP
- eb681dd9 - with advection term good agreement ana/num
- 5d91a37a - summing over vertical slices does not seem right...
- 10f2ec8a - WIP
- 5b24dd33 - reran notebook - results look better, now
- 064d3ba9 - WIP ogata banks test
- 6263297e - WIP
- 0edd8be3 - added abs diff and rel diff residuum plots
- d4ac1bc7 - [PL] added missing template params
- d873d7bd - [PL] Added missing template params
- a85d356f - [PL] formatting
- 3ebb2759 - fixed rebase error
Toggle commit listadded 12 commits
- 1ffcd420 - [NL] Added transformVariableFromGlobalVector overload
- ccafb0c3 - [PL] Assembly mixin
- 47e34046 - [PL] create time loop
- b8e8ffda - [PL] Create output
- b9bb8b9a - [PL] output
- 0299527d - [PL] submesh residuum output
- 8fd7aa7c - [PL] TRM
- 36695e8f - [PL] TH2M
- acc8c17a - [T] TRM point heat source
- e9415496 - [T] TH2M steady state tests
- 81ae699a - [T] TH2M Ogata Banks test
- 66488d48 - [PL] added submesh residuum output interface
Toggle commit listadded 11 commits
- 83ad9ceb - [PL] Added mixin for process assembly
- 5bdb856f - [PL] create time loop
- 5acf0e62 - [PL] Create output
- 1eb106c9 - [PL] output
- 550609a4 - [PL] submesh residuum output
- 1ca8225f - [PL] TRM
- e66d75de - [PL] TH2M
- 317d71ad - [T] TRM point heat source
- 1508cd21 - [T] TH2M steady state tests
- d79025c4 - [T] TH2M Ogata Banks test
- 046058d9 - [PL] added submesh residuum output interface
Toggle commit listadded 11 commits
- 54011a1f - [PL] Added mixin for process assembly
- d719a6ef - [PL] create time loop
- 0e219715 - [PL] Create output
- 3048dd67 - [PL] output
- 5a30a4ca - [PL] submesh residuum output
- 56805d3e - [PL] TRM
- 8e8d208e - [PL] TH2M
- 0a148620 - [T] TRM point heat source
- db96903b - [T] TH2M steady state tests
- 82532f42 - [T] TH2M Ogata Banks test
- e66b33e5 - [PL] added submesh residuum output interface
Toggle commit listadded 2 commits
mentioned in issue #3356
added 55 commits
-
9f18299f...6dabeff6 - 40 commits from branch
ogs:master
- eb7d408c - [NL] Added transformVariableFromGlobalVector overload
- abfdd4dc - [PL] Added mixin for process assembly
- cb315517 - [PL] Refactored createOutput()
- 6c4c4a43 - [PL] Avoid submesh output for certain quantities (new approach)
- 873253e6 - [PL] Added a parser for submesh residuum output config
- 6e8f6fd6 - [PL] Added an interface for submesh assembly support for processes
- b3a949c7 - [PL] Use submesh assembly support interface
- b86ef1e4 - [PL] Added submesh residuum output to createTimeLoop()
- 0d01de71 - [PL] Enabled submesh residuum assembly for TRM
- 728e6ff3 - [PL] Enabled submesh residuum assembly for TH2M
- 37a645cf - [T] TRM point heat source
- 9452892d - [T] TH2M steady state tests
- 9553a931 - [T] TH2M Ogata Banks test
- b2afcdbc - [T] small changes
- ccbe4ae9 - [T] some tests, no big change
Toggle commit list-
9f18299f...6dabeff6 - 40 commits from branch
added 17 commits
-
ccbe4ae9...6d71164c - 5 commits from branch
ogs:master
- f10668d9 - [NL] Added transformVariableFromGlobalVector overload
- da07db4b - [PL] Added mixin for process assembly
- 465f0ea4 - [PL] Refactored createOutput()
- 1cb5c57b - [PL] Avoid submesh output for certain quantities (new approach)
- 66861ebe - [PL] Added a parser for submesh residuum output config
- d77b4d95 - [PL] Added an interface for submesh assembly support for processes
- 7d4aef00 - [PL] Use submesh assembly support interface
- 7c360fc2 - [PL] Added submesh residuum output to createTimeLoop()
- b1719a20 - [PL] Enabled submesh residuum assembly for TRM
- 51ab1ee1 - [PL] Enabled submesh residuum assembly for TH2M
- 56939124 - [T] Extended TRM point heat source test
- 43e8c81a - [T] Added steady-state tests for submesh assembly with TH2M
Toggle commit list-
ccbe4ae9...6d71164c - 5 commits from branch
Please register or sign in to reply