Commit Graph
100 Commits
Author SHA1 Message Date
Bård Skaflestad 53bed60917 Merge pull request #5742 from akva2/more_code_generic_well_model
More some more code to generic well model
2024-12-19 13:50:31 +01:00
Bård Skaflestad 9ddc32a637 Merge pull request #5815 from atgeirr/hypre-fix-bigint-usage
Necessary to compile with my Hypre install.
2024-12-19 13:35:17 +01:00
Bård Skaflestad 172ae7ee76 Merge pull request #5744 from akva2/add_ratio_calc
Add dedicated class for some ratio calculation in StandardWell
2024-12-19 11:22:16 +01:00
Bård Skaflestad 78c6033ab4 Merge pull request #5797 from bska/revised-wbp-depth-corr
Chase WBP Source Requirement Change
2024-12-18 19:10:50 +01:00
Bård Skaflestad 8f42288d71 Chase WBP Source Requirement Change
The revised depth correction algorithm requires per-cell depth
information (in SourceDataSpan::Item::Depth) for the reservoir
contributions so honour this requirement.

This is potentially a somewhat wasteful approach since the cell
centre depth is constant throughout a simulation, but it's a simple
strategy that does not require large API and synchronisation
changes, so we nevertheless stick to this as a first implementation.
We will reduce the amount of communication if this becomes a
bottleneck.
2024-12-18 16:35:13 +01:00
Bård Skaflestad be4466ea5d Merge pull request #5792 from akva2/wcycle
added: support WCYCLE
2024-12-17 09:47:55 +01:00
Bård Skaflestad 79d2747cfa Merge pull request #5802 from lisajulia/feature/ms-wells-fix-restart
Feature/ms wells fix restart file error
2024-12-17 09:47:00 +01:00
Bård Skaflestad 3661501121 Merge pull request #5803 from akva2/drop_fipnum_arg
remove unused fipnum argument
2024-12-16 15:57:00 +01:00
Bård Skaflestad fb6b0cc050 Merge pull request #5796 from bska/wbpn-result-type-top-level
Chase API Update
2024-12-12 09:34:03 +01:00
Bård Skaflestad 340855a41d Chase API Update
The WBP result type is now top-level.
2024-12-11 15:34:36 +01:00
Bård Skaflestad 67fb9e7b59 Merge pull request #5777 from atgeirr/faster-openmp-props
Use regular OpenMP for loop, then iterate over chunks inside.
2024-12-11 10:40:54 +01:00
Bård Skaflestad ed5f93dcba Merge pull request #5784 from akva2/always_initial_fip
fixed: always calculate initial FIP
2024-12-05 14:58:10 +01:00
Bård Skaflestad 641f094309 Merge pull request #5765 from atgeirr/refactor-errorguard-dump-downstream
Use formattedErrors() and simplify.
2024-11-27 11:41:53 +01:00
Bård Skaflestad da63691c36 Merge pull request #5739 from vkip/gconsump_multilevel
Support GCONSUMP on multiple levels in the group hierarchy
2024-11-26 09:32:02 +01:00
Bård Skaflestad 99f3226926 Merge pull request #5761 from totto82/moveTHPoutputToDebug
Move debug output from thp calcuations from .PRT to .DBG
2024-11-25 16:43:43 +01:00
Bård Skaflestad e695550e05 Make Floating Point Existence Flag Initially Unset
PR OPM/opm-common#4348 altered the OPM build system's handling of
boolean flags and setting the flag to zero no longer works.
2024-11-22 10:39:24 +01:00
Bård Skaflestad 20a13eefcd Merge pull request #5751 from vkip/dont_initsolve_inactive_msw
Do not try to compute initial solution for inactive multi-segment wells split across processors
2024-11-21 10:16:53 +01:00
Bård Skaflestad b233ed0eae Merge pull request #5750 from bska/activate-actionx-well-templ-reg-tests
Activate New Regression Tests for ACTIONX Name Matching
2024-11-20 15:39:12 +01:00
Bård Skaflestad 3a2b143504 Activate New Regression Tests for ACTIONX Name Matching
Following PRs OPM/opm-common#4345 and OPM/opm-common#4350, this
commit puts all example models from OPM/opm-tests#1240 into the
simulator's suite of regression tests.
2024-11-19 14:57:27 +01:00
Bård Skaflestad 3188ac713a Merge pull request #5736 from bska/actionx-assign-pattern-match
Chase API Update of Action::Result
2024-11-13 16:09:21 +01:00
Bård Skaflestad d199977d75 Chase API Update of Action::Result
The type no longer uses operator overloading and the matching entity
back-end has been revised to no longer expose a vector of strings
for the well names directly.
2024-11-13 12:23:52 +01:00
Bård Skaflestad ac346b4c23 Merge pull request #5730 from akva2/fix_no_failures
fixed: don't fail build if there are no failures
2024-11-12 15:22:40 +01:00
Bård Skaflestad 091786a4bc Merge pull request #5727 from akva2/clang_janitoring
Janitoring
2024-11-11 14:02:54 +01:00
Bård Skaflestad ec3d4c6a66 Merge pull request #5726 from akva2/fix_fmt11
fixed: fmt::join is in ranges.h using {{fmt11}}
2024-11-11 13:00:51 +01:00
Bård Skaflestad 8dd83de26c Merge pull request #5725 from akva2/fix_restart_sched_param
fixed: RESTART_SCHED parameter never took effect
2024-11-11 11:32:17 +01:00
Bård Skaflestad 2908b4c8bb Merge pull request #5720 from BigDataAccelerate/fix_convergence_sepwells
Fix index bug in gpubridge separate wells
2024-11-08 15:11:26 +01:00
Bård Skaflestad 931440f266 Merge pull request #5718 from bska/action-state-addrun-api-update
Don't Pass Action::Result By Value Into Add_Run()
2024-11-07 13:55:07 +01:00
Bård Skaflestad 4739821cb4 Don't Pass Action::Result By Value Into Add_Run()
This is no longer needed so we can go back to using 'const' objects.
2024-11-07 12:15:41 +01:00
Bård Skaflestad ed290b4b36 Merge pull request #5719 from akva2/fix_pypi_release
fixed: building pypi release packages
2024-11-07 12:05:42 +01:00
Bård Skaflestad c8366e96ac Merge pull request #5716 from akva2/c++20_stuff
Quell c++-20 warnings
2024-11-06 11:17:44 +01:00
Bård Skaflestad faa485b9bd Merge pull request #5714 from bska/chase-udqconfig-api-update
Chase API Update of UDQConfig's Evaluation Functions
2024-11-06 11:13:48 +01:00
Bård Skaflestad ef434a9b59 Chase API Update of UDQConfig's Evaluation Functions
The functions no longer use the 'episeodeIdx' or Schedule
parameters.  Update callers accordingly.

