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

Support restart for TEMP (and gas tracers) #4382

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Default new parameter to avoid breaking build in opm-upscaling
  • Loading branch information
vkip committed Dec 16, 2024
commit cb0404ccd231c7d778ba024fcdd9dd56d8faa291
1 change: 1 addition & 0 deletions opm/input/eclipse/share/keywords/000_Eclipse100/G/GLIFTOPT
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
"sections": [
"SCHEDULE"
],
"requires" : ["LIFTOPT"],
"items": [
{
"name": "GROUP_NAME",
2 changes: 1 addition & 1 deletion opm/output/eclipse/CreateInteHead.cpp
Original file line number Diff line number Diff line change
@@ -590,7 +590,7 @@ createInteHead(const EclipseState& es,
// across a range of reference cases, but are not guaranteed to be
// universally valid.
.drsdt(sched, lookup_step)
.params_NWELZ (154 + num_tracers, 122 + 2 * num_tracers, 130 + nxwelz_tracer_shift, 3) // n{isxz}welz: number of data elements per well in {ISXZ}WELL
.params_NWELZ (155 + num_tracers, 122 + 2 * num_tracers, 130 + nxwelz_tracer_shift, 3) // n{isxz}welz: number of data elements per well in {ISXZ}WELL
.params_NCON (25, 41, 58 + 5*num_tracers) // n{isx}conz: number of data elements per completion in ICON
.params_GRPZ (getNGRPZ(nwgmax, ngmax, num_tracers, rspec))
.aquiferDimensions (inferAquiferDimensions(es, sched[lookup_step]))
2 changes: 1 addition & 1 deletion opm/output/eclipse/InteHEAD.hpp
Original file line number Diff line number Diff line change
@@ -227,7 +227,7 @@ namespace Opm { namespace RestartIO {

InteHEAD& stepParam(const int tstep, const int report_step);
InteHEAD& tuningParam(const TuningPar& tunpar);
InteHEAD& variousParam(const int version, const int iprog, const int num_tracers);
InteHEAD& variousParam(const int version, const int iprog, const int num_tracers = 0);
InteHEAD& wellSegDimensions(const WellSegDims& wsdim);
InteHEAD& activeNetwork(const ActiveNetwork& actntwrk);
InteHEAD& networkDimensions(const NetworkDims& nwdim);
2 changes: 1 addition & 1 deletion opm/output/eclipse/LogiHEAD.hpp
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ namespace Opm { namespace RestartIO {
const bool e100_radial,
const int nswlmx,
const bool enableHyster,
const bool hasTemp
const bool hasTemp = false
);

/// Assign PVT model characteristics.
2 changes: 1 addition & 1 deletion tests/test_AggregateWellData.cpp
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ namespace {
struct MockIH
{
explicit MockIH(const int numWells,
const int iwelPerWell = 154, // E100
const int iwelPerWell = 155, // E100
const int swelPerWell = 122, // E100
const int xwelPerWell = 130, // E100
const int zwelPerWell = 3); // E100