Skip to content
No description, website, or topics provided.
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AdditionnalModules
Examples
Frames
Ressources
Visu
.gitignore
CoreInterface.py
LICENSE
README.md
UtilsGlobalInterface.py
install.sh
requirements.txt
writeVisuOutput.py first commit Jul 9, 2019

README.md

Orvisu

Orvisu provides an interface to simply generate 3D plot and 3D animations with color as 4th dimensions.

Orvisu is a Python3 interface realized with wxpython

Orvisu uses PVGeo and pyvista libraries for the visualization.

Orvisu can be useful in Geoscience to visualize 3D Domains or visualize sliced 3D domain.

UBC file format

Orvisu uses UBC file format to generate plots. For one plot two files are needed:

The mesh defines the model region and the model file defines the cells properties.

A script named "writeVisuOutput.py" is provided to generate UBC files from numpy arrays.

Example:

import sys
sys.path.append('/path/to/Orvisu/directory')
import writeVisuOutput as wvo
import numpy as np

data=np.random.rand(3,3,3)
wvo.WriteVisuOutput().run(data,'ubc','./numpytoubc')

s_data=np.ones((5,10,15))*10
wvo.WriteVisuOutput().run(s_data,'ubc','./s_numpytoubc')

Requirements

  • Python3.x needs to be installed.
  • Package manager pip needs to be installed.

Installation

Use the 'install.sh' script.

git clone https://github.com/BartheG/Orvisu.git
chmod +x ./install.sh && ./install.sh

or

git clone https://github.com/BartheG/Orvisu.git
chmod +x ./install.sh && sudo ./install.sh

Usage

python3 CoreInterface.py

Usage example

Examples of visualizations made with Orvisu

Plot showing a 50*50 (horizontal blocks) domain with PH value as 4th dimension Animation showing the evolution of a 15*15 (horizontal blocks) domain with PH value as 4th dimension Animation showing the evolution of a 50*50 (horizontal blocks) domain with PH value as 4th dimension

Contact

Guillaume Barthe

You can’t perform that action at this time.