Explicitly enforce zero flux in absence of other boundary information.
This commit is contained in:
parent
93eb36d802
commit
ac3639ad4d
@ -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