Commit Graph
100 Commits
Author SHA1 Message Date
Atgeirr Flø Rasmussen c0dbbf7449 Merge pull request #4679 from kjetilly/cuistl_set_device
Setting CUDA device for MPI runs.
2023-06-01 11:56:43 +02:00
Atgeirr Flø Rasmussen ee6edd83a0 Merge pull request #4636 from kjetilly/cuistl_multigpu
Path to multigpu: Cuistl multigpu
2023-06-01 07:23:39 +02:00
Atgeirr Flø Rasmussen 0923698667 Merge pull request #4635 from kjetilly/cuistl_preconditioners
Path to multigpu: Cuistl preconditioners
2023-05-31 14:43:49 +02:00
Atgeirr Flø Rasmussen ed91f7528b Merge pull request #4664 from totto82/fix_gpmaint
dont store history of inactive gpmaint rates
2023-05-30 11:38:27 +02:00
Atgeirr Flø Rasmussen e5672ee816 Merge pull request #4634 from kjetilly/cuistl_vector_matrix
Path to multigpu: Cuistl vector and matrix classes
2023-05-30 11:35:15 +02:00
Atgeirr Flø Rasmussen 8fac5efea0 Merge pull request #4662 from atgeirr/update-iq-1
Update timeIdx 1 intensive quantities if necessary.
2023-05-30 09:22:46 +02:00
Atgeirr Flø Rasmussen ed2827235e Merge pull request #4668 from totto82/remove_ucl
remove duplicated code
2023-05-26 15:04:33 +02:00
Atgeirr Flø Rasmussen ce0c75b8b6 Update timeIdx 1 intensive quantities if necessary. 2023-05-22 17:40:27 +02:00
Atgeirr Flø Rasmussen dc3316a103 Merge pull request #4648 from GitPaean/not_call_alq_value_for_injectors
we should not request alq_value for injectors
2023-05-11 17:15:42 +02:00
Atgeirr Flø Rasmussen 238df46960 Merge pull request #4633 from kjetilly/cuistl_base_utils
Path to multiGPU: Basic utilities for cuISTL
2023-05-10 10:32:27 +02:00
Atgeirr Flø Rasmussen 61e5ce3d73 Merge pull request #4617 from GitPaean/updating_interval_avoid_stallment
updating the interval when doing bisectBracket()
2023-05-03 13:23:30 +02:00
Atgeirr Flø Rasmussen 8ac8b207ca Minor adjustment avoids exception when used with FIELD group. 2023-04-26 11:51:57 +02:00
Atgeirr Flø Rasmussen b90cf68d46 Merge pull request #4604 from atgeirr/strict-parsing-parameter
Strict parsing parameter
2023-04-25 15:19:44 +02:00
Atgeirr Flø Rasmussen 86259ff52e Fix: add missing parameter to fmt::format() call. 2023-04-25 14:49:28 +02:00
Atgeirr Flø Rasmussen 7311618f13 Improve formatting. 2023-04-25 14:43:20 +02:00
Atgeirr Flø Rasmussen ca62d96714 Add helpful message about termination due to unsupported keywords. 2023-04-25 13:02:45 +02:00
Atgeirr Flø Rasmussen 9ca6034388 Remove EclStrictParsing, replace with ParsingStrictness.
The new parameter takes the "high", "normal" (default), or "low" string.
Also implemented behaviour.
2023-04-25 12:03:13 +02:00
Atgeirr Flø Rasmussen 04d2b8f39d Make KeywordValidation::validateDeck() more flexible.
Adding a bool argument 'treat_critical_as_noncritical' to possibly
reduce terminating errors to warnings.
2023-04-25 10:44:59 +02:00
Atgeirr Flø Rasmussen 77d151e0b5 Refactor get_error_report() for more flexibility. 2023-04-25 10:33:20 +02:00
Atgeirr Flø Rasmussen 343000a110 Merge pull request #4596 from GitPaean/refactor_network_update_test
refactor the network update
2023-04-24 11:54:36 +02:00
Atgeirr Flø Rasmussen e25657943e Merge pull request #4534 from akva2/disable_hdf5_compression_old_versions
changed: disable HDF5 compression with hdf5 <= 1.8
2023-03-21 09:49:19 +01:00
Atgeirr Flø Rasmussen 2964bd409e Use diagonal matrix block pointers for well source terms. 2023-03-08 16:41:36 +01:00
Atgeirr Flø Rasmussen 6d07c490c3 Merge pull request #4514 from akva2/rateconverter_coalesce_reductions
RateConverter: coalesce global reductions
2023-03-08 15:38:01 +01:00
Atgeirr Flø Rasmussen 60cdbb8cfd Treat rate control with zero target same as stopped well. 2023-03-08 15:32:55 +01:00
Atgeirr Flø Rasmussen a55f06bd32 Merge pull request #4516 from atgeirr/add-instantiation
Add explicit instantiation of cellZMinMax().
2023-03-08 13:52:55 +01:00
Atgeirr Flø Rasmussen 5979e34b9d Add explicit instantiation of cellZMinMax().
Otherwise one may have link problems on clang systems, the
reason for this is not quite clear.
2023-03-08 11:21:21 +01:00
Atgeirr Flø Rasmussen fc06fc77c3 Merge pull request #4500 from GitPaean/unifying_interface_assemble_noiteration
make sure computeWellRatesWithBhpIterations honor bhp limit (can change) for StandardWell
2023-03-07 21:02:44 +01:00
Atgeirr Flø Rasmussen fb076a7acc Merge pull request #4508 from akva2/simulatorreport_avoid_nan
SimulatorReport: protect against division by zero
2023-03-03 11:55:42 +01:00
Atgeirr Flø Rasmussen 662ecee937 Merge pull request #4505 from akva2/thresholdpressure_prt
added: log ThresholdPressures to PRT file
2023-03-03 11:55:31 +01:00
Atgeirr Flø Rasmussen c9ba0afea3 Silence warnings: struct/class, missing override. 2023-03-03 10:12:46 +01:00
Atgeirr Flø Rasmussen e2ce26c031 Merge pull request #4503 from akva2/fix_thpr_parallel
fixed: output of thresholdpressure to restart file in parallel
2023-03-02 15:47:01 +01:00
Atgeirr Flø Rasmussen b5678bf5cb Merge pull request #4495 from atgeirr/add_timing_block
Add timing block
2023-02-28 15:00:17 +01:00
Atgeirr Flø Rasmussen 7acc6feb18 Make names more consistent. 2023-02-28 13:58:02 +01:00
Atgeirr Flø Rasmussen e9d1bbc355 Merge pull request #4481 from akva2/hdf5_enable_compression
HDF5File: enable gzip compression
2023-02-28 08:13:51 +01:00
Atgeirr Flø Rasmussen 8efb30d2bb Merge pull request #4482 from totto82/addGasWaterEnergy
Add gaswater energy simulator
2023-02-28 08:01:06 +01:00
Atgeirr Flø Rasmussen 3e62a6817f Merge pull request #4483 from GitPaean/wrong_direction_flow_not_converged
not considering wells with wrong flow direction as converged
2023-02-28 07:55:07 +01:00
Atgeirr Flø Rasmussen 776fc71818 Merge pull request #4492 from akva2/restart_serialize_initial_fip
Restart serialization: Store initial fip values
2023-02-28 07:50:42 +01:00
Atgeirr Flø Rasmussen e26534ce6e Merge pull request #4491 from akva2/fix_serialization_paths
fixed: mixed-up input and output paths for restart serialization
2023-02-28 07:48:55 +01:00
Atgeirr Flø Rasmussen 1b92971e8b Merge pull request #4478 from akva2/serialization_output_dir
fixed: output OPMRST file to output dir
2023-02-23 11:18:21 +01:00
Atgeirr Flø Rasmussen e1942d145f Merge pull request #4437 from akva2/singlewellstate_serialize
SingleWellState: add serialization support
2023-02-15 15:29:08 +01:00
Atgeirr Flø Rasmussen dcd484b6cc Fix link and runtime errors when HAVE_DUNE_FEM is true. 2023-02-15 13:14:43 +01:00
Atgeirr Flø Rasmussen 358d9997ee Fix a few warnings in recently added code. 2023-02-14 15:46:08 +01:00
Atgeirr Flø Rasmussen ecfd928699 Merge pull request #4432 from akva2/add_hdf5serializer
added: HDF5 serializer
2023-02-14 14:25:45 +01:00
Atgeirr Flø Rasmussen 235a8a7f78 Avoid copying the matrix in the ILU preconditioner.
When the matrix already exists and has the correct sparsity structure
(which is assumed by the calling update()), we can copy just the data,
avoiding the need for allocation and matrix construction.
2023-02-02 14:10:16 +01:00
Atgeirr Flø Rasmussen 38282e30f7 Merge pull request #4407 from GitPaean/nodal_pressure_thp_constraint
making sure to check the network nodal pressure constraint
2023-01-26 16:06:22 +01:00
Atgeirr Flø Rasmussen 967378c1d6 Merge pull request #4348 from akva2/small_eclproblem_improvements
Small eclproblem improvements
2023-01-06 09:06:24 +01:00
Atgeirr Flø Rasmussen 2d02236014 Merge pull request #4342 from totto82/fix_vapwat_disgas
fix combination of vapwat and disgas
2023-01-02 13:22:45 +01:00
Atgeirr Flø Rasmussen ba734bc9ad Change default CPR preconditioner recreation behaviour. 2022-12-21 13:23:26 +01:00
Atgeirr Flø Rasmussen 3832b02367 Adjust default behaviours for CPR variants.
- Remove two unused parameters. CprEllSolvetype is never used, and CprEllMaxIter
   is not used correctly as is (if used, it should change the maximum iterations of
   the coarse solver, not the repeats of the preconditioner) and is better left for
   JSON file customization.
 - Make the default AMG setup for "cpr" (including "cpr_trueimpes" and "cpr_quasiimpes")
   match the setup for "cprw". In particular, beta = 0.0 (not 1e-4) and
   prolongationdamping = 1.0 (not 1.6).
 - Just as we override the default maximum number of linear iterations for cpr and cprw
   (unless the user actually specified on the command line) to 20 instead of 100, we
   change the default reduction to be 0.005 instead of 0.01.
