From 90004a49dd64e1f189108302774cbec0dad5d8a5 Mon Sep 17 00:00:00 2001 From: wgyang Date: Tue, 17 Nov 2020 17:18:49 -0800 Subject: [PATCH] Update post_solver.cxx It has been reported that segmentation errors can occur when reducing field data (e.g. wall shear stress) from restart files likely due to a corrupted header in a restart file. One may need to recalculate wall shear stress from solutions (velocity). The proposed change in post_solver.cxx is to output solutions and recalauted WSS/tractions only when other field data cause segmentation errors in svpost. --- Code/FlowSolvers/ThreeDSolver/svPost/post_solver.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Code/FlowSolvers/ThreeDSolver/svPost/post_solver.cxx b/Code/FlowSolvers/ThreeDSolver/svPost/post_solver.cxx index 0f5b79fe..b41098d3 100644 --- a/Code/FlowSolvers/ThreeDSolver/svPost/post_solver.cxx +++ b/Code/FlowSolvers/ThreeDSolver/svPost/post_solver.cxx @@ -2101,6 +2101,9 @@ int main(int argc, char* argv[]) } else if(tmpstr=="-calcws"){ RequestedCalcWS = true; + RequestedvInPlaneTraction=true; + RequestedvWSS = true; + RequestedSolution = true; } else if(tmpstr=="-applywd"){ RequestedApplyWD = true;