Commit Graph

16797 Commits

Author SHA1 Message Date
Justin Chang
54d82d349e Removed OpenCL dependencies from rocsparse backend 2023-10-03 15:40:20 -05:00
Bård Skaflestad
d1b908421d
Merge pull request #4904 from vkip/bflowijk_alloc_fix
Always allocate buffers for storing flows if BFLOW[I|J|K] is requested
2023-10-03 09:41:10 +02: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
fa04666b8a
Merge pull request #4888 from blattms/fix-compute-temperature-for-distwells
Fixes computation of temperature for distributed wells.
2023-10-02 17:22:09 +02:00
Markus Blatt
5a2a97d21c [cmake] Always demand rocblas to be there when activating rocsparse
This was somehow only done for hip version >=5.3, but Debian bookworm
is missing rocblas and using hipcc 2.3.0 and therefore compilation failed there.
2023-10-02 17:14:43 +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
Tor Harald Sandve
a54f8dd81c
Merge pull request #4890 from hakonhagland/python_docs
Added some Python documentation
2023-10-02 08:54:51 +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
Bård Skaflestad
724ccd6fc2
Merge pull request #4895 from GitPaean/steink-local_control_switch_option_0920_3
Option for doing well control/status switching during local well solve
2023-09-29 11:57:35 +02:00
Kai Bao
b1974bbe45 recovering the SHUT during iteration beahvoir in prepareWellBeforeAssembling
when local_well_solver_control_switching_ is off
and incoporating commenst regarding resetting wellStatus_ in StandardWell within
the function iterateWellEqWithSwitching.
2023-09-29 10:55:19 +02:00
Kai Bao
83bbe89342 LocalWellSolveControlSwitching default to be false 2023-09-29 10:55:19 +02:00
Kai Bao
e38e557bbc cleaning up to preapre for pull request 2023-09-29 10:55:19 +02:00
Stein Krogstad
035d216641 adding function iterateWellEqWithSwitching
when we do the local solve for well equations, control/status will be
updated during the iteration process, such that the converged well gets
correct control/status regarding to the current reservoir state.

various change in the other parts of the code were made to make the
function work as intended.
2023-09-29 10:51:04 +02:00
Markus Blatt
c657cfecc8
Merge pull request #4868 from bska/support-truncated-region-names
Match Region Sets by Unique Prefix
2023-09-28 21:04:06 +02:00
Bård Skaflestad
85bb525067 Match Region Sets by Unique Prefix
This commit switches the region set tag matching algorithm to using
unique prefixes.  This enables the simulator to recognise that the
region set name

    FIPUNI

should match up with the user defined region set 'FIPUNIT'.  In the
current master sources, the above summary vector would produce a
diagnostic message saying that the region set 'FIPUNI' (without the
final 'T') does not exist.

