rename snappy parameter

This commit is contained in:
mattijs
2009-03-05 17:01:31 +00:00
parent 7e69b33586
commit 11d9c0f279
3 changed files with 7 additions and 6 deletions

View File

@ -323,9 +323,10 @@ meshQualityControls
minTriangleTwist -1; minTriangleTwist -1;
//- if >0 : preserve single cells with all points on the surface if the //- if >0 : preserve single cells with all points on the surface if the
// resulting volume after snapping (approximation) is larger than // resulting volume after snapping (by approximation) is larger than
// minVolFraction times old volume. If <0 : delete always. // minVolCollapseRatio times old volume (i.e. not collapsed to flat cell).
minVolFraction 0.5; // If <0 : delete always.
//minVolCollapseRatio 0.5;
// Advanced // Advanced

View File

@ -524,9 +524,9 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
// Collapse checking parameters // Collapse checking parameters
scalar volFraction = -1; 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); const bool checkCollapse = (volFraction > 0);
scalar minArea = -1; scalar minArea = -1;

View File

@ -154,7 +154,7 @@ public:
return cellZoneNames_; return cellZoneNames_;
} }
//- Get indices of named surfaces (surfaces with faceZoneName) //- Get indices of unnamed surfaces (surfaces without faceZoneName)
labelList getUnnamedSurfaces() const; labelList getUnnamedSurfaces() const;
//- Get indices of named surfaces (surfaces with faceZoneName) //- Get indices of named surfaces (surfaces with faceZoneName)