2022-12-21 13:23:13 +01:00
Atgeirr Flø Rasmussen 012c69f75b Merge pull request #4323 from bska/output-convergence-history
Output Non-Linear Convergence to Separate File if Requested
2022-12-20 11:17:30 +01:00
Atgeirr Flø Rasmussen 69b2df4e88 Merge pull request #4319 from atgeirr/silence-struct-class-warnings
Silence warnings due to forward declaring structs as classes.
2022-12-13 12:57:30 +01:00
Atgeirr Flø Rasmussen 6531fbc146 Silence warnings due to forward declaring structs as classes. 2022-12-13 11:57:33 +01:00
Atgeirr Flø Rasmussen e6a8686c77 Merge pull request #4309 from atgeirr/write-global-cell-index-to-damaris
Write global cell index to damaris
2022-12-07 15:38:40 +01:00
Atgeirr Flø Rasmussen 130f552dac Must set location for every variable. 2022-12-07 13:37:38 +01:00
Atgeirr Flø Rasmussen 18f6f5e4e3 Push index map to Damaris for output ordering. 2022-12-07 13:05:44 +01:00
Atgeirr Flø Rasmussen e23da0b6b7 Merge pull request #4301 from akva2/msw_avoid_mutable
MultisegmentWell: avoid mutable matrices/vectors
2022-12-01 08:03:01 +01:00
Atgeirr Flø Rasmussen 7e8b0d5700 Merge pull request #4290 from totto82/refactor_primaryVars_Meaning
adapt to primary variable refactoring
2022-11-30 11:10:47 +01:00
Atgeirr Flø Rasmussen 5107bcfada Merge pull request #4226 from hnil/remove_assert_cprw
removed assert in cprw for strictly positive diagonal well coupling
2022-11-14 12:42:37 +01:00
Atgeirr Flø Rasmussen e872cfb21d Merge pull request #4194 from hnil/trueimpes_scaling_fix
- made heuristic scaling of trueimpes
2022-11-01 12:00:06 +01:00
Atgeirr Flø Rasmussen 2192b3a86c Unhide NewtonMaxIterations. 2022-10-31 17:13:09 +01:00
Atgeirr Flø Rasmussen 16ca6a5ead Merge pull request #4217 from blattms/Debian-fixes
Debian fixes (manpage and missing header include)
2022-10-31 16:29:54 +01:00
Atgeirr Flø Rasmussen 58edf39330 Add data update capability for new test. 2022-10-27 15:22:05 +02:00
Atgeirr Flø Rasmussen 711b72f28e Merge pull request #4206 from Tongdongq/fix-default-param
Removed default declaration in wrong place
2022-10-27 12:55:42 +02:00
Atgeirr Flø Rasmussen 142921e3d5 Ensure linearizer is updated after transmissibility changes. 2022-10-27 09:54:40 +02:00
Atgeirr Flø Rasmussen 9547d55d96 Add regression test for MULTFLT in SCHEDULE. 2022-10-26 14:29:18 +02:00
Atgeirr Flø Rasmussen 5f058d3e0d Merge pull request #4187 from atgeirr/fix-damaris-cmake
Use MPI_FOUND not MPI_Found.
2022-10-19 15:24:32 +02:00
Atgeirr Flø Rasmussen a9c1a0998e Use MPI_FOUND not MPI_Found. 2022-10-19 14:13:39 +02:00
Atgeirr Flø Rasmussen 870e8db59a Bump version for master branch. 2022-10-18 17:30:43 +02:00
Atgeirr Flø Rasmussen 776180c081 Merge pull request #4175 from akva2/damaris_fixes
fixed: damaris depends on mpi
2022-10-18 15:22:46 +02:00
Atgeirr Flø Rasmussen 97ed033fdf Merge pull request #4094 from totto82/checkControl
Check control
2022-10-18 14:31:31 +02:00
Atgeirr Flø Rasmussen a2c5ec1127 Merge pull request #4037 from totto82/scaleEnergy
scale energy residual to have the same relative order as the mass balance residuals
2022-10-17 23:33:28 +02:00
Atgeirr Flø Rasmussen f177b69e84 Merge pull request #4172 from atgeirr/remove-unused-vars
Remove unused variables.
2022-10-17 17:39:01 +02:00
Atgeirr Flø Rasmussen a35f365e3e Merge pull request #4143 from totto82/simplifyWellReport
only output final change of well control
2022-10-17 17:28:53 +02:00
Atgeirr Flø Rasmussen 216f77f03f Remove unused variables. 2022-10-17 16:45:18 +02:00
Atgeirr Flø Rasmussen 1eec214c89 Merge pull request #4169 from blattms/dune-2.9-fix-deprecations
Dune 2.9 fix deprecations
2022-10-17 15:17:29 +02:00
Atgeirr Flø Rasmussen 5a90ced52d Merge pull request #4054 from totto82/gasliftthplim
Allow for gaslift for wells that violate thp limit but are not allowed to switch
2022-10-17 15:15:49 +02:00
Atgeirr Flø Rasmussen 6a13fe807a Merge pull request #4155 from totto82/fixTestGlift
set alq before trying to solve the equation during well testing
2022-10-17 15:08:57 +02:00
Atgeirr Flø Rasmussen 31ac961834 Merge pull request #4157 from blattms/wellcontrib-available-always
Fix compilation with amgcl/vexcl and without CUDA/OpenCL.
2022-10-17 15:03:37 +02:00
Atgeirr Flø Rasmussen c6b3e4c462 Hide all vtk parameters. 2022-10-14 10:46:45 +02:00
Atgeirr Flø Rasmussen 69f2ede363 Merge pull request #4165 from atgeirr/avoid-useless-call
Do not call assignToSolution() and throw away the result.
2022-10-14 10:31:26 +02:00
Atgeirr Flø Rasmussen de12a990aa Do not call assignToSolution() and throw away the result. 2022-10-13 21:42:53 +02:00
Atgeirr Flø Rasmussen 2064e8725f Merge pull request #4121 from ElyesAhmed/damaris_integ_v3
Damaris integ v3
2022-10-13 14:02:30 +02:00
Atgeirr Flø Rasmussen d27ed995bf Use OpmLog. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen b7bc8437e7 Minor fixes and formatting issues addressed. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen c1b3c5e973 Rename option to EnableDamarisOutputCollective. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 066897bbf9 Remove file added by mistake. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 2c86a61b70 Remove extra whitespace. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 430d8995eb Reformatting with clang-format. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 76bacff3cf Move XML template to separate file, fix formatting, and use path. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen fd1d1d15a4 Bugfix: remove quotes around _File_Mode. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 926c213628 Make ensureOutputDirExists() callable outside readDeck.cpp, and use it.
This is necessary because when using Damaris we must have the output dir ready
when we initialize Damaris. In the existing code, this was ensured only
from the setupLogging() call.
2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen fae71df32d Fix initialization and stopping Damaris.
With this, flow no longer hangs on exit.
2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen e347959d79 Set _PATH_REGEX_ for non-async, also reformat. 2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 408fadca8e Add #define to fix compile on clang.
Necessary due to primitive check for std::unique_ptr in the XSD library.
2022-10-13 12:23:06 +02:00
Atgeirr Flø Rasmussen 38e38fd1c2 Merge pull request #4161 from blattms/do-no-include-config.h-in-headers
Move include of config.h to cpp-file
2022-10-13 09:09:42 +02:00
Atgeirr Flø Rasmussen a7a5a7a98d Make the Python interface use the TpfaLinearizer. 2022-10-04 11:44:35 +02:00
Atgeirr Flø Rasmussen d7ba860bf1 Rename so that flow_blackoil_tpfa becomes flow_blackoil. 2022-10-03 14:14:15 +02:00
Atgeirr Flø Rasmussen dacb77425a Merge pull request #4017 from atgeirr/make-fast-assembly-default
Make the TPFA linearizer default for 1/2/3 phase blackoil.
2022-10-03 12:01:22 +02:00
Atgeirr Flø Rasmussen 2542f0c549 Flag NETBALAN as partially supported. 2022-09-30 15:41:11 +02:00
Atgeirr Flø Rasmussen 67b95afdd9 Support NETBALAN (partially).
NETBALAN can be used to choose balancing frequency (limited: either start
of timestep, or first NUPCOL iterations), balancing tolerance, and maximum
balancing iterations. These correspond to items 1, 2 and 3 of NETBALAN.
2022-09-30 15:41:11 +02:00