Commit 11d9c0f2 authored by mattijs's avatar mattijs
Browse files

rename snappy parameter

parent 7e69b335
......@@ -323,9 +323,10 @@ meshQualityControls
minTriangleTwist -1;
//- if >0 : preserve single cells with all points on the surface if the
// resulting volume after snapping (approximation) is larger than
// minVolFraction times old volume. If <0 : delete always.
minVolFraction 0.5;
// resulting volume after snapping (by approximation) is larger than
// minVolCollapseRatio times old volume (i.e. not collapsed to flat cell).
// If <0 : delete always.
//minVolCollapseRatio 0.5;
// Advanced
......
......@@ -524,9 +524,9 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
// Collapse checking parameters
scalar volFraction = -1;
if (motionDict.found("minVolFraction"))
if (motionDict.found("minVolCollapseRatio"))
{
volFraction = readScalar(motionDict.lookup("minVolFraction"));
volFraction = readScalar(motionDict.lookup("minVolCollapseRatio"));
}
const bool checkCollapse = (volFraction > 0);
scalar minArea = -1;
......
......@@ -154,7 +154,7 @@ public:
return cellZoneNames_;
}
//- Get indices of named surfaces (surfaces with faceZoneName)
//- Get indices of unnamed surfaces (surfaces without faceZoneName)
labelList getUnnamedSurfaces() const;
//- Get indices of named surfaces (surfaces with faceZoneName)
......
Supports Markdown
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