grdecl2vtu command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
grdecl2vtu: command not found
or when using sudo you get the following error message
sudo: grdecl2vtu: command not found
Solutions to grdecl2vtu: command not found
How To Fix grdecl2vtu: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu grdecl2vtu is provided by libopm-grid-bin package.
libopm-grid-bin is:
The Open Porous Media (OPM) software suite provides libraries and tools for modeling and simulation of porous media processes, especially for simulating CO2 sequestration and improved and enhanced oil recovery.
opm-grid provides implementations of grids for reservoir simulation, corner point or more general pillar grids, following the DUNE grid interface: CpGrid, a parallel corner point grid, and PolyhedralGrid a more general serial grid implementation of an unstructured, legacy, grid.
A standard grid type in the petroleum industry, corner-point grids fills the domain with a relatively low number of cells while still providing sufficient flexibility to model faults, fractures and erosion. The grid format was originally designed with an eye towards geological modeling rather than numerical simulation, but is still suitable for e.g. low order finite volume discretizations.
This package provides programs to mirror corner point grids specified in Eclipse file format and convert the corner point grid representation of an Eclipse together with permeability/porosity to file suitable for visualization with Paraview.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libopm-grid-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libopm-grid-bin.
sudo apt -y install libopm-grid-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install libopm-grid-bin
Summary
In this tutorial we learn how to fix grdecl2vtu command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.