Commit Graph

1807 Commits

Author SHA1 Message Date
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
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
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