Skip to content
Snippets Groups Projects

[msh2vtu] fix for BHE meshes

Merged Florian Zill requested to merge FZill/ogstools:msh2vtu_BHE into main

Purpose

Modificaton for msh2vtu to allow to convert BHE meshes. For this it is needed to embed line elements in the 3D domain mesh. To do this msh2vtu has to be called with a list of dimensions: msh2vtu(..., dim=[1, 3], ...)

Also, added proper docstring to msh2vtu and mirrored it in the cli help API change:

  • renamed rdcd to reindex
  • renamed ogs to keep_ids with opposite meaning (keep_ids is False by defaulse which results in renaming gmsh:physical to MaterialIDs)

Categories

  • preprocessing

Example

in the docu: image

Edited by Florian Zill

Merge request reports

Merge request pipeline #22189 passed

Merge request pipeline passed for 183fba78

Test coverage 91.00% (0.00%) from 1 job
Deployed to docs previ‎ew 123 ogs‎ 1 year ago
Approved by

Merged by Tobias MeiselTobias Meisel 1 year ago (Mar 14, 2024 12:38pm UTC)

Merge details

  • Changes merged into main with 64f88176.
  • Deleted the source branch.

Pipeline #22192 passed

Pipeline passed for 64f88176 on main

Test coverage 91.00% (0.00%) from 1 job
7 environments impacted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Florian Zill resolved all threads

    resolved all threads

  • Florian Zill added 1 commit

    added 1 commit

    • bc4f2b71 - fix missing point in bhe mesh example

    Compare with previous version

  • Tobias Meisel
  • Florian Zill added 1 commit

    added 1 commit

    • f83dc933 - Modification of the Extrusion

    Compare with previous version

  • Tobias Meisel resolved all threads

    resolved all threads

  • Tobias Meisel approved this merge request

    approved this merge request

  • Florian Zill added 5 commits

    added 5 commits

    • ae3c331c - [msh2vtu] refactor
    • fe2d46ef - omit deletion of temporary files
    • 5fff6326 - exmaple gmsh meshes: start ids numbering at 0
    • 42202cc5 - lower tolerance for mechanics tests
    • 183fba78 - [msh2vtu] test both python call and cli

    Compare with previous version

  • Florian Zill reset approvals from @TobiasMeisel by pushing to the branch

    reset approvals from @TobiasMeisel by pushing to the branch

  • Florian Zill changed the description

    changed the description

  • Tobias Meisel
  • Tobias Meisel approved this merge request

    approved this merge request

  • Florian Zill resolved all threads

    resolved all threads

  • Tobias Meisel mentioned in commit 64f88176

    mentioned in commit 64f88176

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading