Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental plugin for 3D visualization #955

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

magnesj
Copy link

@magnesj magnesj commented Feb 10, 2022

Draft experimental plugin for 3D visualization in Dash with Mesh3D https://plotly.com/python/3d-mesh/ using ResInsight as backend for geometry computations. This is a draft prototype, so no effort has been put into restructure of the plugin into multiple files.

The plugin is based on the existing plugin SurfaceWithGridCrossSection

ResInsight has as Python API called rips https://api.resinsight.org/en/main/ This plugin requires minimum ResInsight version 2021.10.2-dev.03. ResInsight has to be installed on the same computer running the WebViz plugin.

ResInsight is not able to import roff-files, so EGRID/UNRST files must also be included.

Here is an example of required plugin parameters:

resinsight_gridfile: &resinsight_gridfile /home/builder/models/drogon-real0-iter3/DROGON-0.EGRID
simulationgridparameternames: &simulationgridparameternames
  - SOIL
  - SWAT
  - PRESSURE

Small video of the plugin displaying a cross section from the Drogon test case

Drogon.Webviz.Demonstration.-.Google.Chrome.Ubuntu.2022-02-04.13-49-34.mp4

Contributor checklist

  • 🎉 This PR closes #ISSUE_NUMBER.
  • 📜 I have broken down my PR into the following tasks:
    • Task 1
    • Task 2
  • 🤖 I have added tests, or extended existing tests, to cover any new features or bugs fixed in this PR.
  • 📖 I have considered adding a new entry in CHANGELOG.md, and added it if should be communicated there.

Experimental plugin for 3D visualization using Mesh3D https://plotly.com/python/3d-mesh/

ResInsight has as Python API called rips. This plugin requires minimum version 2021.10.2-dev.03

ResInsight is not able to import roff-files, so EGRID/UNRST files must be included.

Here is an example of plugin parameters

resinsight_gridfile: &resinsight_gridfile /home/builder/models/drogon-real0-iter3/DROGON-0.EGRID
simulationgridparameternames: &simulationgridparameternames
  - SOIL
  - SWAT
  - PRESSURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant