Calculate sum of mobile oil for a set of cells defined by a filter for a grid case group #10913
magnesj
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Import an ensemble of grid models with identical IJK into a Grid Case Group.
Create a view on one of the source grid models, and create a cell filter.
Open the Grid Property Calculator using the toolbar button
Create an expression for mobile oil
MOBILE_OIL := if(((SOIL-SOWCR) < 0.00), 0.00, PORV*(SOIL-SOWCR))
Define the source data for the input to this expression using drag and drop from Calculator Data or by pressing the
Edit
buttonIf you have a large grid with many time steps, select the time steps to evaluate for
Click Calculate to evaluate the calculation. The result can be selected as a Generated result property for visualization in the 3D view.
Create an expression to sum values for all visible cells
SUM_MOBILE_OIL := sum(MOBILE_OIL)
Use the result from the previous calculation as input to the variable, useMOBILE_OIL
from the Generated category.Click Calculate.
Activate the calculation for all cases in the ensemble by toggling
Apply to All Cases
.Select Cell Filter, and use 0 for non-visible cells.
Select the time steps to do calculations for.
The individual values for each realization and time step is displayed as text in Messages. The statistics for each time step is displayed at the bottom.
Beta Was this translation helpful? Give feedback.
All reactions