SnappyHexMesh
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 |
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.
|
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)
|
snappyHex mesh
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 |
Bug
Hi
Is this a possible bug in the software ? CFD_user |
Greetings to all!
Quote:
Best regards, Bruno |
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?
|
snappyhexmesh
1 Attachment(s)
Hi
OK this is my file. Let me know whats wrong thanks CFD_user |
1 Attachment(s)
Hi CFD_user,
Instead of: Code:
refinementBox Code:
refinementBox 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 Best regards, Bruno |
SnappyHexMesh
Hi Bruno
Thanks very much, works perfectly. CFD_user |
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 |
All times are GMT -4. The time now is 06:58. |