Commit Graph

1847 Commits

Author SHA1 Message Date
Bård Skaflestad
472199f63d Merge pull request #5132 from blattms/fix-shared-linking
Fix linking errors when using shared libraries.
2024-01-30 11:02:51 +01:00
Markus Blatt
819842d7cf Fix linking errors when using shared libraries.
We accomplish that by passing the module version as a string to the
constructors of LogOutputHelper and EclGenericOutputBlackoilModel
instead of calling moduleVersionName() in LogOutputHelper. That way
moduleVersionName is not needed by libopmsimulators anymore and
compilation works again for people requesting shared libraries via
CMake's BUILD_SHARED_LIBS variable.
2024-01-29 16:37:38 +01:00
Arne Morten Kvarving
96a3a6d45a changed: move hdf5serializer to opm/simulators/utils/HDF5Serializer.hpp
does not interact with typetag system
2024-01-29 09:42:49 +01:00
Markus Blatt
ddb174f401 Merge pull request #5125 from aritorto/rmNumElems
[refactor] Remove numElems from LookUpData methods
2024-01-26 14:19:04 +01:00
Antonella Ritorto
b9124a2688 Fix warning unused-variable 2024-01-26 12:28:06 +01:00
Antonella Ritorto
921b7b577a Remove numElems from LookUpData methods 2024-01-26 09:40:05 +01:00
Tor Harald Sandve
2fce942a5c refactor updateCO2InWater 2024-01-26 09:33:26 +01:00
Tor Harald Sandve
de05c84b1d Add co2 mass in place summary vectors 2024-01-26 09:15:43 +01:00
Bård Skaflestad
0c359983b7 Merge pull request #5118 from aritorto/rvActnum
Unnecessary vector removed
2024-01-24 13:48:56 +01:00
Antonella Ritorto
5bf0e10f3e Unnecessary container actnumData removed 2024-01-24 10:40:40 +01:00
Bård Skaflestad
eb9ead5577 Support at Least NTFIP Distinict Regions for Inter-Region Flow
This commit ensures that we have backing support for region IDs up
to and including NTFIP (TABDIMS(5), REGDIMS(1)).  The existing setup
would fail (segmentation violation) in the case of a summary vector
of the form

    ROFT
      36 31 /
    /

when the maximum FIPNUM value was 30.  We nevertheless support
maximum FIPNUM values exceeding NTFIP.

