joergbuchwald / ogs6py

Python-API for the OpenGeoSys (http://www.opengeosys.org) software.
BSD 3-Clause "New" or "Revised" License
16 stars 23 forks source link

add example optimize coupling scheme parameter #40

Closed dominik-kern closed 2 years ago

dominik-kern commented 2 years ago

The staggered scheme of OGS (currently implemented for the HM-process) comes with a coupling parameter, whose optimal value is a-priori unknown (it depends on sources and boundaries but only negligible on the mesh). This example demonstrates how to find this optimum iteratively. It saves time to find the optimal value of the coupling parameter on a coarse mesh and then use it on finer meshes.

codecov[bot] commented 2 years ago

Codecov Report

Merging #40 (c3d6c68) into master (b6d9364) will decrease coverage by 0.09%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
- Coverage   72.47%   72.37%   -0.10%     
==========================================
  Files          21       21              
  Lines        1275     1278       +3     
==========================================
+ Hits          924      925       +1     
- Misses        351      353       +2     
Impacted Files Coverage Δ
ogs6py/ogs.py 76.70% <33.33%> (-0.38%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b6d9364...c3d6c68. Read the comment docs.

dominik-kern commented 2 years ago

Something I may do to speedup the pull-request?

dominik-kern commented 2 years ago

Likely this example may not gain much popularity, still a folder in this project seems the canonical place, rather than creating a new repository.