%% Import modules
mrstModule add deckformat
mrstModule add ad-core ad-props ad-blackoil
mrstModule add mrst-gui
mrstModule list
%% Import of the grid from pcube_new.grdecl
grid = readGRDECL('C:/Matlab/grid.EGRID');
%% Convert to SI units
usys = getUnitSystem('METRIC');
grdecl = convertInputUnits(grid, usys);
G = processGRDECL('C:/Matlab/grid.EGRID')
%plotGrid(grid, 'FaceColor', 'none'), view(3)