Skip to content

Use numerical element volume calculation in AddElementQuality

wenqing requested to merge wenqing/ogs:impr_mesh_quality into master

Following up !4591 (merged), this MR changes the element volume calculation in AddElementQuality from the analytic method to the numerical method. With the changes, the sizes of elements with curved edges or faces can be precisely calculated.

  1. Feature description was added to the changelog

  2. Tests covering your feature were added? A mesh from BGE is tested. The volume the mesh is calculated as 0.10532800668921961, which is close to the volume obtained by using Comsol and Calculix (0.105328) by Frederik.
    See (cell property ElementSize): Untitled.ipynb

  3. Any new feature or behavior change was documented?

Edited by wenqing

Merge request reports