To this end, we instruct the ParallelEclipseState to always pass the
six character substring beginning with 'FIP' for FIP-like region
arrays and defer to the rank-0 EclipseState/FieldProps mechanism to
match this prefix with its canonical region set.
2023-09-28 17:54:27 +02:00
Markus Blatt
326d63cb8e
Merge pull request #4898 from aritorto/centroidRankZero
Supporting centroids lookup for rank 0 and LGRs
2023-09-28 17:49:07 +02:00
Bård Skaflestad
1e8441e8a9
Merge pull request #4528 from svenn-t/h2store
Enable WSF/GSF for H2STORE
2023-09-28 16:59:49 +02:00
Bård Skaflestad
09626f2e3a
Merge pull request #4525 from goncalvesmachadoc/co2store
keywords co2store + gaswat
2023-09-28 16:56:25 +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
Markus Blatt
2f0e167d2c
Merge pull request #4894 from akva2/janitoring
fixed: quell unused variable warning without OpenCL
2023-09-26 14:25:46 +02:00
Arne Morten Kvarving
eedfafe423 fixed: quell unused variable warning without OpenCL 2023-09-26 09:11:48 +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
Bård Skaflestad
77f1da2b61
Merge pull request #4876 from bska/report-hcpv-smry
Calculate Hydrocarbon Pore-Volumes if Requested
2023-09-25 11:20:07 +02:00
Håkon Hægland
8849c7d357 Removed reference to unit system
The unit system is not used in this example, so we can remove it.
2023-09-25 11:01:12 +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
Tor Harald Sandve
ae1e5f56f6
Merge pull request #4874 from bska/refactor-fip-update
Refactor Fluid-In-Place Calculations For Maintainability
2023-09-25 10:25:52 +02:00
Håkon Hægland
9778929a81 Added some Python documentation 2023-09-25 10:18:13 +02:00
Atgeirr Flø Rasmussen
e4e32defc4 Fix various errors and clean up the ISTLSolvers.
Much of this went undiscovered because the ISTLSolverEbosBda class
was not really used before due to the typo disabling it.
2023-09-25 09:03:59 +02:00
Markus Blatt
2721b9fa2d Fixes computation of temperature for distributed wells.
Previously, we did a global summation of the size of the
well_perf_data vector to determine the number of perforations
of a well. In the case of distributed wells this will try to access
more perforations than stored for the well in well_perf_data and hence
might use data from cells that actually are not perforated by this
cell. Note that for well not distributed the code worked as the
summation has no effect.

This commit changes this to only query peforations on the
local process. This should be enough to fix this problem.

In addition it removes the computation of connpos which is never used.
2023-09-22 18:56:27 +02:00
goncalvesmachadoc
7b6f813aae rebase 2023-09-21 16:50:41 +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
Atgeirr Flø Rasmussen
ad35b2a72f Adapt to changes made to ISTLSolverEbos. 2023-09-21 12:41:03 +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
7aa33058c4 Fix typo in macro usage. 2023-09-21 11:39:14 +02:00
Bård Skaflestad
cfd502c0f2
Merge pull request #4871 from svenn-t/cskin
Activate CSKIN and regression test
2023-09-21 11:24:19 +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
40927cb173
Merge pull request #4877 from GitPaean/bhp_lower_limit_below_1bar
reducing the bhp lower limit slightly to handle 1 bar bhp limit
2023-09-19 18:44:37 +02:00
Bård Skaflestad
b806231c94
Merge pull request #4880 from GitPaean/making_two_tests_less_prone_to_timestepping
setting 10-day maximum time step for two regressiong tests
2023-09-19 18:20:19 +02:00
Kai Bao
8bc88ec80b setting 10-day maximum time step for two regressiong tests
3_MULTFLT_MODEL2 and 4_MINPVV_MODEL2.

Hopefully the tests will be more stable and serve better as regression
tests.
2023-09-19 17:02:13 +02:00
Bård Skaflestad
7708b98d6c
Merge pull request #4879 from GitPaean/only_rank_0_network_info
only outputting some network info to the rank 0 process
2023-09-19 16:58:57 +02:00
Kai Bao
9d642fd7ce only outputting some network info to the rank 0 process 2023-09-19 16:17:19 +02:00
Kai Bao
f4a420d2f9 reducing the bhp lower limit slightly to handle 1 bar bhp limit
it turns out that 1bar is the default bhp constraint for some keywords,
   and some cases are depending on it.
2023-09-19 15:30:42 +02:00
Bård Skaflestad
50fb7b38cf
Merge pull request #4866 from vkip/gecon_prt
Adding .PRT output when GECON is activated
2023-09-18 13:47:38 +02:00
Vegard Kippe
cc39e04180 Addresing review comments 2023-09-18 13:05:12 +02:00
Atgeirr Flø Rasmussen
a59920cee2
Merge pull request #4870 from blattms/print-missing-restart-file
Include name of missing OPM restart file in error.
2023-09-15 15:29:50 +02:00