This commit is contained in:
Gaute Lindkvist
2019-09-19 13:48:03 +02:00
parent 9bc2781817
commit 9a0f135431
7 changed files with 123 additions and 124 deletions

View File

@@ -11,19 +11,19 @@ for casePath in casePaths:
caseGroup = resinsight.project.create_grid_case_group(casePaths=casePaths)
caseGroup.printObjectInfo()
caseGroup.print_object_info()
#statCases = caseGroup.statistics_cases()
#caseIds = []
#for statCase in statCases:
# statCase.setValue("DynamicPropertiesToCalculate", ["SWAT"])
# statCase.set_value("DynamicPropertiesToCalculate", ["SWAT"])
# statCase.update()
# caseIds.append(statCase.getValue("CaseId"))
# caseIds.append(statCase.get_value("CaseId"))
resinsight.commands.compute_case_group_statistics(caseGroupId=caseGroup.groupId)
view = caseGroup.views()[0]
cellResult = view.cellResult()
cellResult.setValue("ResultVariable", "PRESSURE_DEV")
cellResult.set_value("ResultVariable", "PRESSURE_DEV")
cellResult.update()