CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

Modification of collapseEdges utility

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 9, 2008, 08:35
Default Hi, Among other things, the
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 8
olwi is on a distinguished road

Among other things, the collapseEdges utility removes faces with area < areaFactor * maxFaceArea, where maxFaceArea is the area of the largest face of the model, and areaFactor is hard-coded to 1e-9.

I happen to run cases where there is a very large difference in size between smallest and largest cells. When working with 2D wedge geometries, I need collapseEdges to clean up after Bernhard's excellent makeAxialMesh utility. In some cases the hard-coded value for areaFactor is to large, and thousands of perfectly healthy faces are marked for removal...

I here humbly contribute a modified version, collapseEdgesBetter, in which the option -areaFactor can be used to set a sound value. If missing, the hard-coded value 1e-9 is used as default.

Best regards,


olwi is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CollapseEdges after makeAxialMesh utility in subversion testcase bonzodeb OpenFOAM Mesh Utilities 1 June 5, 2009 03:24
modification of UDF ammi FLUENT 2 January 18, 2007 22:35
KIVA Modification Gede Main CFD Forum 0 May 10, 2006 22:06
modification for CFX? caty CFX 5 May 19, 2005 18:48
UDF modification merac FLUENT 4 March 1, 2001 07:42

All times are GMT -4. The time now is 11:49.