Kai Bao
a373fc004e
Merge pull request #5431 from GitPaean/stablize_python_test
...
Stablize python test
2024-06-19 22:16:58 +02:00
Kai Bao
027c3ba0fc
using one day time step for SPE1CASE1a/SPE1CASE1.DATA
...
to avoid time stepping change causes test failures for the python tests
2024-06-19 13:42:55 +02:00
Kai Bao
fd5e9d167f
addressing reviewing comments OPM/opm-simulators#5419
2024-06-10 16:08:44 +02:00
Kai Bao
062a98b305
restruct so that we can release the global trans earlier
...
in the funciton finishInit().
2024-06-10 16:08:44 +02:00
Kai Bao
8f67881809
using enum class to replace boolean onlyTrans for
...
Transmissibility::update() for better readability, which is suggested by the reviewer.
2024-06-06 20:09:44 +02:00
Kai Bao
303a677a81
only allocate trans_ for globalTrans_
...
others are not needed for globalTrans_ for now. It will help to flatten
the peak memory usage for rank 0 during a parallel running.
2024-06-05 21:35:46 +02:00
Kai Bao
904cb7e2c4
Merge pull request #5395 from steink/consistent_vfp_interpolation
...
Small fixes related to thp-control/vfp-extrapolation
2024-06-04 15:15:41 +02:00
Kai Bao
e968da28bb
renaming calcRates to calcResvCoeff
...
and calcInjRates to calcInjResvCoeff.
2024-05-29 22:29:12 +02:00
Kai Bao
481c4830b5
only trying to link darmaris when requested
2024-05-28 16:16:19 +02:00
Kai Bao
0f9633b198
limiting max time step to 10 days for PYACTION_WCONPROD
...
to make the regression checking more stable.
2024-05-27 14:19:04 +02:00
Kai Bao
5fda72d24f
removing unused releaseGlobalTransmissibility()
...
from AluGridVanguard and CpGridVanguard.
they exist is becaluse of typo in the function name. There is another
releaseGlobalTransmissibilities() function actually gets used.
2024-05-10 16:45:00 +02:00
Kai Bao
b225ec240f
removing updateKrnum_
...
which does not have effects, which was suggested by Håkon Hægland.
And also removing the following member variables from
FlowGenericProblem because they are not in use anymore.
krnumx_, krnumy_, krnumz_;
imbnumx_, imbnumy_, imbnumz_;
2024-05-08 09:41:46 +02:00
Kai Bao
79236c4927
removing unused updateImbnum_ function
2024-05-08 09:33:00 +02:00
Kai Bao
702a0565a9
Merge pull request #5310 from akva2/janitoring
...
FlowExp: spring cleaning
2024-04-25 10:56:52 +02:00
Kai Bao
e7f208a84a
Merge pull request #5298 from GitPaean/adding_flowexp2
...
Adding flowexp_blackoil
2024-04-24 15:26:51 +02:00
Kai Bao
cd14204727
changing FlowNewtonMethod to be FlowExpNewtonMethod
...
as requested by reviewer.
2024-04-23 11:39:49 +02:00
Kai Bao
729be2c658
some cleaning up related to flowexp
2024-04-23 11:39:49 +02:00
Kai Bao
e2cfd0bd34
adding regression test for flowexp_blackoil
...
based on SPE1CASE2
2024-04-23 11:39:49 +02:00
Kai Bao
d381d06d7a
renaming ebos for flowexp usage
2024-04-23 11:39:49 +02:00
Kai Bao
d2ce814eae
renaming the file names
2024-04-23 11:39:49 +02:00
Kai Bao
68c202eb55
using flowexp as files names
2024-04-23 11:39:49 +02:00
Kai Bao
7cc1880196
updating due to removing of EWOMS_GET_PARAM
2024-04-23 11:39:49 +02:00
Kai Bao
98543258d9
light cleaning up for flowexperimental related
2024-04-23 11:39:49 +02:00
Kai Bao
f6170ec1dd
copying the ebos from opm-flowexperimental
2024-04-23 11:39:49 +02:00
Kai Bao
29358ee70b
removing the including of FlowProblem in BlackoilWellModel
2024-03-27 13:12:55 +01:00
Kai Bao
9e726f5430
Merge pull request #5245 from akva2/ebos_drop_full
...
Drop ebos: Mega PR
2024-03-08 15:07:24 +01:00
Kai Bao
75f38ca726
Merge pull request #5178 from akva2/baseaquifermodel_move
...
move ebos/eclbaseaquifermodel.hh to opm/simulators/flow
2024-03-06 12:47:51 +01:00
Kai Bao
aa2fa12598
Merge pull request #5167 from akva2/drop_ebos_simulator_params
...
Rename ebos_simulator parameters to simulator
2024-03-06 11:48:03 +01:00
Kai Bao
5f2c9192d0
Merge pull request #5177 from akva2/move_collect_iorank
...
ebos/collecttoiorank: move to opm/simulators/flow
2024-03-06 11:44:46 +01:00
Kai Bao
339cc29f47
Merge pull request #5165 from akva2/drop_ebos_in_function_names
...
Drop ebos in function names
2024-03-06 10:48:13 +01:00
Kai Bao
9f13a25ebc
Merge pull request #5175 from akva2/move_alugrid
...
Move AluGrid files from ebos to opm/simulators/flow
2024-03-06 00:02:12 +01:00
Kai Bao
ed9876a5c4
Merge pull request #5185 from akva2/move_outputblackoilmodule
...
Move BlackoilOutputModule from ebos to opm/simulators/flow
2024-03-05 23:31:44 +01:00
Kai Bao
cd9a208757
Merge pull request #5166 from akva2/indices_drop_ebos
...
Drop ebos in index functions
2024-03-05 23:31:27 +01:00
Kai Bao
d764eb416c
Merge pull request #5203 from akva2/rename_drift_parameter
...
rename EclEnableDriftCompensation parameter to EnableDriftCompensation
2024-03-05 21:10:50 +01:00
Kai Bao
a9a0ae1eb0
Merge pull request #5234 from GitPaean/not_limiting_normal_segments
...
not using spres_lower_limit limit non-top segments
2024-03-04 23:28:47 +01:00
Kai Bao
c61f0b104c
outputting segments with pressure close to lower limit
...
if the well does not get converged.
2024-03-02 16:28:33 +01:00
Kai Bao
f7ad5cb211
not using spres_lower_limit limit non-top segments
...
with multi-segments, the segment pressure can be lower than the bhp, so
it is not desirable to use spres_lower_limit to limit the segment
pressure. We only use spres_lower_limit to limit the bhp, which is still
valid until we begin using bhp limit lower than 1 bar.
2024-03-02 15:19:17 +01:00
Kai Bao
06dba324d2
Merge pull request #5221 from vkip/avoid_injector_alq_lookup
...
Avoid injector alq lookup
2024-02-28 11:40:27 +01:00
Kai Bao
60594a5e1b
Merge pull request #5129 from steink/avoid_reopening_stopped_wells
...
Avoid re-opening previously stopped wells
2024-02-12 14:44:15 +01:00
Kai Bao
e5e9143a2a
shutting wells zero rate constraint and not allowing crossflow
2024-02-01 23:09:53 +01:00
Kai Bao
2ddba5b339
Merge pull request #5128 from steink/fix_network_convergence_issues
...
Fix network convergence issues
2024-01-30 00:17:09 +01:00
Kai Bao
f0fab97bb6
Merge pull request #5124 from vkip/revert_always_open_history_wells
...
Revert always open history wells
2024-01-29 10:10:55 +01:00
Kai Bao
e405f49def
Merge pull request #5040 from steink/fix_acceleration_pressure_loss
...
Include all derivatives for acceleration term in MS wells
2024-01-09 16:35:03 +01:00
Kai Bao
3aed0b9501
not updating the connection pressure for StandardWell
...
at the early stage of computeWellRatesWithBhpIterations. The perforation rates are not updated,
and it is not sensible to update based on the inconsistent well rates and perforation rates.
Better to keep the original explicit quantities for better consistency.
Furthermore, it can be dangerous to update the explicit quantities based on the
irrelevant perforation rates, since the ratios can be very undesirable due to crossflow.
2023-11-23 09:13:57 +01:00
Kai Bao
6ab809c69d
Merge pull request #5004 from blattms/control-mode-typo
...
Fixed typo: control model -> control mode.
2023-11-20 09:13:03 +01:00
Kai Bao
3b1ef932c2
Merge pull request #5003 from vkip/check_if_closed_before_hist_open
...
Check if well was closed this step before re-opening during history
2023-11-20 09:03:06 +01:00
Kai Bao
e355990ac2
Merge pull request #4999 from vkip/always_open_historic_wells
...
Always check if wells on historic controls can be opened
2023-11-15 20:29:21 +01:00
Kai Bao
bbdad520d6
Merge pull request #4915 from vkip/network_multi_root
...
Support computation of network pressures in networks with multiple roots
2023-11-13 14:39:07 +01:00
Kai Bao
25b007c46e
Merge pull request #4945 from vkip/network_reroute
...
Network reroute - avoid looking up nonexisting nodes
2023-11-08 19:59:40 +01:00
Kai Bao
07074d551a
Merge pull request #4959 from totto82/new_linearizer_gaswater
...
Use new linearizer for gaswater with thermal and diffusion
2023-10-31 13:19:36 +01:00
Kai Bao
86c919877e
Merge pull request #4946 from GitPaean/assertion_throw
...
making a few assertion to throw in StandardWellPrimaryVariables
2023-10-26 13:42:09 +02:00
Kai Bao
3e03ebbb58
making a few assertion to throw in StandardWellPrimaryVariables
...
to get more outputting information and also avoid harsh termination due
to assert.
They are technically numerical problem instead of programming mistakes.
2023-10-26 11:36:25 +02:00
Kai Bao
beda7a0b35
checking LIFTOPT active before trying to optimizing alq
...
in gliftBeginTimeStepWellTestIterateWellEquations.
otherwise, if the increment is 0 (inactive), the function
gliftBeginTimeStepWellTestIterateWellEquations
might return undesired results or enter endless loop.
2023-10-25 23:00:54 +02:00
Kai Bao
2b97c3fe1d
checking LIFTOPT active before gliftBeginTimeStepWellTestUpdateALQ
...
to avoid meaningless message output related to GLIFT and WTEST
2023-10-25 21:45:19 +02:00
Kai Bao
83ed0f01e5
use the REQUEST_OPEN_WELL event to open closed wells
2023-10-20 13:08:07 +02:00
Kai Bao
e1018e2815
if there is no VFP table associated with the well
...
we set the thp to be zero in the WellState. The previous logic related
this to THP constraints does not hold in multiple situations:
1. VFP table is specified, we need the THP value for output purpose
2. network is involved, we need the THP value for constraint check.
2023-10-16 21:43:18 +02:00
Kai Bao
b975ebff65
Merge pull request #4881 from vkip/no_network_solve_in_history
...
Avoid iterating network if no network wells are in prediciton mode
2023-10-16 14:54:36 +02:00
Kai Bao
81758cca2c
using TUNING for the tests under folder wtest
2023-10-12 10:34:26 +02:00
Kai Bao
3af34e4ae6
Merge pull request #4923 from GitPaean/using_report_step
...
distinguishing report step and time step
2023-10-11 23:14:43 +02:00
Kai Bao
f5d3489d23
distinguishing report step and time step
...
for the funcitons related to createWellContainer() and
runWellPIScaling().
So it is not exhaustive, but we should do it gradually.
2023-10-11 11:33:02 +02:00
Kai Bao
a525f0865f
removing white spaces in the wells folder
2023-10-09 11:14:48 +02:00
Kai Bao
b1974bbe45
recovering the SHUT during iteration beahvoir in prepareWellBeforeAssembling
...
when local_well_solver_control_switching_ is off
and incoporating commenst regarding resetting wellStatus_ in StandardWell within
the function iterateWellEqWithSwitching.
2023-09-29 10:55:19 +02:00
Kai Bao
83bbe89342
LocalWellSolveControlSwitching default to be false
2023-09-29 10:55:19 +02:00
Kai Bao
e38e557bbc
cleaning up to preapre for pull request
2023-09-29 10:55:19 +02:00
Kai Bao
8bc88ec80b
setting 10-day maximum time step for two regressiong tests
...
3_MULTFLT_MODEL2 and 4_MINPVV_MODEL2.
Hopefully the tests will be more stable and serve better as regression
tests.
2023-09-19 17:02:13 +02:00
Kai Bao
9d642fd7ce
only outputting some network info to the rank 0 process
2023-09-19 16:17:19 +02:00
Kai Bao
f4a420d2f9
reducing the bhp lower limit slightly to handle 1 bar bhp limit
...
it turns out that 1bar is the default bhp constraint for some keywords,
and some cases are depending on it.
2023-09-19 15:30:42 +02:00
Kai Bao
b79e3a7de2
removing rate relaxation during updateNewton in StandardWellPrimaryVariables
...
it was introduced back then for some purpose. The purpose might not
apply anymore due to other development. And also, some issues were
reported for some situtation with the approach.
2023-09-13 12:16:58 +02:00
Kai Bao
62abbbde60
Merge pull request #4841 from GitPaean/set_bhp_update_well_state_2
...
setting the bhp to be bhp_limit when bhp value is not initialized with rate target control when updateWellStateWithTarget()
2023-09-07 10:48:17 +02:00
Kai Bao
529af98ce9
setting uninitialized bhp to be bhp_limit in updateWellStateWithTarget
...
to avoid uninitialized bhp 0. to be used.
2023-09-07 08:50:37 +02:00
Kai Bao
59f622f97c
Merge pull request #4825 from GitPaean/tpfa_diffusion
...
add tpfa as lineariser for gasoil_energy (with diffusion) and gas oil diffusion
2023-09-04 20:57:42 +02:00
Kai Bao
197b52b4c1
adding regression test for MSW-2D-VERT-02
...
to protect the development regarding ICD with hydrostatic and
accelerational pressure drops, which is introduced in PR OPM/opm-simulators#4824
2023-09-01 23:54:20 +02:00
Kai Bao
abe6ec2dde
Merge pull request #4824 from vkip/add_acc_and_hydro_to_icdsegs
...
Adding hydrostatic and acceleration pressure losses to icd segments
2023-08-31 19:58:30 +02:00
Kai Bao
3315027bcc
Merge pull request #4814 from hnil/tpfa_temp
...
Tpfa temp
2023-08-31 11:17:38 +02:00
Kai Bao
f7bd386402
adding the support for filtration_summary_keywords
2023-08-29 21:31:24 +02:00
Kai Bao
005e67ffbf
Merge pull request #4817 from steink/skip_rate_init_for_stopped_or_zero_target_wells
...
Skip initialization of rates for stopped/zero-rate-target wells
2023-08-29 21:17:18 +02:00
Kai Bao
9e6c7071c0
Merge pull request #4760 from plgbrts/std-network
...
removed GRUPNET from unsupported keyword list
2023-08-23 23:03:29 +02:00
Kai Bao
6d011131cd
UDQ for the injection concentration for WINJFCNC
2023-08-23 11:44:50 +02:00
Kai Bao
c46f60103e
adding perf_data comparison in equality operator for SingleWellState
2023-08-08 14:52:49 +02:00
Kai Bao
ff69d48feb
Merge pull request #4782 from GitPaean/removing_dup_entries_clang
...
removing the duplicated AlignAfterOpenBracket entries in .clang-format
2023-08-08 14:11:06 +02:00
Kai Bao
a10cf3b2cb
removing the duplicated AlignAfterOpenBracket entries in .clang-format
2023-08-08 13:18:51 +02:00
Kai Bao
57532195da
Merge pull request #4669 from steink/explicit_vfp_fallback
...
Include fallback to explicit vfp lookup for tiny rates - testing
2023-07-07 14:55:56 +02:00
Kai Bao
e264042c62
refining the function updateInjFCMult
...
for code improvements.
2023-07-07 09:32:03 +02:00
Kai Bao
22269c92c3
adding regression tests for filtration cake model
2023-07-06 23:38:53 +02:00
Kai Bao
1981a3bf4d
switching to scale the mobility instead of the well index
...
mostly to make the calculation of productivity easier.
2023-07-06 15:58:30 +02:00
Kai Bao
cb74d26e85
WIP in storing the filtration_particle_volume in BlackoilWellModelGeneric
...
instead of PerfData to handle the situation that well can be SHUT and
OPEN again.
2023-07-05 13:25:03 +02:00
Kai Bao
274c431492
tracking filtration particle volume instead of water injection volume
...
for filter cake calculation. The main reason is that the injection
concentration may vary during the simulation, which makes the tracking
of water injection volume is not very helpful when used for filter cake
calculation.
2023-07-05 13:25:03 +02:00
Kai Bao
eb08e2e863
cleaning up implementation related to filter cake
2023-07-05 13:25:03 +02:00
Kai Bao
7e5f1a1642
slightly different way to calculate the skin factor
...
for the radial model of the filter cake.
not tested yet.
2023-07-05 13:25:03 +02:00
Kai Bao
4cb3574e0f
incoporate keyword WINJCLN
...
still in draft state.
2023-07-05 13:25:03 +02:00
Kai Bao
43196800b6
a draft version for for RADIAL model for WINJDAM
2023-07-05 13:25:03 +02:00
Kai Bao
aa5062683d
a draft version for the linear geomery WINJDAM
2023-07-05 13:25:03 +02:00
Kai Bao
5e4cb8aeed
WIP in using the filter cake to generate the skin factor
2023-07-05 13:25:03 +02:00
Kai Bao
49774186ab
calculating the accumulative water injection volume
...
for each connection
2023-07-05 13:25:03 +02:00
Kai Bao
f78f8e45f7
addressing the review comments
2023-06-27 14:46:11 +02:00
Kai Bao
cacec2739c
moving the inj_multiplier to BlackoilWellModelGeneric
...
to handle the situation that a well can be `SHUT` in the Schedule.
If stored in PerfData, when a well is `SHUT`, the inforamtion related to
WINJMULT will be discarded.
Before we want to change how the `PerfData` works, storing
`inj_multiplier` in BlackoilWellModelGeneric is the viable approach.
2023-06-27 12:49:25 +02:00
Kai Bao
b50c404247
adjusting the implementation of WINJMULT support
...
addn relaxed the absolute tolearnce of the parallel running test for
WINJMUT_MSW
2023-06-27 12:49:25 +02:00
Kai Bao
4582684422
adding regressing tests for WINJMULT
2023-06-27 12:49:25 +02:00
Kai Bao
b1fad4bb10
store the inj_multiper in PerfData in WellState
2023-06-27 12:49:25 +02:00
Kai Bao
cc9ee9c059
support WINJMULT
2023-06-27 12:49:25 +02:00