Commit Graph

1757 Commits

Author SHA1 Message Date
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
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
Markus Blatt
62dd660b2d Merge pull request #4916 from daavid00/fixVtkOnReportStep
Fix to write vtks on report steps
2023-10-11 11:59:18 +02:00
Bård Skaflestad
544496d0eb Don't Apply Regional Multipliers Twice to EDITNNC Connections
The connections entered in the EDITNNC keyword are already fully
accounted for in the main 'update()' loop followed by the helper
function applyEditNncToGridTrans_().  Therefore, it is wrong to
include those connections when applying MULTREGT to NNCs.  This
commit removes the pertinent connections from the main loop in
helper function applyNncMultreg_().

Commit ddcafa8a91 got this wrong, so pointy hat to [at]bska.
2023-10-10 13:57:29 +02:00
David Landa Marban
b0b9b1205c Fix to write vtks on report steps 2023-10-09 11:03:23 +02:00
Markus Blatt
3f436501d2 Merge pull request #4883 from jychang48/jychang48-edits
Removed OpenCL dependencies for rocsparse backend & error exception handling
2023-10-06 20:50:22 +02:00
Bård Skaflestad
0c7b0f5fcb Chase API Change for UDQ Evaluation
In particular, pass a "segment matcher factory" into every function
that forms UDQ context objects.
2023-10-04 16:33:19 +02:00
Markus Blatt
3c45522bab Merge pull request #4901 from hnil/fix_nonpinch_z
No connection without pinch and layers inbetween.
2023-10-04 12:26:24 +02:00
Justin Chang
54d82d349e Removed OpenCL dependencies from rocsparse backend 2023-10-03 15:40:20 -05: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
9dac9de6a1 Merge pull request #4900 from hnil/fix_nnz_thermal
fixed error using NNC with thermal
2023-10-02 11:08:24 +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
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
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
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
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