Files
ResInsight/docs/diagrams/msw-export/01-overview.md
T
Magne Sjaastad 3c5c160b93 #14241 MSW: Drop redundant FromGeometry suffix from branch builders
With the legacy tree-based path removed there is only one MSW branch construction approach, so the FromGeometry suffix is no longer needed. Rename buildMainBoreBranchFromGeometry, buildValveBranchesFromGeometry, buildFractureBranchesFromGeometry and buildFishbonesBranchesFromGeometry accordingly, and update the architecture diagrams.
2026-06-19 12:50:14 +02:00

1.5 KiB

MSW Export: High-Level Pipeline Overview

flowchart TD
    subgraph RIM["RIM (Project Data Model)"]
        WP[RimWellPath]
        MSW[RimMswCompletionParameters]
        PERF[RimPerforationInterval]
        VALVE["RimWellPathValve<br/>ICD / ICV / AICD / SICD"]
        FRAC[RimWellPathFracture]
        FB[RimFishbones]
        EC[RimEclipseCase]
    end

    subgraph GEO["Geometry Extraction"]
        GCS["generateCellSegments<br/>WellPathCellIntersectionInfo list"]
        FI["filterIntersections<br/>clip to heel MD"]
    end

    subgraph BUILD["RicWellPathExportMswGeometryPath<br/>buildMswWellExportData"]
        MB["buildMainBoreBranch<br/>RicMswBranchBuilder"]
        VB["buildValveBranches<br/>RicMswBranchBuilder"]
        FRB["buildFractureBranches<br/>RicMswBranchBuilder"]
        FBB["buildFishbonesBranches<br/>RicMswBranchBuilder"]
        LAT["buildLateralBranches<br/>recursive"]
    end

    subgraph RIG["RIG (Intermediate Export Data)"]
        WED["RigMswWellExportData<br/>header + branches"]
        BR["RigMswBranch<br/>branchNumber + segments"]
        SEG["RigMswSegment<br/>WELSEGS row + intersections + valve"]
    end

    subgraph COLLECT["collectTableData"]
        TD["RigMswTableData<br/>flat table rows per well"]
    end

    subgraph OUTPUT["Output Tables"]
        WH[WelsegsHeader]
        WR[WelsegsRow]
        CR[CompsegsRow]
        VR["WsegvalvRow / WsegaicdRow / WsegsicdRow"]
    end

    RIM --> GEO
    GEO --> BUILD
    BUILD --> RIG
    RIG --> COLLECT
    COLLECT --> OUTPUT

    WED --> BR --> SEG