diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/create_and_export_fracture_model.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/create_and_export_fracture_model.py index bc7c7de150..466ef0482a 100644 --- a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/create_and_export_fracture_model.py +++ b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/create_and_export_fracture_model.py @@ -35,6 +35,16 @@ eclipse_result.result_type = "INPUT_PROPERTY" eclipse_result.result_variable = "OPERNUM_1" eclipse_result.update() +# Set eclipse result for non-net layers +non_net_layers = fracture_model_template.non_net_layers() +non_net_layers_result = non_net_layers.facies_definition() +non_net_layers_result.result_type = "STATIC_NATIVE" +non_net_layers_result.result_variable = "NTG" +non_net_layers_result.update() +non_net_layers.formation = "Not" +non_net_layers.facies = "Shale" +non_net_layers.update() + # Add some scaling factors elastic_properties = fracture_model_template.elastic_properties() @@ -70,4 +80,4 @@ fracture_model_plot.export_snapshot(export_folder=export_folder) print("Setting measured depth and perforation length.") fracture_model.measured_depth = 3300.0 fracture_model.perforation_length = 123.445 -fracture_model.update() \ No newline at end of file +fracture_model.update()