Commit 143800ab authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: Turbulence DFSEM - protect sigFpe for reconstruct - see #194

parent 2d96fc50
......@@ -848,7 +848,7 @@ turbulentDFSEMInletFvPatchVectorField
eddy::debug = debug;
// Set UMean as patch area average value
UMean_ = gSum(U_*patch().magSf())/gSum(patch().magSf());
UMean_ = gSum(U_*patch().magSf())/(gSum(patch().magSf()) + ROOTVSMALL);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment