Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Quick generation of PNGs, GIFs, and VTKs from a OPM Flow type model

License

NotificationsYou must be signed in to change notification settings

cssr-tools/plopm

Repository files navigation

Build StatusCode styleLicense: GPL v3DOI

plopm: Simplified and flexible tool to visualize OPM Flow geological models

Main feature

Quick generation of PNG figures, GIFs, and VTKs from a OPM Flow type model.

Installation

To install theplopm executable in an existing Python environment:

pip install git+https://github.com/cssr-tools/plopm.git

If you are interested in a specific version (e.g., v2024.10) or in modifying the source code, then you can clone the repository and install the Python requirements in a virtual environment with the following commands:

# Clone the repogit clone https://github.com/cssr-tools/plopm.git# Get inside the foldercd plopm# For a specific version (e.g., v2024.10), or else skip this step (i.e., edge version)git checkout v2024.10# Create virtual environment (for macOS, use a Python version >= 3.10)python3 -m venv vplopm# Activate virtual environmentsource vplopm/bin/activate# Upgrade pip, setuptools, and wheelpip install --upgrade pip setuptools wheel# Install the plopm packagepip install -e.# Install the dev-requirementspip install -r dev-requirements.txt

To use the conversion from OPM Flow output files (i.e., .EGRID, .INIT, .UNRST) to VTK (e.g, to useparaview for visualization/postprocessing),OPM Flow is needed. See theinstallation for further details on installing binaries or building OPM Flow from the master branches in Linux, Windows, and macOS, as well as the opm Python package and LaTeX dependencies.

Running plopm

You can runplopm as a single command line:

plopm -i name(s)_of_input_file(s)

Runplopm --help to see all possible command line argument options.

Getting started

See theexamples in thedocumentation.

Citing

If you would like to cite this repository:

About plopm

Theplopm package is being funded by theHPC Simulation Software for the Gigatonne Storage Challenge project [project number 622059] andCenter for Sustainable Subsurface Resources (CSSR)[project no. 331841].This is work in progress.Contributions are more than welcome using the fork and pull request approach. For new features, please request them raising an issue.


[8]ページ先頭

©2009-2025 Movatter.jp