Commit Graph

1740 Commits

Author SHA1 Message Date
Antonella Ritorto
a17ae448d7 Hide Field Properties lookup 2023-11-02 07:23:13 +01:00
David Landa Marban
c93d46c1be Mult well trans due to perm reduction in salt prec 2023-10-31 22:11:55 +01:00
Bård Skaflestad
bf72698310 Merge pull request #4832 from totto82/wdaccor_refactor
Implement Forchheimer term in wellIndex
2023-10-31 17:46:49 +01:00
Svenn Tveit
7c0b3901da Output XMF and YMF for H2STORE 2023-10-30 14:09:54 +01:00
Bård Skaflestad
9fdc007c07 Apply Full SWATINIT-Like PCOW Rescaling at Restart
We switch to using the applyRestartSwatInit() member function
instead of directly mutating a data member of the EpsInfo structure.
This way we defer the rescaling to a context with a more complete
view of the changes needed to convey the information to all
components involved.
2023-10-25 11:04:51 +02:00
Markus Blatt
70fcb864a0 Merge pull request #4942 from aritorto/updateLookUpData
Update LookUpData
2023-10-25 11:00:52 +02:00
Bård Skaflestad
7d4ec59415 Merge pull request #4937 from totto82/addOutputResidual
Add output of the residual at the end of a time step
2023-10-24 15:26:15 +02:00
Antonella Ritorto
4e1d1cf4b1 Update LookUpData 2023-10-24 15:05:32 +02:00
Tor Harald Sandve
81549a0477 Add output of the residual at the end of a report step
To activte the output you will need to use
--enable-opm-rst-file=true
and
RPTRST
 RESIDUAL /
2023-10-24 13:52:14 +02:00
Antonella Ritorto
9a8dbe456a cartToGlobal removed 2023-10-23 18:30:41 +02:00
Tor Harald Sandve
90e791877c Implement Forchheimer term in wellIndex
Add output of CDFAC

Add effect of compaction on CTFAC
2023-10-23 08:55:21 +02:00
Antonella Ritorto
88e03e5e8d Exception added (restart not supported for LGRs), improved-cleaned code 2023-10-19 14:04:49 +02:00
Antonella Ritorto
93731c419d Shadowed declaration fixed 2023-10-19 10:53:07 +02:00
Antonella Ritorto
dc20e63a8c Lookup via method 2023-10-19 10:53:07 +02:00
Antonella Ritorto
17c7e2c91f LookUp Indices in eclgenericproblem 2023-10-19 10:53:07 +02:00
Markus Blatt
62dd660b2d Merge pull request #4916 from daavid00/fixVtkOnReportStep
Fix to write vtks on report steps
2023-10-11 11:59:18 +02:00
Bård Skaflestad
544496d0eb Don't Apply Regional Multipliers Twice to EDITNNC Connections
The connections entered in the EDITNNC keyword are already fully
accounted for in the main 'update()' loop followed by the helper
function applyEditNncToGridTrans_().  Therefore, it is wrong to
include those connections when applying MULTREGT to NNCs.  This
commit removes the pertinent connections from the main loop in
helper function applyNncMultreg_().

