Hi,
we've been trying to read an Eclipse file (ODEH.DATA). We are having
problem in the very beginning. It says "Tried to access cell information in
a grid with only dimensions"
Follow bellow the piece of code that we are using to run:
using namespace Opm;
using namespace std;
EclipseGridConstPtr eclipsegrid;
std::string deck_filename = "odeh2.data";
EclipseStateConstPtr eclipseState;
Opm::DeckConstPtr deck;
ParserPtr parser(new Opm::Parser());
deck = parser->parseFile(deck_filename);
eclipseState.reset( new EclipseState(deck));
eclipsegrid = eclipseState->getEclipseGrid();
GridManager gridmanager(eclipsegrid);
std::ofstream vtkfile("tutorial1.vtu");
Opm::DataMap dm;
Opm::writeVtkData(*gridmanager.c_grid(), dm, vtkfile);
We also deleted most part of the Eclipse dataset in order to keep just the
grid part.
We appreciate your help
Follow bellow the Eclipse Data set:
RUNSPEC
TITLE
ODEH PROBLEM - IMPLICIT OPTION - 1200 DAYS
DIMENS
10 10 3 /
--
-- NONNC
--
OIL
--
WATER
--
GAS
GRID ================================================================
DX 300*1000 /
DY 300*1000 /
DZ 100*20 100*30 100*50 /
TOPS 100*8325 /
PORO 300*0.3 /
PERMX 100*500 100*50 100*200 /
PERMY 100*500 100*50 100*200 /
PERMZ 100*500 100*50 100*200 /
PROPS ===============================================================
END
Regards,
Daniel Estrela
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm