mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
rename snappy parameter
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user