Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressed air models not running in Flow #5260

Open
EdmundStephens opened this issue Mar 22, 2024 · 1 comment
Open

Compressed air models not running in Flow #5260

EdmundStephens opened this issue Mar 22, 2024 · 1 comment

Comments

@EdmundStephens
Copy link

[v2023.10.0] We are running single cells and well / pipeline performance models for a compressed air energy storage investigation. (Adjunct to Windfarm curtailment and load balancing). Please can you suggest what is going wrong, if there are any --parameter-file settings that might help ?

These are single phase (GAS only) models, the model runs in Eclipse but not in Flow.
CAES_test1_Ecl.zip
CAES_test1_Flow.zip

The Flow run gives the following error:

Complete report step 1 (1 DAYS) at 2030-01-02 (0 DAYS)

Initializing report step 2/289 at 2030-01-02 (0 DAYS) line 389
Processing keyword RPTRST at line 392
Processing keyword WELOPEN at line 401
Complete report step 2 (0.041666666666666664 DAYS) at 2030-01-02 (1 DAYS)

Initializing report step 3/289 at 2030-01-02 (1 DAYS) line 406
Complete report step 3 (0.041666666666666664 DAYS) at 2030-01-02 (1.0416666666666665 DAYS)

Initializing report step 4/289 at 2030-01-02 (1.0416666666666665 DAYS) line 406
Complete report step 4 (0.041666666666666664 DAYS) at 2030-01-02 (1.0833333333333333 DAYS)

Initializing report step 5/289 at 2030-01-02 (1.0833333333333333 DAYS) line 406
Complete report step 5 (0.041666666666666664 DAYS) at 2030-01-02 (1.125 DAYS)
No suitable configuration found, valid are Twophase, polymer, foam, brine, solvent, energy, and blackoil.

When I put in a WATER phase, again this runs Ok in Eclipse but a different error is produced by Flow:
CAES_test2_Flow.zip
CAES_test2_Ecl.zip

================ Starting main simulation loop ===============

Report step  0/289 at day 0/13, date = 01-Jan-2030
Using Newton nonlinear solver.

Starting time step 0, stepsize 1 days, at day 0/1, date = 01-Jan-2030

Error: [./opm/simulators/wells/StandardWellPrimaryVariables.cpp:694] Infinite primary variable after update from wellState, well: I1A

Warning: Inner well iterations failed for well I1A Treat the well as unconverged.

Error: [./opm/simulators/wells/StandardWellPrimaryVariables.cpp:694] Infinite primary variable after update from wellState, well: I1A

Warning: Inner well iterations failed for well I1A Treat the well as unconverged.

Error: [./opm/simulators/wells/StandardWellPrimaryVariables.cpp:694] Infinite primary variable after update from wellState, well: I1A

Warning: Inner well iterations failed for well I1A Treat the well as unconverged.

Error: [./opm/simulators/wells/StandardWellPrimaryVariables.cpp:694] Infinite primary variable after update from wellState, well: I1A

Warning: Inner well iterations failed for well I1A Treat the well as unconverged.
Restart file written for report step   0/289, date = 01-Jan-2030 00:00:00

Error: [./opm/simulators/wells/StandardWellPrimaryVariables.cpp:694] Infinite primary variable after update from wellState, well: I1A

Warning: Inner well iterations failed for well I1A Treat the well as unconverged.
 well I1A gets SHUT during iteration
flow: ./ebos/eclproblem.hh:1382: void Opm::EclProblem<TypeTag>::source(Opm::EclProblem<TypeTag>::RateVector&, unsigned int, unsigned int) const [with TypeTag = Opm::Properties::TTag::EclFlowGasWaterProblem; Opm::EclProblem<TypeTag>::RateVector = Opm::BlackOilRateVector<Opm::Properties::TTag::EclFlowGasWaterProblem>]: Assertion `isfinite(rate[eqIdx])' failed.
[DESKTOP-8VC26F1:00011] *** Process received signal ***
[DESKTOP-8VC26F1:00011] Signal: Aborted (6)
[DESKTOP-8VC26F1:00011] Signal code:  (-6)
[DESKTOP-8VC26F1:00011] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fe2aca6b420]
[DESKTOP-8VC26F1:00011] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fe2aafd500b]
[DESKTOP-8VC26F1:00011] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fe2aafb4859]
[DESKTOP-8VC26F1:00011] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7fe2aafb4729]
[DESKTOP-8VC26F1:00011] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7fe2aafc5fd6]
[DESKTOP-8VC26F1:00011] [ 5] flow(+0x7c58eb)[0x563fd78138eb]
[DESKTOP-8VC26F1:00011] [ 6] /lib/x86_64-linux-gnu/libgomp.so.1(GOMP_parallel+0x46)[0x7fe2ab6098e6]
[DESKTOP-8VC26F1:00011] [ 7] flow(+0x7ec9a2)[0x563fd783a9a2]
[DESKTOP-8VC26F1:00011] [ 8] flow(+0x7ed210)[0x563fd783b210]
[DESKTOP-8VC26F1:00011] [ 9] flow(+0x7ffaa2)[0x563fd784daa2]
[DESKTOP-8VC26F1:00011] [10] flow(+0x803aa9)[0x563fd7851aa9]
[DESKTOP-8VC26F1:00011] [11] flow(+0x8060ff)[0x563fd78540ff]
[DESKTOP-8VC26F1:00011] [12] flow(+0x807145)[0x563fd7855145]
[DESKTOP-8VC26F1:00011] [13] flow(+0x80cf93)[0x563fd785af93]
[DESKTOP-8VC26F1:00011] [14] flow(+0x80eb0b)[0x563fd785cb0b]
[DESKTOP-8VC26F1:00011] [15] flow(+0x777d6d)[0x563fd77c5d6d]
[DESKTOP-8VC26F1:00011] [16] flow(+0x7f7439)[0x563fd7845439]
[DESKTOP-8VC26F1:00011] [17] flow(+0x76b7a3)[0x563fd77b97a3]
[DESKTOP-8VC26F1:00011] [18] flow(+0x124792)[0x563fd7172792]
[DESKTOP-8VC26F1:00011] [19] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fe2aafb6083]
[DESKTOP-8VC26F1:00011] [20] flow(+0x13d5de)[0x563fd718b5de]
[DESKTOP-8VC26F1:00011] *** End of error message ***
/bin/bash: line 1:    11 Aborted                 flow CAES_test2_Flow
@gdfldm
Copy link

gdfldm commented May 1, 2024

@EdmundStephens I believe the VFP input/calculations are set up for three-phase black-oil simulations, and have been adapted to work for oil-water simulations, but not currently for gas-water simulations. I was able to get CAES_test2_flow to run by adding a dummy OIL phase to the model. I also seemed to need to set --enable-adaptive-time-stepping=false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants