Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EclipseIO::writeTimestep ensure summary data. #160

Merged
merged 1 commit into from
Feb 2, 2017

Conversation

joakim-hove
Copy link
Member

@joakim-hove joakim-hove commented Jan 31, 2017

There was an incorrect early return in the writeTimestep( ) routine. The consequence of that was that summary data was not written for sub-report time resolution. This will require reference data updates:

  1. The evaluation of total variables WOPT = \int_{t_1}^{t_2} dt WOPR which will be integrated over a complete report step, instead of subdividing the integeral over the timesteps of the simulator.
  2. There will be too few time steps in the summary data file.

@joakim-hove
Copy link
Member Author

jenkins build this with downstreams update_data please

@joakim-hove
Copy link
Member Author

jenkins run norne spe polymer please update_data please

Codeblocks in EclipseIO::writeTimestep( ) have been reorder to ensure
that summary data is added also for substeps.
@joakim-hove
Copy link
Member Author

jenkins build this with downstreams update_data please

jenkins4opm pushed a commit to jenkins4opm/opm-data that referenced this pull request Jan 31, 2017
Reason: OPM/opm-output#160

ert            = d52d7dccd77ab1412e20a27a5cb2f80d1d992829
opm-common     = 7222b210c72bb719fbd9481dea793016a9805646
opm-core       = c5a80e97a2b535ad9f90a9f7a133cb3573bd1cdf
opm-grid       = f55366ef5beeb92808c308bd20ab0750bc849b8a
opm-material   = 22d1301045642e65cfb711bdbfa8e5e335572ec1
opm-parser     = f52929199035baed2db7507fa1e23e15b73dfdce
opm-output     = e075002b6f293e15785e14e0182fb4c8b3b65f95
ewoms          = 3e4d1c5612c371d14874b85aad87240911678b51
opm-simulators = e075002b6f293e15785e14e0182fb4c8b3b65f95
jenkins4opm pushed a commit to jenkins4opm/opm-data that referenced this pull request Jan 31, 2017
Reason: OPM/opm-output#160

ert            = d52d7dccd77ab1412e20a27a5cb2f80d1d992829
opm-common     = 7222b210c72bb719fbd9481dea793016a9805646
opm-core       = c5a80e97a2b535ad9f90a9f7a133cb3573bd1cdf
opm-grid       = f55366ef5beeb92808c308bd20ab0750bc849b8a
opm-material   = 22d1301045642e65cfb711bdbfa8e5e335572ec1
opm-parser     = f52929199035baed2db7507fa1e23e15b73dfdce
opm-output     = 1ba1cc57b441459d30b11ba0ec44c427d3238cc9
ewoms          = 3e4d1c5612c371d14874b85aad87240911678b51
opm-simulators = 1ba1cc57b441459d30b11ba0ec44c427d3238cc9
@joakim-hove
Copy link
Member Author

@akva2: The PR: https://github.com/OPM/opm-data/issues/178 looks fine, but the changes in this PR will mandate updates also to to the norne++ reference data - is that within scope of the update_data attribute?

@joakim-hove
Copy link
Member Author

jenkins build this with downstreams opm-data=178 please

1 similar comment
@joakim-hove
Copy link
Member Author

jenkins build this with downstreams opm-data=178 please

@joakim-hove
Copy link
Member Author

jenkins build this with downstreams opm-data=177 please

@akva2
Copy link
Member

akva2 commented Feb 1, 2017

currently not supported, not necessarily out of scope but i have only considered regression tests for now.

@joakim-hove
Copy link
Member Author

Ok - I'll go the manual route then.

@joakim-hove
Copy link
Member Author

joakim-hove commented Feb 2, 2017

Ok - I'll go the manual route then.

Ehhh - is it possible to apply for a opm-data PR with updates to all the reference data[1]? As someone not doing this on a regular basis (and I guess I am actually number two on the list - I must admit I find this quite heavy going),

[1]: The summary file CASE.UNSMRY should be updated - might be unmodified in some of the cases.

@akva2
Copy link
Member

akva2 commented Feb 2, 2017

which test doesn't update the unsmr file ?

ref https://github.com/OPM/opm-simulators/blob/master/tests/update_reference_data.sh#L23
only the norne init test skips it afaict.

@joakim-hove
Copy link
Member Author

which test doesn't update the unsmr file ?

All tests update it - but for this particular PR it might be unchanged for a couple of the tests.

@akva2
Copy link
Member

akva2 commented Feb 2, 2017

then i simply do not understand what you are asking for.

@joakim-hove
Copy link
Member Author

then i simply do not understand what you are asking for.

Just assistance with the manual grunt work / book-keeping required to run all the integration tests and update the reference data, without f...ing up somewhere.

@akva2
Copy link
Member

akva2 commented Feb 2, 2017

status for the integration tests:

  • polymer compares to eclipse data.
  • spe compare to eclipse data, as well as opm data which is updated through the regression tests.
  • norne plots a reference solution for opm along with eclipse and the executed runs. i have added the necessary fiddlery to support updating the reference file through the trigger in added: update norne integration test from jenkins trigger opm-simulators#1044 but that will need @alfbr approval before i merge. an update should not be strictly required due to this PR as i guess it will plot the same data as before.

@joakim-hove
Copy link
Member Author

status for the integration tests:

OK - thank you for the update.

I'll merge - and take the flak if there is one.

@joakim-hove
Copy link
Member Author

jenkins build this with downstreams update_data please

jenkins4opm pushed a commit to jenkins4opm/opm-data that referenced this pull request Feb 2, 2017
Reason: OPM/opm-output#160

ert            = d52d7dccd77ab1412e20a27a5cb2f80d1d992829
opm-common     = 7222b210c72bb719fbd9481dea793016a9805646
opm-core       = c5a80e97a2b535ad9f90a9f7a133cb3573bd1cdf
opm-grid       = f55366ef5beeb92808c308bd20ab0750bc849b8a
opm-material   = 22d1301045642e65cfb711bdbfa8e5e335572ec1
opm-parser     = f52929199035baed2db7507fa1e23e15b73dfdce
opm-output     = 1ba1cc57b441459d30b11ba0ec44c427d3238cc9
ewoms          = 3e4d1c5612c371d14874b85aad87240911678b51
opm-simulators = 1ba1cc57b441459d30b11ba0ec44c427d3238cc9
@joakim-hove
Copy link
Member Author

jenkins build this with downstreams opm-data=179 please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants