mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Thermal Fracture: add api for changing time step from python
This commit is contained in:
@@ -34,3 +34,11 @@ fracture = well_path.add_thermal_fracture(
|
||||
fracture_template=fracture_template,
|
||||
place_using_template_data=True,
|
||||
)
|
||||
|
||||
|
||||
time_steps = fracture_template.time_steps().values
|
||||
for time_step_index, time_stamp in enumerate(time_steps):
|
||||
print("Time step #{}: {}".format(time_step_index, time_stamp))
|
||||
fracture_template.active_time_step_index = time_step_index
|
||||
fracture_template.conductivity_result_name = "Conductivity"
|
||||
fracture_template.update()
|
||||
|
||||
Reference in New Issue
Block a user