mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Get rid of Python class_keyword attribute and fix parameter sending for WBS
This commit is contained in:
@@ -17,6 +17,11 @@ if len(well_paths) < 1:
|
||||
print("No well paths in project")
|
||||
exit(1)
|
||||
|
||||
# Create a set of WbsParameters
|
||||
params = rips.WbsParameters()
|
||||
params.user_poisson_ratio = 0.23456
|
||||
params.user_ucs = 123
|
||||
|
||||
# Loop through all cases
|
||||
for case in cases:
|
||||
assert(isinstance(case, rips.GeoMechCase))
|
||||
@@ -35,4 +40,4 @@ for case in cases:
|
||||
|
||||
for well_path in well_paths[0:4]: # Loop through the first five well paths
|
||||
# Create plot with parameters
|
||||
wbsplot = case.create_well_bore_stability_plot(well_path=well_path.name, time_step=0)
|
||||
wbsplot = case.create_well_bore_stability_plot(well_path=well_path.name, time_step=0, parameters=params)
|
||||
Reference in New Issue
Block a user