mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Explicitly enforce zero flux in absence of other boundary information.
This commit is contained in:
parent
d9493e94ce
commit
110b78b84b
@ -510,6 +510,9 @@ compute_flux(grid_t *G,
|
||||
} else {
|
||||
dp = cpress[c1] - bc->bcval[f];
|
||||
}
|
||||
} else {
|
||||
/* No BC -> no-flow (== zero pressure drop) */
|
||||
dp = 0.0;
|
||||
}
|
||||
|
||||
fflux[f] = t * dp;
|
||||
|
Loading…
Reference in New Issue
Block a user