CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Coordinates for SnappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 10
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: 157
Rep Power: 16
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: 10
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: 157
Rep Power: 16
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Scripting]: How to get the coordinates of a 2D airfoil @ different angles of attack? CfdIntro Main CFD Forum 2 December 12, 2017 10:23
[General] 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
Where to find airfoils with more coordinates pts? KB Main CFD Forum 2 March 23, 2008 23:18
Coordinate's tranformation tommy FLUENT 0 February 13, 2004 02:19


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