CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Free edges - extraction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 15, 2014, 10:12
Default Free edges - extraction
  #1
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7
Aurelien Thinat is on a distinguished road
Hello everyone,

I have a cylinder, a baffle surface, which I import in snappyHexMesh as a .stl file. This cylinder is immerged in a box (stl file too).

Everything is going well with snappy except one thing : the cylinder presents few holes, each hole delimited by a "free edge". When I'm using the surfaceFeatureExtract tool, I'm not able to extract only these free edges in the eMesh file.
But when I activate the option "export obj files", there is one file with these edges only.

So my question is : is there any way to extract only the free edges ? By converting the obj file into eMesh maybe ?

Thank you.

NB : I'm using OpenFOAM-2.2.2.
Aurelien Thinat is offline   Reply With Quote

Old   January 15, 2014, 12:35
Default
  #2
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7
Aurelien Thinat is on a distinguished road
Well, if anyone is wondering the same thing, one can follow this :

1) enable the writing of obj files

2) call the surfaceFeatureExtractDict

3) launch this command :
Code:
surfaceFeatureConvert ./extendedFeatureEdgeMesh/mySTL_externalEdges.obj ./triSurface/myFile.eMesh
It will replace the "all-edges.eMesh" file by a "external-only-edges.eMesh" file. It does the job perfectly.
Aurelien Thinat is offline   Reply With Quote

Reply

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
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 09:54
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
free edges on patches florian CD-adapco 1 November 17, 2005 02:17


All times are GMT -4. The time now is 20:46.