While here, split some long lines and remove unneeded local objects.
2024-11-05 18:18:43 +01:00
Bård Skaflestad 2546d2b181 Merge pull request #5713 from akva2/fmt_fix_runtime_formats
fixed: use constexpr formats and/or mark format strings runtime
2024-11-05 15:59:40 +01:00
Bård Skaflestad d4f3de4fcd Merge pull request #5712 from akva2/janitoring
quell unused private member warning
2024-11-05 15:48:22 +01:00
Bård Skaflestad 51dcb67ba9 Merge pull request #5710 from akva2/fix_test_suite_name
fixed: test-suites needs a name
2024-11-05 13:37:22 +01:00
Bård Skaflestad ca62524aaf Merge pull request #5708 from blattms/feature/update-manpage
Update flow manpage with help2man.
2024-11-05 10:24:33 +01:00
Bård Skaflestad fadc96da44 Merge pull request #5705 from akva2/fix_div_by_zero_no_gpus
fixed: division by zero if no gpu device was found
2024-11-01 13:09:24 +01:00
Bård Skaflestad cdc96ac19e Merge pull request #5704 from bska/guaranteed-actionx-welpi-well-order
Simplify Logic for Exchanging PI/II Values in ACTIONX/WELPI
2024-11-01 11:53:55 +01:00
Bård Skaflestad d155d4b76a Simplify Logic for Exchanging PI/II Values in ACTIONX/WELPI
This commit switches to using the new guarantees provided by
ActionX::wellpi_wells (PR OPM/opm-common#4296), namely that the well
names are returned in sorted order on all ranks, to simplify how we
exchange the PI/II values.  In particular, given this guarantee, we
can calculate the maximum values across all ranks because zero
values correspond to missing entries and non-zero values correspond
to known entries.
2024-11-01 09:10:39 +01:00
Bård Skaflestad a08d49d3a4 Merge pull request #5701 from akva2/fix_set_active_indices
fixed: set active indices in fieldprops
2024-10-31 08:53:43 +01:00
Bård Skaflestad 9e7c3b9254 Merge pull request #5687 from GitPaean/tyring_ecl_compositional
ecl style output for compositional simulation
2024-10-30 15:49:35 +01:00
Bård Skaflestad 78226f2819 Merge pull request #5693 from bska/private-fetch-well-pi
Make WELPI Infrastructure for ACTIONX Fully Private
2024-10-30 13:12:49 +01:00
Bård Skaflestad 70e8d25276 Make WELPI Infrastructure for ACTIONX Fully Private
This is in preparation of making the match set for ACTIONX more
general.  Having a fully private WELPI framework means we can change
the types more freely without having to rebuild all users of
ActionHandler.

While here, also add Doxygen-style documentation to the ActionHandler.
2024-10-30 12:48:02 +01:00
Bård Skaflestad 0a128e8a17 Merge pull request #5699 from bska/log-pyaction
Add Logging for Python Actions
2024-10-30 09:15:03 +01:00
Bård Skaflestad 0d9000e7e0 Merge pull request #5697 from bska/dont-index-oob-for-welpi
Handle WELPI from ACTIONX Separately From Constraints
2024-10-30 09:14:12 +01:00
Bård Skaflestad e8b4cfb7ef Add Logging for Python Actions
Similar to the logging facilities we have for the regular ACTIONX
keyword, although without an explicit list of "matching" wells.
2024-10-29 21:21:27 +01:00
Bård Skaflestad 0240922cf4 Handle WELPI from ACTIONX Separately From Constraints
This commit switches to using the 'welpi_wells' information from the
SimulatorUpdate structure as a basis to decide the wells for which
it is safe/sufficient to update only the CTFs in response to an
ACTIONX block running WELPI.  To this end, we split the actions of
the existing member function updateEclWells() into two parts,

  1. updateEclWellsConstraints()
  2. updateEclWellsCTFFromAction()

in which the first handles well status and well control updates
while the second deals with CTF updates in response to WELPI.  We do
not run the second part if the well structure has changed--e.g., due
to COMPDAT or WELOPEN--since the update loop depends on a static
connection topology.

We add a new member function wellUpdateLoop() which will traverse a
sequence of well names and invoke a loop body on those wells which
exist in wells_ecl_.  This collects common operations needed for
both the constraints and the CTF updates.
2024-10-29 14:06:08 +01:00
Bård Skaflestad d8c6ebb509 Merge pull request #5691 from GitPaean/enableThresholdPressure_false
enableThresholdPressure_ initialized to be false
2024-10-25 12:45:44 +02:00
Bård Skaflestad 7f4d787522 Get WellMatcher Object Directly From Schedule
There's no need for us to invoke the WellMatcher constructor when
the Schedule object already knows how to do that.
2024-10-25 10:55:32 +02:00
Bård Skaflestad 09ebfbf3e3 Merge pull request #5664 from GitPaean/make_flowexp_version_output_rst
in flowexp_blackoil, invalidate output data after solution is updated
2024-10-21 12:04:47 +02:00
Bård Skaflestad 0d4b7ece0a Merge pull request #5668 from totto82/fixGWrestart
FIX gas-water restart
2024-10-17 09:18:31 +02:00
Bård Skaflestad 2aac0d6cf5 Enable New Saturation Function Consistency Checks
The new parameter CheckSatfuncConsistency, command line option
--check-satfunc-consistency, allows users to opt into running the
checks.  The option currently defaults to 'false' to reflect the
somewhat experimental nature of the new facility.

The new parameter --num-satfunc-consistency-sample-points allows the
user to select the maximum number of reported failures for each
individual consistency check.  By default, the simulator will report
at most five failures for each check.

We check the unscaled curves if the run does not activate the
end-point scaling option and the scaled curves otherwise.  At
present we're limited to reversible and non-directional saturation
functions for the drainage process, but those restrictions will be
lifted in due time.
2024-10-16 15:03:07 +02:00
Bård Skaflestad 92efa31c31 Tidy Up FlowProblem* Classes
In preparation of enabling the new saturation function consistency
checks.
2024-10-16 12:18:33 +02:00
Bård Skaflestad b5305b928d Use More Specific Name for 'anyFailedChecks'
The function returns whether or not there were any failed checks at
the 'Standard' level.  Make the function name reflect this.
2024-10-16 09:32:19 +02:00
Bård Skaflestad 8082e72d32 Add Top Level Container for Saturation Function Consistency Checks
This commit introduces a new top-level "manager" for all saturation
function consistency checks.  This component associates collections
of saturation function curves with per-cell or per-region end-point
definitions and provides an interface to run all checks for all
interior entities (i.e., active cells) in a DUNE grid view.  We form
one set of SatfuncConsistencyChecks objects for each
SatfuncCheckPointInterface<> object, thereby enabling running the
same set of consistency checks for both the unscaled, tabulated,
per-region saturation functions and the per-cell scaled saturation
functions.  The latter is executed only if the run enables end-point
scaling for the saturation functions while the former is executed
only if the run does not enable end-point scaling.

At present we're limited to reversible and non-directional
saturation functions for the drainage process only, but those
restrictions will be lifted in due time.

As an aid to enabling the pertinent individual checks, we add a
private factory function which considers the run's active phases and
whether or not the run uses the alternative, three-point horizontal
scaling method ("SCALECRS = YES").
2024-10-16 09:32:19 +02:00
Bård Skaflestad 98513d92f9 Merge pull request #5675 from jakobtorben/fix_memory_bug_in_setPrimaryVars_for_msw
Fix memory bug in setPrimaryVars for MSW
2024-10-16 09:26:06 +02:00
Bård Skaflestad c228f31287 Merge pull request #5665 from bska/assign-per-rank-tracer-conc-at-restart
Use Rank's Local Cells for Tracer Concentration Restart
2024-10-14 17:24:33 +02:00
Bård Skaflestad 65654c8e01 Use Rank's Local Cells for Tracer Concentration Restart
The 'globalIdx' generated by localIdxToGlobalIdx() is in the range
zero to number of active cells in global model, not zero to number
of active cells on rank.  Using 'globalIdx' as an argument to
set*TracerConcentration() therefore ends up indexing out-of-bounds
for the internal arrays in the tracer model object in parallel
restarted simulation runs.

The problem has been present since the restart support for tracers
was added in commit e9c45f4ca (PR #3708).

This commit switches to using the 'elemIdx' instead, as we already
do when calling the output module's setRestart() member function.
Following this, we are able to restart the standard Norne benchmark
case (NORNE_ATW2013.DATA) in parallel.  The numerical results for
the tracer concentrations are, however, a little questionable and
will warrant further investigation.  Nevertheless, the tracer values
are now the same in a parallel restarted run as in a sequential
restarted run.
2024-10-11 18:05:48 +02:00
Bård Skaflestad 257e5a2d2a Add Protocol for Populating Saturation Function End Points per Cell
This commit introduces a set of callback functions, packaged in an
abstract base class SatfuncCheckPointInterface<Scalar>, for querying
and populating the saturation function end-points that get probed by
the individual consistency checks.  Member function

    SatfuncCheckPointInterface::pointID(cellIdx)

translates the active cell index 'cellIdx' into a point ID, assumed
to be unique on at least the current MPI rank.  This function will
return 'nullopt' if the 'cellIdx' is not eligible for this
particular end-point.  This typically happens for the region based
tabulated (unscaled) saturation function checks when the 'cellIdx'
happens to be in a region that's already been visited.  Member
function

    SatfuncCheckPointInterface::populateCheckPoint(cellIdx, endPoints)

fills in (assigns) all data members of the 'endPoints' structure
with the pertinent values for the active cell 'cellIdx'.

We implement this interface for the tabulated/unscaled end-points in
derived class UnscaledSatfuncCheckPoint<Scalar> and for the scaled
end-points in derived class ScaledSatfuncCheckPoint<Scalar>.  The
former keeps track of which saturation regions have been visited
and short-circuits its 'pointID()' member function based on that
information while the latter uses an instance of the former in order
initialise the 'endPoints' structure in its populateCheckPoint()
member function.
2024-10-11 11:47:50 +02:00
Bård Skaflestad eaa9e994d2 Merge pull request #5662 from bska/bump-version
Bump Master Development Version
2024-10-11 11:31:17 +02:00
Bård Skaflestad cab5b7c000 Bump Master Development Version
New features now go into the 2025.04 release.
2024-10-11 10:10:55 +02:00
Bård Skaflestad 71079ce737 Initialise Fluid-in-Place Balance Sheets at Restart
Commit 6ba9dc086 (PR #5626) moved the balance sheet report output
logic ahead of the timestep.  As a consequence, the output module's
'inplace_' and 'initialInplace_' data members must be fully
initialised the first time we call 'writeReports()' if the run
requests balance sheet output.

This commit initialises those objects by calling calc_inplace() from
EclWriter<>::endRestart().  Doing so restores the behaviour from
before PR #5626.  Note, however, that using this value for
'initialInplace_' is incorrect as the simulator then, in a restarted
run, will calculate recovery factors based on the fluid distribution
at the restart time instead of at the start of the base run.
Nevertheless this is, as alluded to earlier, how the simulator has
always performed.  The behaviour is just a little more explicit now.
2024-10-10 12:47:13 +02:00
Bård Skaflestad 1475e47901 Merge pull request #5652 from bska/regression-test-equalreg-multy
Activate New Regression Tests for EQUALREG/MULTY
2024-10-10 12:39:08 +02:00
Bård Skaflestad ffc0b5304f Merge pull request #5654 from bska/varnish-eclwriter-beginrestart
Varnish EclWriter::beginRestart() Implementation
2024-10-10 12:35:43 +02:00
Bård Skaflestad 9344423d04 Varnish EclWriter::beginRestart() Implementation
In particular,

  - Split some long lines
  - Mark objects 'const' where possible
  - Reduce scope of objects
  - Add braces to single statement control structures
  - Prefer pre-increment
  - Prefer type deduction for induction variables
2024-10-10 11:35:21 +02:00
Bård Skaflestad 8ccf4682a8 Activate New Regression Tests for EQUALREG/MULTY
We use all models generously provided in PR OPM/opm-tests#1239.
2024-10-10 11:35:16 +02:00
Bård Skaflestad e550fd71d0 Simplify Unit Tests for LogOutputHelper
In particular, put more of the common setup code into the test
fixture and use more powerful constructors for the EclipseState
object.  While here, also switch to using the update_well_var() and
update_group_var() member functions on the SummaryState object where
appropriate since the resulting statements become slightly easier to
understand in isolation.
2024-10-10 09:56:14 +02:00
Bård Skaflestad dfad8d1ba1 Merge pull request #5644 from akva2/pybind11_bump
Adjust packaging for pybind bump
2024-10-08 10:56:02 +02:00
Bård Skaflestad 6a7efcbcaa Merge pull request #5645 from kjetilly/flowexp_components
Support for 2 to 7 components in flowexp_comp
2024-10-08 09:25:08 +02:00
Bård Skaflestad 779522fff1 Enable EQUALREG for Array Operations
The keyword's implementation has reached a point where we can
justify its addition to the simulator's feature set.
2024-10-06 15:22:37 +02:00
Bård Skaflestad 8ae31797b1 Merge pull request #5647 from blattms/feature/pinch-4-all-regression-tests
Also perform regression tests for PINCH(4) being ALL.
2024-10-05 18:04:49 +02:00
Bård Skaflestad 0b94f11b5c Merge pull request #5625 from GitPaean/zmf_supporet
supporting ZMF explicit solution
2024-10-04 09:16:25 +02:00
Bård Skaflestad 3acf0cbd14 Merge pull request #5640 from bska/fix-displacing-oil-go-consistency-check
Fix Lower Bound Conditions for Three Point Checks
2024-10-02 15:15:18 +02:00
Bård Skaflestad 120b39a8f9 Fix Lower Bound Conditions for Three Point Checks
These are supposed to verify that the displacing saturation is
strictly between the critical and the maximum saturation values.
2024-10-02 12:33:22 +02:00
Bård Skaflestad 836e71cca0 Merge pull request #5639 from akva2/fix_missing_test_args
fixed: missing TEST_ARGS in test specifications
2024-10-02 11:53:24 +02:00
Bård Skaflestad 919f30029f Merge pull request #5635 from akva2/dont_store_sched_deck
changed: don't store schedule keywords unless required in simulators
2024-10-01 13:12:21 +02:00
Bård Skaflestad fc578bad7f Merge pull request #5632 from atgeirr/speed-up-numerical-aquifers
AquiferNumerical: speed up calculations.
2024-09-25 21:11:32 +02:00
Bård Skaflestad 02555ac504 Merge pull request #5626 from vkip/rptsched_wells
Support RPTSCHED WELLS=N
2024-09-25 09:27:58 +02:00
Bård Skaflestad aa4c2e0c0d Merge pull request #5621 from bska/rptrst-rfip
Implement 'RFIP' and 'SFIP' Mnemonics For RPTRST
2024-09-24 14:33:46 +02:00
Bård Skaflestad a38704ecb0 Implement 'RFIP' and 'SFIP' Mnemonics For RPTRST
The 'FIP' mnemonic continues to be an alias for 'SFIP' in the
current implementation, and the output layer will create the 'SFIP'
arrays as copies of 'FIP' if passed only the 'FIP' arrays.

To this end, make 'outputFipRestart_' into a structure that tracks
which of the *FIP mnemonics have been requested, and insert the
pertinent solution arrays into the data::Solution object when
needed.
2024-09-24 13:38:56 +02:00
Bård Skaflestad 096e0e11c9 Initialise Output Module's Boolean Flags
While here, also insert a few blank lines in the copyright statement
to make it more in line with the rest of opm-simulators.
2024-09-24 13:38:56 +02:00
Bård Skaflestad 4a6627c10d Merge pull request #5618 from GitPaean/setup_log_comp
setting up logging so flowexp variants can report parsing errors
2024-09-20 09:05:05 +02:00
Bård Skaflestad 7ae70ef767 Merge pull request #5614 from akva2/janitoring_clang
Quell some clang warnings
2024-09-17 09:13:34 +02:00
Bård Skaflestad 32886f6cb4 Merge pull request #5612 from akva2/more_tus
Split out vtk module parameters to separate translation units
2024-09-16 15:47:30 +02:00
Bård Skaflestad ec15bad996 Merge pull request #5598 from akva2/sca_mark_unpack_buffer_const
MPIPacker: mark buffer const in unpacker functions
2024-09-11 13:44:05 +02:00
Bård Skaflestad fc8135894c Merge pull request #5594 from bska/fix-sgmax-consistency-check
Fix Consistency Check for Maximum Gas Saturation
2024-09-11 08:48:23 +02:00
Bård Skaflestad ba1419b31f Fix Consistency Check for Maximum Gas Saturation
The earlier condition

    0 <= SGU < 1

was not appropriate and would, for instance, fail the NORNE_ATW2013
test case in which SGU = 1 in the unscaled table for saturation
region 1.  Revise the condition to be more in line with that of SWU,
i.e., as

    0 < SGU <= 1

Pointy Hat: [at]bska
2024-09-10 15:44:16 +02:00
Bård Skaflestad 03795d5b23 Merge pull request #5588 from akva2/move_python_initialization_function
Move python initialization function
2024-09-09 14:54:14 +02:00
Bård Skaflestad 95af21095e Merge pull request #5587 from akva2/fix_python_binding_version
fix python package versioning
2024-09-09 12:57:16 +02:00
Bård Skaflestad 8f761c51a2 Merge pull request #5582 from akva2/micro_tu_optims
Move more opm-models code to translation units
2024-09-05 15:34:47 +02:00
Bård Skaflestad 46c652b553 Fix Build on Older Compilers
The strsignal() function is declared in <string.h> on those.
2024-09-05 13:19:44 +02:00
Bård Skaflestad 3ee6c07076 Merge pull request #5573 from bska/threept-horiz-sfunc-consistency-checks-impl
Add Saturation Function Consistency Checks for SCALECRS
2024-09-05 11:41:48 +02:00
Bård Skaflestad 3de20b46b6 Add Saturation Function Consistency Checks for SCALECRS
This commit introduces consistency checks for the scaled displacing
saturation in the three point horizontal scaling method
(SCALECRS=YES).  These plug into the framework introduced in commit
c3939c544 (PR #5438).  We implement the following two checks

  - SGCR < 1-SOGCR-SWL < SGU
  - SWCR < 1-SOWCR-SGL < SWU

which collectively guarantee a mobile displacing oil saturation in
the two phase gas/oil and oil/water systems.
2024-09-05 10:36:43 +02:00
Bård Skaflestad 9a0e39c1ad Merge pull request #5578 from akva2/parametersystem_tu
ParameterSystem: add translation unit
2024-09-05 10:34:51 +02:00
Bård Skaflestad be94b037bc Merge pull request #5579 from bska/dont-count-cells-if-not-needed
Don't Count Cells Unless Needed
2024-09-05 10:04:41 +02:00
Bård Skaflestad 329ad50e59 Don't Count Cells Unless Needed
If the user chooses a specific number of NLDD domains, there is no
need to compute the default number of domains based on a specific
target number of cells per domain.  Defer the, potentially costly,
calculation to when we know we need it.

While here, also split/rejoin a couple of long lines.
2024-09-05 09:45:16 +02:00
Bård Skaflestad 415d1a1173 Merge pull request #5572 from bska/wphase-sfunc-consistency-checks-impl
Add Water Phase Saturation Function Consistency Checks
2024-09-04 15:02:00 +02:00
Bård Skaflestad be64ef3ef6 Add Water Phase Saturation Function Consistency Checks
This commit introduces a set of consistency checks for the water
phase saturation functions.  These plug into the framework
introduced in commit c3939c544 (PR #5438).  We implement the
following three checks

  - 0 <= SWL < 1
  - 0 < SWU <= 1
  - SWL <= SWCR < SWU

which collectively enable a non-negative oil saturation in the two
phase oil/water system.
2024-09-04 13:47:33 +02:00
Bård Skaflestad d69d929d37 Merge pull request #5571 from bska/gphase-sfunc-consistency-checks-impl
Add Gas Phase Saturation Function Consistency Checks
2024-09-04 13:02:25 +02:00
Bård Skaflestad da1e7b1114 Merge pull request #5575 from akva2/parallel_tu
Add some more translation units for code from opm-models
2024-09-04 12:46:05 +02:00