Arne Morten Kvarving
fd3c99c9e1
DamarisWriter: use implicit string constructor
2024-01-31 09:28:52 +01:00
Arne Morten Kvarving
6ec5fd1d97
DamarisWriter: use std::partial_sum
2024-01-31 09:28:52 +01:00
Arne Morten Kvarving
89238fd472
DamarisWriter: remove empty destructor
2024-01-31 09:28:52 +01:00
Arne Morten Kvarving
4f366ddb9f
DamarisWriter: avoid Opm:: prefix for symbols inside Opm namespace
2024-01-31 09:28:52 +01:00
Bård Skaflestad
adc8b968e4
Merge pull request #5126 from daavid00/pcogGasWaterOutput
...
Write pc for watergas systems
2024-01-30 17:40:56 +01:00
David Landa Marban
66db0485b6
Write pc for watergas systems
2024-01-30 16:15:22 +01:00
Arne Morten Kvarving
89880bfe2f
damariswriter: properly encapsulate Damaris
2024-01-30 14:19:20 +01:00
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
Lisa Julia Nebel
cc64576a79
Change function removeSmallNonCartesianTransmissibilities_ to removeNonCartesianTransmissibilities_(bool removeAll)
2024-01-29 18:46:59 +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
Antonella Ritorto
af257740c8
Throw for LGRs combine with TRANX/Y/Z
2023-12-19 20:31:42 +01:00
Antonella Ritorto
76b51aca76
Throw applyAllZMultipliers_ for LGRs
2023-12-19 13:17:54 +01:00
Markus Blatt
eec2fbaaa1
Merge pull request #5071 from aritorto/assertSameParent
...
Assert refactored to include same-parent-leaf-cells
2023-12-18 19:36:18 +01:00
Markus Blatt
784131509f
Merge pull request #5072 from aritorto/lookupExtractPerm
...
Lookup origin index for correct extractPermeability_
2023-12-18 19:34:51 +01:00
Antonella Ritorto
6d19c1dd53
Lookup for extractPorosity and extractDispersion_
2023-12-18 15:47:44 +01:00
Antonella Ritorto
0f39554561
Lookup origin in extractPermeability_
2023-12-18 15:14:43 +01:00
Antonella Ritorto
1fb708a239
Assert refactored to include same-parent-leaf-cells
2023-12-18 14:28:29 +01:00
Markus Blatt
acc08799a4
Merge pull request #5064 from aritorto/lookupAssigner
...
lookupIdxOnLevelZeroAssigner added
2023-12-18 11:33:56 +01:00
Atgeirr Flø Rasmussen
1dbd971710
Merge pull request #4889 from jcbowden/damariswriter-for-sim-fields-v5
...
Geometric mesh data added for Damaris in-situ visualisation
2023-12-15 10:18:00 +01:00
Antonella Ritorto
bba5833332
Move lookupAssigner to remove shadow decl warnings
2023-12-14 20:01:25 +01:00
Antonella Ritorto
1f77b0c199
Shadow declaration Grid(Type) fixed
2023-12-14 16:25:53 +01:00
Antonella Ritorto
0a8e1fa757
lookupIdxOnLevelZeroAssigner added
2023-12-14 16:12:48 +01:00
Josh Bowden
55dc80725f
Improved in-line help comments; output MPI cell values to HDF5 only when saving mesh to HDF5; removed timing data
2023-12-14 10:27:05 +01:00
Josh Bowden
e16cd9a3b3
finalise the PR 4889 modifications - added command line option to specifiy the shared memory file name in the <buffer> XML element --damaris-shared-memory-name which will be a randomised string opm-damaris-<random-string> for better multi-simulation behaviour when running more than one simulation on a single node.
2023-12-13 18:14:45 +01:00
Josh Bowden
757a96941a
final review changes from PR 4889 and added extra command line argument to output mesh data --damaris-save-mesh-to-hdf
2023-12-13 18:14:37 +01:00
Josh Bowden
9309f5a1bd
overhaul of GridDataOutput class to accept a vector type so that raw pointers are not overrun, this has lead to finding a good way to get the size of the data area that is alloacted by the DamarisVar wrapper class for damaris_alloc()
2023-12-13 18:14:06 +01:00
Josh Bowden
54d6db6f35
Update 1 for code after code review of PR 4889
2023-12-13 18:13:55 +01:00
Tor Harald Sandve
b9ecc2ac8f
Merge pull request #5058 from totto82/fixInitTemp
...
BUGFIX. Use given temperature in the density calculations in the initialisation
2023-12-13 15:49:32 +01:00
Antonella Ritorto
9419966036
Assigner for material props on leaf used
2023-12-13 12:32:23 +01:00
Antonella Ritorto
924eb72acd
getFieldPropDouble(IntType)Assigner_ added
2023-12-13 10:19:52 +01:00
Tor Harald Sandve
8c66465c71
BUGFIX. Use given temperature in the density calculations in the initialization
2023-12-13 09:45:38 +01:00
Bård Skaflestad
b1cba34eba
Report Destination File for Unhandled Report Keywords
...
That way, the user gets a little more information and will be in a
better position to assess whether or not the missing support is a
real problem.
2023-12-08 22:09:15 +01:00
Arne Morten Kvarving
7328b91958
adjust to data::CellData changes
2023-12-08 18:41:35 +01:00
Markus Blatt
3b60e1ef89
Merge pull request #5047 from totto82/applyMultBC
...
Apply MULT[XYZ] to boundary trans
2023-12-08 14:51:12 +01:00
Tor Harald Sandve
d687ad8803
Apply MULT[XYZ] to boundary trans
2023-12-08 12:51:20 +01:00
Josh Bowden
89fabf132e
adding command line option to specify the dask file being used --damaris-dask-file= that will add the file name to the Daamris XML configuration file
2023-12-08 10:59:51 +01:00
Bård Skaflestad
d79bd2848f
Prune ForceDisable Parameters From *Log Functions
...
They aren't really needed in the current sources. We can readd
them, or something similar, if the need to turn off these reports
from a command line parameter arises.
Suggested by: [at]akva2.
2023-12-08 10:37:20 +01:00
Bård Skaflestad
ec549df37b
Remove Spurious Blank Lines in PRT File Reports
...
The StreamLog::addMessageUnconditionally() member function will end
each message with a newline (std::endl) so we should not add such
newlines ourselves. The extra newline characters produce spurious
blank lines in the report sheets, e.g., for the "PRODUCTION REPORT".
This commit removes the last newline character from each report
request, thus deferring that responsibility to OpmLog::note()
instead. Doing so, however, means we have take a little more care
with the first line of each report lest we create report sheets
which are smushed together.
2023-12-08 10:22:43 +01:00
Bård Skaflestad
6b18cbafc6
Pull Substep Checking out of *Log() Functions
...
This commit removes the 'substep' parameter from the output module's
outputProdLog(), outputInjLog(), and outputCumLog() member
functions. This parameter was only used in the same way in internal
conditions in each member function and we can enforce that check on
the outside without losing expressivity.
2023-12-08 10:22:43 +01:00
Tor Harald Sandve
01d138fbe3
Add output of FLOWS- and FLORES-
2023-12-06 08:41:35 +01:00
Arne Morten Kvarving
d120fe1ebc
fixed: grab list of FIP regions from FieldPropsManager
...
not from SummaryConfig. the latter only holds regions with
summary keywords
2023-12-04 13:24:32 +01:00
Antonella Ritorto
8017ff9a02
add cartesianCoordianteLevel in ALUCartIdxMapp, used in RelperDiag
2023-11-28 15:47:00 +01:00
Markus Blatt
24408862ff
Merge pull request #5008 from aritorto/compressedLevelZero
...
compressedLevelZero used to read relative permeability
2023-11-24 13:21:23 +01:00
Tor Harald Sandve
5a6af752e3
Merge pull request #4912 from totto82/fix_bccon
...
fix issue when BCPROP is not set initially
2023-11-22 13:41:19 +01:00
Antonella Ritorto
6d180a7f91
compressedLevelZero added in AluCartIdxMapper, used in RelpermDiags
2023-11-20 15:56:17 +01:00
Bård Skaflestad
c0c96123bc
Add Support for Writing NLDD-Like Partitions in Parallel
...
This commit adds a new (hidden) debugging option,
DebugEmitCellPartition (--debug-emit-cell-partition)
which, when set, will cause each rank to write a three-column text
file of the form
MPI_Rank Cartesian_Index NLDD_Domain_ID
into the directory
partition/CaseName
of the run's output directory. That file will be named according to
the process' MPI rank, so the first column will be the same as the
file name.
The option is primarily intended for debugging the NLDD partitioning
scheme, so is mostly reserved for runs with low MPI sizes (e.g.,
less than 20).
While here, also make the MPIPartitionFromFile helper class aware of
this format so that we can use concatenated output files as an input
to the MPI partitioning algorithm for repeatability.
2023-11-17 09:17:46 +01:00
Atgeirr Flø Rasmussen
d069081b52
Merge pull request #4960 from daavid00/dispersivity
...
Support for mechanical dispersion
2023-11-17 08:50:00 +01:00
David Landa Marban
bc03821d57
Support for mechanical dispersion
2023-11-16 16:55:01 +01:00
Bård Skaflestad
610c45aa77
Add Support for Reading MPI Partitioning From File
...
This commit introduces new, experimental support for loading a
partitioning of the cells from a text file. The name of the file is
passed into the simulator using the new, hidden, command line option
--external-partition=filename
and we perform some basic checking that the number of elements in the
partition matches the number of cells in the CpGrid object.
2023-11-16 16:28:14 +01:00
Arne Morten Kvarving
db85303a3e
added: write out RPTSOL configured FIPs to PRT file on simulation start
...
add a method in EclWriter to enable this.
this is called the first time a call is made to WriteOutput,
as that happens after initial conditions have been applied which
is required to get the proper output.
this also fixes a long-standing issue where the initial FIP state was
taken after the first time step.
2023-11-16 08:28:57 +01:00
Arne Morten Kvarving
1e41df3bca
added: pass reportStep to FIP output functions
...
use this to decide whether or not to use the RPTSOL configuration
(reportStep == 0) or to read flags from RPTSCHED (reportStep > 0)
2023-11-16 08:12:55 +01:00
Markus Blatt
a70df8cf0a
Merge pull request #4995 from aritorto/removeSmallNonCart
...
Lgrs neighbors considered in removeSmallNonCart
2023-11-14 10:00:34 +01:00