mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update examples for 2024.12.2
This commit is contained in:
parent
da69c1f049
commit
ecd006decb
@ -41,13 +41,25 @@ for measured_depth in measured_depths:
|
|||||||
eclipse_case=case,
|
eclipse_case=case,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Update the orientation of the fracture
|
# Update the orientation of the fracture. All fracture parameters are displayed, most with default values.
|
||||||
# Call update() to propagate changes from the Python object back to ResInsight
|
|
||||||
fracture_template.orientation = "Azimuth"
|
fracture_template.orientation = "Azimuth"
|
||||||
fracture_template.azimuth_angle = 60.0
|
fracture_template.azimuth_angle = 60.0
|
||||||
fracture_template.user_defined_perforation_length = True
|
fracture_template.beta_factor_type = "UserDefinedBetaFactor"
|
||||||
fracture_template.conductivity_type = "InfiniteConductivity"
|
fracture_template.conductivity_type = "InfiniteConductivity"
|
||||||
|
fracture_template.effective_permeability = 0
|
||||||
|
fracture_template.fracture_width = 0.01
|
||||||
|
fracture_template.fracture_width_type = "FractureWidth"
|
||||||
|
fracture_template.gas_viscosity = 0.02
|
||||||
|
fracture_template.height_scale_factor = 1
|
||||||
|
fracture_template.inertial_coefficient = 0.00608324
|
||||||
|
fracture_template.non_darcy_flow_type = "None"
|
||||||
fracture_template.perforation_length = 12.3
|
fracture_template.perforation_length = 12.3
|
||||||
|
fracture_template.permeability_type = "FractureConductivity"
|
||||||
|
fracture_template.relative_gas_density = 0.8
|
||||||
|
fracture_template.relative_permeability = 1
|
||||||
|
fracture_template.user_defined_d_factor = 1
|
||||||
|
fracture_template.user_defined_perforation_length = True
|
||||||
|
fracture_template.width_scale_factor = 1
|
||||||
fracture_template.update()
|
fracture_template.update()
|
||||||
|
|
||||||
# Scale the template
|
# Scale the template
|
||||||
|
@ -55,6 +55,18 @@ completions_settings.group_name_for_export = "msj"
|
|||||||
completions_settings.well_type_for_export = "GAS"
|
completions_settings.well_type_for_export = "GAS"
|
||||||
completions_settings.update() # Commit updates back to ResInsight
|
completions_settings.update() # Commit updates back to ResInsight
|
||||||
|
|
||||||
|
# Optionally update the MSW settings
|
||||||
|
msw_settings = well_path.msw_settings()
|
||||||
|
msw_settings.custom_values_for_lateral = False
|
||||||
|
msw_settings.enforce_max_segment_length = False
|
||||||
|
msw_settings.liner_diameter = 0.152
|
||||||
|
msw_settings.max_segment_length = 200
|
||||||
|
msw_settings.pressure_drop = "HF-"
|
||||||
|
msw_settings.reference_md_type = "GridEntryPoint"
|
||||||
|
msw_settings.roughness_factor = 1e-05
|
||||||
|
msw_settings.user_defined_reference_md = 0
|
||||||
|
msw_settings.update()
|
||||||
|
|
||||||
# export completions
|
# export completions
|
||||||
cases = resinsight.project.cases()
|
cases = resinsight.project.cases()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user