|
[Sponsors] |
December 1, 2015, 10:15 |
edge detection (solved!)
|
#1 |
Member
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14 |
Hi, lately I've been having a lot of trouble with cfMesh edge detection. The mesh is fine otherwise, but sharp edges are not conformed or "snapped". I have the original geometry in a file whole.stl, and I'm using the following command to detect edges:
Code:
surfaceFeatureEdges -angle 120 whole.stl whole.fms Any help? Is this the correct way to use edge detection with cfMesh or is there a better way? I don't recall having this problem before, but I might just have been lucky. I'm using OpenFOAM-dev with cfMesh 1.1.1. Last edited by zordiack; December 1, 2015 at 10:55. Reason: corrected title |
|
December 1, 2015, 10:51 |
|
#2 |
Member
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14 |
Okay this is (again) going to be one those post where I correct myself. It turns out I've been using the included angle option the wrong way around. It doesn't work the same way as in snappyHexMesh. So if you want to include i.e. all edges with at least 90 degree angle, you should use a SMALLER than 90 degrees angle specification with surfaceFeatureEdges, or just use the default (which is 45 degrees):
Code:
surfaceFeatureEdges whole.stl whole.fms |
|
December 5, 2015, 17:12 |
|
#3 |
Senior Member
|
You can inspect the feature edges by using:
FMSToSurface <inputSurfaceMesh>.fms <outputSurface> -exportFeatureEdges -exportFeatureEdges writes feature edges in a vtk file, which you can visualize in ParaView.
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
|
February 4, 2016, 15:43 |
|
#4 |
New Member
Nila
Join Date: Oct 2014
Posts: 24
Rep Power: 12 |
Can you please tell me why it is saying to me that surfaceFeatureEdges command not found?
|
|
February 5, 2016, 07:31 |
|
#5 |
Senior Member
|
Hi,
surfaceFeatureEdges is part of cfMesh. It seems to me that you do not have cfMesh available in your environment or your OF environment is not set up correctly.
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
|
February 5, 2016, 14:08 |
|
#6 |
New Member
Nila
Join Date: Oct 2014
Posts: 24
Rep Power: 12 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Meshing a Sphere | Ajay | FLUENT | 10 | September 3, 2016 15:18 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
Which trailing edge is correct for meshing of aerofoils for CFX | LSC | CFX | 0 | May 10, 2009 13:45 |
[Commercial meshers] Star mesh import problem | chris1980 | OpenFOAM Meshing & Mesh Conversion | 20 | May 8, 2006 02:07 |
trailing edge problem | Kuo Wei-Jen | Main CFD Forum | 2 | April 14, 1999 11:09 |