Commit ddcafa8a91 got this wrong, so pointy hat to [at]bska.
2023-10-10 13:57:29 +02:00
David Landa Marban
b0b9b1205c Fix to write vtks on report steps 2023-10-09 11:03:23 +02:00
Markus Blatt
3f436501d2 Merge pull request #4883 from jychang48/jychang48-edits
Removed OpenCL dependencies for rocsparse backend & error exception handling
2023-10-06 20:50:22 +02:00
Bård Skaflestad
0c7b0f5fcb Chase API Change for UDQ Evaluation
In particular, pass a "segment matcher factory" into every function
that forms UDQ context objects.
2023-10-04 16:33:19 +02:00
Markus Blatt
3c45522bab Merge pull request #4901 from hnil/fix_nonpinch_z
No connection without pinch and layers inbetween.
2023-10-04 12:26:24 +02:00
Justin Chang
54d82d349e Removed OpenCL dependencies from rocsparse backend 2023-10-03 15:40:20 -05:00
Vegard Kippe
563dd8ed49 Ensuring buffers required for BFLOW[I|J|K] summary output are allocated initially even if there is no RPTRST in the solution section. 2023-10-02 18:36:00 +02:00
Markus Blatt
9dac9de6a1 Merge pull request #4900 from hnil/fix_nnz_thermal
fixed error using NNC with thermal
2023-10-02 11:08:24 +02:00
hnil
049cc36727 -- set no connections in tranz if vertical cells has more layers inbetween and pinch is not set 2023-09-29 14:31:45 +02:00
hnil
7ff4605ccc -- fixed error using NNZ with thermal
also:
-- fixed but not checked for diffusion
-- bug for zero thermal diffusion (nan in derivatives)
-- added checking of consistency between input and taged phases
2023-09-29 13:26:31 +02:00
Antonella Ritorto
92a1d3caab Separating LGRs in rank 0 cellCentroids_ 2023-09-28 16:03:08 +02:00
Atgeirr Flø Rasmussen
ffa7bc23ed Merge pull request #4885 from hnil/safer_fluid_evaluation
Safer fluid evaluation
2023-09-26 14:59:05 +02:00
Atgeirr Flø Rasmussen
8705cd16ad Merge pull request #4884 from atgeirr/fix-typo-in-macro
Fix typo in macro usage.
2023-09-25 12:38:50 +02:00
Atgeirr Flø Rasmussen
18883e7f83 Use the non-accelerated linear solver for some tests.
This is just for the type tag.
2023-09-25 10:44:06 +02:00
Bård Skaflestad
0f78d3935c Calculate Hydrocarbon Pore-Volumes if Requested
This commit separates the computation of hydrocarbon pore-volumes
out from the context of average pressure values.  These pore-volumes
go into the xHPV summary vectors and are, therefore, useful in their
own right-not just as a means to computing average pressure values.
2023-09-25 10:32:56 +02:00
hnil
c73b049497 added mpi checking of throw in property evaluation 2023-09-21 13:34:01 +02:00
Atgeirr Flø Rasmussen
2ffc7f8e6d Workaround to compile issue with two tests.
Two tests include ebos.hh, but probably should not: test_glift1 and test_RestartSerialization.
This change restores the build for those tests. Removing ebos.hh from their inclusion list
should be done, but currently exposes that some other headers are not properly standalone,
so it is a bit more work to do.
2023-09-21 12:41:27 +02:00
Bård Skaflestad
e6f0aae124 Refacto Fluid-In-Place Calculations For Maintainability
This commit splits updateFluidInPlace_() into several smaller helper
functions, each with a narrow purpose.  They're all just called from
the original call site--the body of updateFluidInPlace_()--but this
new version is, in my opinion, easier to reason about and there is
less shared state.

In anticipation of adding support for summary vectors FHPV and RHPV
(field and region levels of hydrocarbon pore-volumes), we also split
the pore-volume updates out to a branch separate from that needed
for average pressure calculations.
2023-09-21 11:54:47 +02:00
Atgeirr Flø Rasmussen
18f0d8fd27 Merge pull request #4859 from jcbowden/damariswriter-for-sim-fields-v4
Damaris - Moving Damaris functionality to it's own class
2023-09-20 09:06:48 +02:00
josh bowden
1e2d9360d7 Move Damaris functionality to it's own class.
Step one for moving Damaris calls out of EclWriter class and into its own DamarisWriter class;
EclProblem now calls both writeOutput methods and passes in the data::Solution object;

Add fix for first writeOutput() call not having PRESSURE data available;

data::Solution is now passed by rvalue ref into eclWriter::writeOutput();

guard added to prevent inclusion of damariswriter.hh
2023-09-19 21:20:08 +02:00
Bård Skaflestad
ddcafa8a91 Apply Regional Multipliers to Initial Transmissibilities
This commit adds a new member function,

    EclTransmissibility<>::applyNncMultreg_()

