Perforation Interval: make properties scriptable from Python.

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2023-10-09 08:35:42 +02:00
1 parent 445672cbb2
commit db77ea5762
5 files changed
+28 -9

No files matched your search

@@ -32,3 +32,16 @@ coord = [1054.28, 250, -50]
target = geometry.append_well_target(coord)
well_path.append_perforation_interval(3300, 3350, 0.2, 0.76)
# Update skin factor of the perforation
perforation_coll = well_path.completions().perforations()
perforation = perforation_coll.perforations()[0]
new_skin_factor = 0.9
print(
"Changing perforation skin factor from {} to {}.".format(
perforation.skin_factor, new_skin_factor
)
)
perforation.skin_factor = new_skin_factor
perforation.update()