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

Coordinates for SnappyHexMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 25, 2015, 10:04
Default Coordinates for SnappyHexMesh
  #1
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 2
Moux is on a distinguished road
Hello,

I am writting today beacause I have an issue when I import a .stl file in openFOAM.

I want to use a specific shape to modify a tank, the problem is, when I run snappyHexMesh, the system creates a .eMesh file thanks to the .stl file. This eMesh file is a conversion of the .stl file in order to import the shape at the good location in my tank.

When I want to see the Tank with paraFoam, the system crashed because some vertices are not longer coplanar. When I check the eMesh file, I can see that there is a small difference between this coordinates and the coordinates in the .stl file for the same vertex.

For istance, if my vertex is (100 1 -25) in the .stl file, this vertex in the eMesh file is (100 0.9999958456 -25). This difference makes paraFoam crashed and I do not know how to fix that problem...

Any idea?


Cheers,

Max

Last edited by Moux; June 25, 2015 at 11:40.
Moux is offline   Reply With Quote

Old   July 8, 2015, 09:30
Default
  #2
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 144
Rep Power: 7
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Hi maxime,

I am also a new user of snappyhexmesh but i will any way try to address your problem. Please forgive me if my answer is completely irrelevant to your question

I think snappyhexmesh does not create .eMesh file.. You need to use surfaceFeatureExtract option to create the .eMesh file. This has to be done before starting snappyexmesh option.

Cheers..
Ananth
Ananthakrishnan is offline   Reply With Quote

Old   July 8, 2015, 09:35
Default
  #3
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 2
Moux is on a distinguished road
Hi Ananth,

Thank you for your reply,

I run surfaceFeatureExtract before SnappyHexMesh. I have just fixed the problem, I increased the number of cells to define my beach using OpenScad to make a .stl file.

I had another problem, I posted a thread about it but I fixed it too by increasing the number of cells. It makes snappyHexMesh script a bit much longer to run but it works.

Regards,

Max
Moux is offline   Reply With Quote

Old   July 8, 2015, 09:40
Default
  #4
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 144
Rep Power: 7
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
oh okie..

Good to hear that.. thanks for the information too.. It is very interesting how STL affects the meshing!!

cheers,
Ananth
Ananthakrishnan 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
Coordinates conversion from cyclindrical to S1 Rotary surface coordinates yzeyue Main CFD Forum 3 March 17, 2015 05:03
Spherical Coordinates Bing ParaView 0 June 10, 2014 07:58
Conversion of Toroidal Coordinates to Cartesian Coordinates go2saqi Main CFD Forum 0 May 8, 2013 02:51
Coordinate's tranformation tommy FLUENT 0 February 13, 2004 03:19
Calculation in cylindrical coordinates Franz Wingelhofer CFX 0 December 28, 1999 08:46


All times are GMT -4. The time now is 07:01.