Bug in "upscaleRelperm" function

11 views
Skip to first unread message

AbdAllah Youssef

unread,
Jul 29, 2025, 3:19:08 PMJul 29
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Dear MRST team, 
When trying to upscale relative permeability using "upscaleRelperm", I found that flow direction always be in x-direction when periodic boundary conditions are applied. I modified line 123 
from "dp{1} = dp_scale;"
to
"dp{dir} = dp_scale;".
This modification respects specified flow direction in inputs
Reply all
Reply to author
Forward
0 new messages