> >But anyway – the technical approach Bård suggests is certainly quite > >feasible and quite simple.
> > If interested Ming is interested I would be happy to help you whip up a > > small script to read an INIT file and extract the information you are after. > Joakim, I am very interested in this, could you take some time to talk to me > some more about this? Sure - very briefly: 1. I don’t know if the initial saturations are in the INIT file, at least unconditionally. But you will find them in the first step of the restart file. 2. When you have the initial saturations it is still not (at all …) clear to me what you want to do with them? In Statoil this script should work: #!/usr/bin/env python import sys import ert.ecl.ecl as ecl rstFile = ecl.EclFile( sys.argv[1] ) swat0 = rstFile[“SWAT”][0] sgas0 = rstFile[“SGAS”][0] soil0 = 1 – (swat0 + sgas0) # And then … ? I suggest we continue the discussion outside this list. >At last, I have an immature idea, for a new OPM user, if OPM-parse can supply >a tool that can "translate" the ECLIPSE deck file directly to an OPM deck >file, that will save a lot time to familiar with >the "KEYWORD" that OPM >support. This maybe not worth, just an idea of the moment. The opm-parser (http://github.com/OPM/opm-parser.git) is a project aimed at reading the ECLIPSE datafile in all it’s gruelling and inconsistent glory; the project is coming along, but not as fast as we would like … Joakim ------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you
_______________________________________________ Opm mailing list [email protected] http://www.opm-project.org/mailman/listinfo/opm