We add a new optional parameter to the EclInterRegionFlowMap
constructor.  The parameter allows client code to specifiy a
"minimum maximum" region ID that all ranks must support.  This value
will be enforced during parallel aggregation.
2024-01-24 09:54:44 +01:00
Bård Skaflestad
42476bedb2 Merge pull request #5115 from akva2/move_mpi_serializer
changed: move ebos/eclmpiserializer.hh to opm/simulators/utils/MPISerializer.hpp
2024-01-23 12:53:21 +01:00
Arne Morten Kvarving
98c704c1c3 changed: move ebos/eclmpiserializer.hh to opm/simulators/utils/MPISerializer.hpp
it does not use the typetag system
2024-01-23 10:51:32 +01:00
Atgeirr Flø Rasmussen
4eef78e1c8 Merge pull request #5101 from totto82/nodisp_gas
warn against no dispersion in gas phase
2024-01-23 09:25:50 +01:00
Atgeirr Flø Rasmussen
5fa48824d0 Merge pull request #5109 from jcbowden/damaris-fix-mesh-offsets-size
Fix for crash when Damaris is deallocating variables
2024-01-23 09:00:07 +01:00
Tor Harald Sandve
7c37470bd8 Merge pull request #5107 from totto82/addTemp
Add support for temperature in Source
2024-01-23 08:44:30 +01:00
Tor Harald Sandve
af65aa4626 Merge pull request #5112 from akva2/rstconv_sol_pol_sal
added: RST CONV support for polymer, solvent and brine
2024-01-22 15:23:15 +01:00
Markus Blatt
8b4bc32d62 Merge pull request #5079 from aritorto/lgrCreateResetTrans
Support LGRs when creating/resetting transmissibilities
2024-01-22 11:46:29 +01:00
Arne Morten Kvarving
873102e9ea added: RST CONV support for polymer, solvent and brine 2024-01-22 09:58:06 +01:00
Tor Harald Sandve
222358c49e Add support for temperature in Source 2024-01-19 08:26:26 +01:00
Joshua Bowden
5e66b07255 fix for crash when cleaning up damaris mesh offset variable due to shared memory buffer being size off by one 2024-01-18 16:36:47 +01:00
Tor Harald Sandve
5c1bbd304b Compute entalpy for thermal boundary 2024-01-18 16:04:32 +01:00
Arne Morten Kvarving
be84969338 added: hook up RPTRST CONV output to restart file if requested 2024-01-16 12:58:02 +01:00
Tor Harald Sandve
8a1f4d5455 Merge pull request #5089 from totto82/explicit_rockcomp
add option for explicit pressure for rock compaction (only transmissibility)
2024-01-12 12:24:33 +01:00
Tor Harald Sandve
624ef7faf1 Merge pull request #5088 from totto82/avgTransMult
use arithmetic averaged compaction transmissibility multipliers
2024-01-12 10:01:14 +01:00
Tor Harald Sandve
d72ea5fcb0 add option for explicit pressure for rock compaction (only transmissibility) 2024-01-11 16:09:08 +01:00
Tor Harald Sandve
51532231b3 warn against no dispersion in gas phase 2024-01-11 15:27:40 +01:00
Tor Harald Sandve
739337a63a rename minimum oil pressure to ref pressure 2024-01-11 10:24:25 +01:00
Tor Harald Sandve
b670c48699 Use gas pressure for gas-water cases in rockcomp 2024-01-11 10:06:07 +01:00
Tor Harald Sandve
d044928f34 use arithmetic averaged compaction transmissibility multipliers 2024-01-11 09:55:04 +01:00
Arne Morten Kvarving
ec9c704def cosmetics and header cleanups in damaris classes 2024-01-10 14:16:02 +01:00
Arne Morten Kvarving
ed28d7c9ef changed: move damaris command line properties to separate file
to avoid pulling in the whole writer in DamarisKeywords.hpp
2024-01-10 14:16:02 +01:00
Atgeirr Flø Rasmussen
ea623f0f3e Merge pull request #5050 from totto82/addSource
support source term from deck (SOURCE)
2024-01-09 13:16:16 +01:00
Bård Skaflestad
60c7c79f58 Output Well Flow Sheets for All Wells
There is no need to restrict PRT file flow reports to those wells
which are active on the current rank since the SummaryState object
holds information for all wells active at the current report step.
2024-01-08 08:58:51 +01:00
Bård Skaflestad
b58b0f8879 Merge pull request #5091 from locture/master
Bugfix for a corner case in MPI
2024-01-08 08:50:49 +01:00
locture
da2ce029ff Update ecltransmissibility_impl.hh
Update the comparison。
2024-01-06 00:39:46 -06:00
Svenn Tveit
756398e1ad Output RPORV in RPTRST 2024-01-05 10:52:19 +01:00
locture
204ebacbf2 Bugfix for a corner case in MPI
A corner case was hit when running the model in MPI.

The conditions become something like:
elemIdx < outsideElemIdx
insideFaceIdx == 4
useSmallestMultiplier == true

Which ultimately leads to an assert failure in applyAllZMultipliers_().

Changing the comparision between insideCartElemIdx and outsideCartElemIdx gets the bug fixed.
2024-01-05 02:46:43 -06:00
Torbjørn Skille
72892f0c4b PRT file updates
* Arrays genarated from RPTSOL + FIP is now strictly following Eclipse format
* Adding reservoir volume array also for custom FIP regions
2024-01-03 21:47:54 +01:00
Arne Morten Kvarving
acc31ea695 fixed: obtaining solvent values should be conditional on enableSolvent
regressed in f508f3d4e8
2024-01-02 12:04:07 +01:00
Tor Harald Sandve
84902e1aed rename sourceprop to source 2023-12-22 09:50:52 +01:00
Tor Harald Sandve
a57d04fde5 support source term from deck (SOURCE) 2023-12-22 09:50:52 +01:00
Atgeirr Flø Rasmussen
bf55fcfd93 Merge pull request #5038 from totto82/addBondaryFluxOutput
Add output of FLOWS- and FLORES-
2023-12-21 15:46:50 +01:00
Tor Harald Sandve
04770275d2 Merge pull request #4991 from totto82/h2co2sol
add output of dissolved solvent rswsol
2023-12-21 14:55:02 +01:00
Tor Harald Sandve
f508f3d4e8 add output of dissolved solvent rswsol 2023-12-21 10:48:58 +01:00
Tor Harald Sandve
87361b8f8d Throw in output if OwnerCellsFirst = False 2023-12-20 15:36:36 +01:00
Tor Harald Sandve
6eeb5b4187 Only output interior cells 2023-12-20 13:00:46 +01:00
Markus Blatt
78e8ceccba Merge pull request #5078 from aritorto/throwMULTZ
Throw for LGRs combine with TRANX/Y/Z
2023-12-20 12:03:11 +01:00
Arne Morten Kvarving
fb725f89ad remove unused variables
fix a typo and add spaces in comments
2023-12-19 23:26:08 +01:00
Antonella Ritorto
8113dad1c9 Support LGRs when creating/resetting transmissibilities 2023-12-19 20:43:26 +01:00