mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 18:01:08 -06:00
Fracture: Make conductivity type scriptable from python.
This commit is contained in:
parent
8b51160ac4
commit
8f33caef74
@ -147,10 +147,10 @@ RimFractureTemplate::RimFractureTemplate()
|
||||
m_perforationEfficiency.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
||||
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture" );
|
||||
CAF_PDM_InitField( &m_conductivityType,
|
||||
"ConductivityType",
|
||||
caf::AppEnum<FracConductivityEnum>( FINITE_CONDUCTIVITY ),
|
||||
"Conductivity in Fracture" );
|
||||
CAF_PDM_InitScriptableField( &m_conductivityType,
|
||||
"ConductivityType",
|
||||
caf::AppEnum<FracConductivityEnum>( FINITE_CONDUCTIVITY ),
|
||||
"Conductivity in Fracture" );
|
||||
|
||||
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth" );
|
||||
m_wellPathDepthAtFracture.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||
|
@ -47,6 +47,7 @@ for measured_depth in measured_depths:
|
||||
fracture_template.orientation = "Azimuth"
|
||||
fracture_template.azimuth_angle = 60.0
|
||||
fracture_template.user_defined_perforation_length = True
|
||||
fracture_template.conductivity_type = "InfiniteConductivity"
|
||||
fracture_template.perforation_length = 12.3
|
||||
fracture_template.update()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user