mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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() );
|
m_perforationEfficiency.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||||
|
|
||||||
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture" );
|
CAF_PDM_InitField( &m_wellDiameter, "WellDiameter", 0.216, "Well Diameter at Fracture" );
|
||||||
CAF_PDM_InitField( &m_conductivityType,
|
CAF_PDM_InitScriptableField( &m_conductivityType,
|
||||||
"ConductivityType",
|
"ConductivityType",
|
||||||
caf::AppEnum<FracConductivityEnum>( FINITE_CONDUCTIVITY ),
|
caf::AppEnum<FracConductivityEnum>( FINITE_CONDUCTIVITY ),
|
||||||
"Conductivity in Fracture" );
|
"Conductivity in Fracture" );
|
||||||
|
|
||||||
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth" );
|
CAF_PDM_InitField( &m_wellPathDepthAtFracture, "WellPathDepthAtFracture", 0.0, "Well/Fracture Intersection Depth" );
|
||||||
m_wellPathDepthAtFracture.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
m_wellPathDepthAtFracture.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
|
||||||
|
@ -47,6 +47,7 @@ for measured_depth in measured_depths:
|
|||||||
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.user_defined_perforation_length = True
|
||||||
|
fracture_template.conductivity_type = "InfiniteConductivity"
|
||||||
fracture_template.perforation_length = 12.3
|
fracture_template.perforation_length = 12.3
|
||||||
fracture_template.update()
|
fracture_template.update()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user