On Fri, 2013-09-27 at 11:06 +0200, Bård Skaflestad wrote:
> Furthermore, I suppose that if you have ECLIPSE, you could use ERT's
> binary file reading support, including the Python bindings, to extract
> the same initial state information from the ".INIT" file of an ECLIPSE
> simulation and thus create a work-around for the EQUIL support that is
> currently missing from OPM.

It just occurred to me that there might be an option that's simpler
still.  If you build opm-core with ERT support you can use the 'IMPORT'
keyword to read the ".INIT" file directly in the SOLUTION section.
While that may strictly speaking be breaking the rules of an ECLIPSE
deck (e.g., there will probably be some data in ".INIT" file that does
not belong in the SOLUTION section), I *think* the EclipseGridParser
would cope well enough to do what you want it to do in this case.

So, that might be an alternative for you.  Support for the IMPORT
keyword was enabled in opm-core's commit 863eae3 and later refined.


Bård


_______________________________________________
Opm mailing list
Opm@opm-project.org
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to