Fracture Surfaces: Add surface import from VTU/PVD files

Parse VTU files. If element results are detected, duplicate nodes and assign result values to nodes for display.
This commit is contained in:
Magne Sjaastad authored and Kristian Bendiksen committed 2025-03-07 10:34:48 +01:00
1 parent d0a9c0a820
commit c66f4f8158
23 files changed
+721 -25

No files matched your search

@@ -897,6 +897,14 @@ void RimEclipseView::onUpdateDisplayModelForCurrentTimeStep()
appendIntersectionsForCurrentTimeStep();
}
if ( surfaceInViewCollection() )
{
m_surfaceVizModel->removeAllParts();
surfaceInViewCollection()->loadData( currentTimeStep() );
surfaceInViewCollection()->appendPartsToModel( m_surfaceVizModel.p(), m_reservoirGridPartManager->scaleTransform() );
}
updateVisibleCellColors();
wellCollection()->scaleWellDisks();
@@ -908,7 +916,7 @@ void RimEclipseView::onUpdateDisplayModelForCurrentTimeStep()
m_overlayInfoConfig()->update3DInfo();
// Invisible Wells are marked as read only when "show wells intersecting visible cells" is enabled
// Visibility of wells differ betweeen time steps, so trigger a rebuild of tree state items
// Visibility of wells differ between time steps, so trigger a rebuild of tree state items
wellCollection()->updateConnectedEditors();
RicExportToSharingServerScheduler::instance()->scheduleUpdateSession();
@@ -1217,7 +1225,7 @@ void RimEclipseView::onLoadDataAndUpdate()
m_wellCollection->scaleWellDisks();
if ( m_surfaceCollection ) m_surfaceCollection->loadData();
if ( m_surfaceCollection ) m_surfaceCollection->loadData( m_currentTimeStep );
scheduleReservoirGridGeometryRegen();
m_simWellsPartManager->clearGeometryCache();