Move GrpcInterface into top level

This commit is contained in:
Gaute Lindkvist committed 2021-01-11 15:27:45 +01:00
1 parent 81699db187
commit 2de5c9ce0b
113 files changed

No files matched your search

@@ -0,0 +1,17 @@
######################################################################
# This script sets values for SOIL for all grid cells in the first case in the project
######################################################################
import rips
resinsight = rips.Instance.find()
case = resinsight.project.case(case_id=0)
total_cell_count = case.cell_count().reservoir_cell_count
values = []
for i in range(0, total_cell_count):
values.append(i % 2 * 0.75);
print("Applying values to full grid")
case.set_grid_property(values, 'DYNAMIC_NATIVE', 'SOIL', 0)