mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Read the VTK point data, not only "disp" (now found by name, not position). "pressure" becomes the nodal pore pressure POR, other scalar point arrays keep their name. OPM Flow writes them with --vtk-write-geo-mech-nodal, recovered from its cell values. Stress and strain are cell values in the simulator, so S and E at element-nodal (and integration-point) position give every element corner its cell's value. S is effective stress, tension positive, while OPM writes total stress, compression positive: S = POR * I - stress at each corner, so ST = -S + POR returns the simulator's stress exactly. With S present, populateDerivedResultNames() returns true, so SE, ST, principal stresses, SFI, DSM, FOS, NE etc. are available. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>