|
[Sponsors] |
February 29, 2012, 01:51 |
SnappyHexMesh
|
#1 |
New Member
Anone
Join Date: Feb 2012
Posts: 16
Rep Power: 14 |
Hi all
I created a stl file of a square cylinder to test the snappyHexMesh function. I created my domian first using the blockMesh. That was OK. Then I placed my stl file in the trisurfacemesh folder. Then I ran snappy hexMesh The messages indicate that there is no error, but when I open using paraFoam all I get is a square cylinder meshed without the domain. What is wrong ? CFD_user |
|
February 29, 2012, 05:04 |
|
#2 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Is your point from which you start meshing inside the cylinder? is your blockmesh at the right position of the stl surface? you can check that by opening your stl surface while you have your blockmesh open in parafoam.
__________________
~roman |
|
February 29, 2012, 06:04 |
|
#3 |
Member
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 17 |
Did you use sHM with the "-overwrite" option? If not, you get 2 more timestep folders 1 and 2. In there you will find your castellated and your snapped mesh. (choose the timesteps in paraview)
__________________
"When I meet God, I am going to ask him two questions: Why relativity? And why turbulence? I really believe he will have an answer for the first." Werner Heisenberg
|
|
February 29, 2012, 17:59 |
snappyHex mesh
|
#4 |
New Member
Anone
Join Date: Feb 2012
Posts: 16
Rep Power: 14 |
Hi
I generated my blockmesh and then I opened it using parafoam. Then I opened the stl file and then checked the position and orientation of the stl object with the domain. Everything is fine. I then use snappyhexmesh. I looked at the different time folders also. I find this problem only with simple geometry such as a square cylinder or cube. When I use a complicated stl file downloaded from the internet then it works fine. CFD_user |
|
February 29, 2012, 18:06 |
Bug
|
#5 |
New Member
Anone
Join Date: Feb 2012
Posts: 16
Rep Power: 14 |
Hi
Is this a possible bug in the software ? CFD_user |
|
February 29, 2012, 18:52 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Quote:
Best regards, Bruno
__________________
|
||
February 29, 2012, 19:54 |
|
#7 |
Senior Member
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 17 |
have you checked that the point that tells to sHM the inside of the volume domain is palced in a reasonable position and not in your stl? can you post some pictures of the error you are having?
|
|
February 29, 2012, 22:47 |
snappyhexmesh
|
#8 |
New Member
Anone
Join Date: Feb 2012
Posts: 16
Rep Power: 14 |
Hi
OK this is my file. Let me know whats wrong thanks CFD_user |
|
March 2, 2012, 08:31 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi CFD_user,
Instead of: Code:
refinementBox { type searchableBox; min (-100.0 -0.7 0.0); max ( 80.0 0.7 20.5); } Code:
refinementBox { type searchableBox; min (-100.0 -0.7 0.0); max (282 233 256); } Then, instead of: Code:
locationInMesh (0.3 30 0.43); Code:
locationInMesh (752.1231 300.3423 300.4234); Code:
// NOTE: This point should never be on a face, always inside a cell, even // after refinement. Best regards, Bruno
__________________
Last edited by wyldckat; March 3, 2012 at 10:47. |
|
March 4, 2012, 23:09 |
SnappyHexMesh
|
#10 |
New Member
Anone
Join Date: Feb 2012
Posts: 16
Rep Power: 14 |
Hi Bruno
Thanks very much, works perfectly. CFD_user |
|
March 8, 2012, 08:48 |
|
#11 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
hi bruno,
thx for your post! you helped me a few times and your discriptions are very good I learn everytime something new if i read your posts (here using paraview to see the points)! THX Tobi |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh Issues | deji | OpenFOAM Meshing & Mesh Conversion | 16 | October 20, 2021 08:13 |
Strange Results With snappyHexMesh | calebamiles | OpenFOAM Running, Solving & CFD | 0 | August 14, 2011 17:02 |
[snappyHexMesh] stitchMesh and snappyHexMesh | gdbaldw | OpenFOAM Meshing & Mesh Conversion | 0 | December 23, 2009 03:09 |
[snappyHexMesh] SnappyHexMesh | samiam1000 | OpenFOAM Meshing & Mesh Conversion | 0 | October 5, 2009 11:32 |
[snappyHexMesh] SnappyHexMesh not generate mesh first time | mavimo | OpenFOAM Meshing & Mesh Conversion | 4 | August 26, 2008 08:08 |