Python: Rename example directory to PythonExamples

* This is so that when we add the folder to the Script Path it will look more sensible to the user.
This commit is contained in:
Gaute Lindkvist
2019-08-15 08:07:43 +02:00
parent 4d8ce1e399
commit 824ec5cef6
20 changed files with 33 additions and 23 deletions

View File

@@ -0,0 +1,14 @@
# Load ResInsight Processing Server Client Library
import rips
# Connect to ResInsight instance
resInsight = rips.Instance.find()
view = resInsight.project.view(0)
#view.applyFlowDiagnosticsCellResult(resultVariable='Fraction',
# selectionMode='FLOW_TR_INJ_AND_PROD')
# Example of setting individual wells. Commented out because well names are case specific.
view.applyFlowDiagnosticsCellResult(resultVariable='Fraction',
selectionMode='FLOW_TR_BY_SELECTION',
injectors = ['C-1H', 'C-2H', 'F-2H'],
producers = ['B-1AH', 'B-3H', 'D-1H'])