Conversation
|
Thanks for your work, Olav! This does seems to work for some well configurations but not all of them. I'll share an reproducible example case and generated report below. MSW BlackOil injection deadlock — PR #226 verificationFollow-up to TL;DR — a minimal reproducer using only the registered JutulDarcy Shareable reproducer
Setup summary:
Toggle Observed output
MSW injector pinned at hydrostatic (36.04 MPa ≈ 360 bar) on both How to runmkdir repro && cd repro
julia --project=. -e '
using Pkg
Pkg.add(PackageSpec(url="https://github.com/sintefmath/JutulDarcy.jl", rev="bo-wat-tests"))
Pkg.add(["Jutul", "MultiComponentFlash", "HYPRE"])
'
# (copy msw_blackoil_repro.jl here)
julia --project=. msw_blackoil_repro.jlFor stock v0.3.5, replace the first What PR #226 changesFrom the diff (
None of these touch Suggested next stepFollow the pattern used by SimpleWell and the immiscible wells: accumulate # Instead of (MSW, current):
q = λ_t * dp_v * sG * bG
# Consider (analogous to SimpleWell):
if dp_v < 0.0
q_inj += λ_t * dp_v * ρ_w[v, wc]
end
# then distribute q_inj using state_well.MassFractionsThis decouples injection composition from the well's internal saturation |
|
----- Julia Script: |
No description provided.