Commit Graph

1775 Commits

Author SHA1 Message Date
Antonella Ritorto
0a8e1fa757 lookupIdxOnLevelZeroAssigner added 2023-12-14 16:12:48 +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
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
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
Markus Blatt
f3b9a146a9 Merge pull request #4994 from aritorto/connectOnce
Check connect only once, with elemIdx instead of cart
2023-11-14 09:59:33 +01:00
Tor Harald Sandve
37197f7b48 fix issue when bcpip is not set initially 2023-11-14 08:44:32 +01:00
Antonella Ritorto
33f8d3e7bc Lgrs neighbors considered in removeSmallNonCart 2023-11-13 15:55:36 +01:00
Tor Harald Sandve
e33d27ca90 Merge pull request #4973 from daavid00/enabledisgaswatvap
Enabling disGas and watVap at compile time for gasWaterBrine systems
2023-11-13 15:01:38 +01:00
Antonella Ritorto
555dd87f1d Check connect only once, with elemIdx instead of cart 2023-11-13 14:26:04 +01:00
Markus Blatt
e39a60d676 Merge pull request #4983 from aritorto/eclTransLookUp
Lookup NTG on Leaf Grid View
2023-11-12 09:59:46 +01:00
Antonella Ritorto
0f0eb55d59 Removed wrong lookup in coarse grid 2023-11-10 09:35:34 +01:00
Antonella Ritorto
1f4583f674 Improved ntg lookup 2023-11-09 17:36:31 +01:00
Antonella Ritorto
9ae887681e Lookup NTG on Leaf Grid View 2023-11-09 16:59:30 +01:00
Arne Morten Kvarving
44ce054492 changed: refactor LogOutputHelper::fip
only do one output per call. allow passing the name of the
regions to process
2023-11-09 13:08:17 +01:00
David Landa Marban
92de5355b2 Enabling disGas and watVap at compile time for gasWaterBrine 2023-11-07 18:35:30 +01:00
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