which applies regional transmissibility multipliers such as those
entered in the MULTREGT keyword to the explicit input NNCs.  We make
the application conditional on a new parameter, default value
'false', and pass 'true' as the argument from 'finishInit()'.

Along with TransMult::getRegionMultiplierNNC(), this implements all
known connection behaviours for inter-region connections.
Multipliers internal to a region in MULTREGT are not yet supported.
2023-09-15 10:55:23 +02:00
Markus Blatt
b209f6af77 Merge pull request #4778 from aritorto/cellCentroid
Refactor element centroids lookup
2023-09-15 10:02:15 +02:00
Vegard Kippe
c0a741e270 Adding support for the BFLOW[I|J|K] summary vectors. 2023-09-13 09:28:10 +02:00
Bård Skaflestad
21c897fbca Treat Numerical Aquifer Connections as NNCs for Output Purposes
Connections between reservoir cells and numerical aquifer cells, or
between numerical aquifer cells when multiple such cells define a
single numerical aquifer, should always be treated as NNCs for
output purposes and end up in the (NNC1,NNC2,TRANNNC) output arrays.
To this end, make a special purpose predicate to identify numerical
aquifer connections when forming the output NNC and transmissibility
arrays and act accordingly in member functions 'computeTrans_()' and
'exportNncStructure_()'.

While here, also pick up the NNC transmissibility value from
'globalTrans()' since multiplier operations like MULTREGT might have
affected the explicit values entered in the NNC, EDITNNC, and
EDITNNCR keywords.  This is in preparation of properly incorporating
such multipliers in follow-up work.  Finally, fix a subtle problem
caused by using 'std::abs()' to check for non-zero connections.
When accounting for explicit NNCs, it might happen that the final
transmissibility would become negative with a sufficiently large
absolute value that 'abs(t) > threshold' would be true.  This would
result in outputting a negative transmissibility value to the NNC
arrays which would confuse result processors.
2023-09-06 15:53:13 +02:00
Svenn Tveit
8da6e5fd2f Fix DIRICHLET option in BCPROP.
Additional fix: BCPROP does not need to be defined each report step.
2023-09-05 14:57:54 +02:00
Arne Morten Kvarving
e3787b1ca8 anonymize unused parameter 2023-09-04 14:35:20 +02:00
Bård Skaflestad
9c58585538 Merge pull request #4823 from akva2/ecltimestepping_separate
changed: put ecl time stepping parameters in separate struct
2023-09-04 10:54:46 +02:00
Bård Skaflestad
5408f7ea12 Merge pull request #4803 from akva2/geomech_rst_output
added output writing for geomechanical module

Supersedes and closes #4588.
2023-09-04 10:11:05 +02:00
Tor Harald Sandve
80cbfe7fda Merge pull request #4819 from hakonhagland/gecon3
Implement support for GECON keyword
2023-09-01 15:06:48 +02:00
Bård Skaflestad
c6e30fbf3c Merge pull request #4820 from atgeirr/parallel-nldd-fixes
Fixes to enable using the NLDD nonlinear solver option in MPI parallel runs
2023-09-01 09:51:06 +02:00
Atgeirr Flø Rasmussen
151eac9110 Copy overlap data after local solve.
Also update intensive quantities in overlap afterwards.
2023-08-31 13:01:50 +02:00
Arne Morten Kvarving
3c525aefae changed: put ecl time stepping parameters in separate struct
this to allow reuse in ebos simulators
2023-08-30 11:22:22 +02:00
hnil
13308ed2af tpfa linearizer for thermal used for co2store and blackoil
-- add new function need for tpfa linearizer in thermal
-- set tpfa linearizer for blackoil with energy
-- set tpfa linearizer for gasoil and energy which include co2store
-- NB diffusion is disabled for this simulators
2023-08-29 16:03:44 +02:00
Antonella Ritorto
1c2069cb6a Remove lookUpCellCentroid for rank zero 2023-08-29 10:12:48 +02:00