|
[Sponsors] |
[snappyHexMesh] What could be the reason of snappy not applying to mesh? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 26, 2023, 05:39 |
What could be the reason of snappy not applying to mesh?
|
#1 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 57
Rep Power: 4 |
Even after snappyhexmesh finished successfully, mesh only have result of blockmesh, so it doesn't have any patch of stl file I put in constant folder
When I checked the log, snappyhexmesh finished without error (and several Millions of cell). I used -overwrite, and used 'location inside mesh' properly What could be other possibility to fail my snappyhexmesh result to written in mesh? |
|
June 26, 2023, 05:42 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26 |
In addition, posting your snappy log might help to spot something. Yann |
|
June 26, 2023, 11:15 |
|
#3 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 57
Rep Power: 4 |
I ran in parallel, and checked paraview, but it was only original file.
|
|
June 26, 2023, 11:31 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26 |
Have you reconstructed your mesh, or selected "Decomposed case" in Case Type when loading your case in paraView?
If not, you are probably looking at the initial mesh located in constant/polyMesh rather than the final mesh located in processor*/constant/polyMesh. 2 Solutions:
|
|
June 26, 2023, 21:16 |
|
#5 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 57
Rep Power: 4 |
I reconstructed my mesh using reconstructparMesh, and after that I used simpleFoam, but was extraordinary fast with every force being 0 (probably bc patch wasn't overwritten and only blockmesh was left in mesh)
Few weeks ago I ran similar code with different stl file, and it worked fine. So I'm curious if stl file can affect it. |
|
June 26, 2023, 21:19 |
|
#6 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 57
Rep Power: 4 |
Also, when I check constant/polyMesh, mesh seems to be properly updated since all files' size have increased significantly. But I can't find out why It isn't used when I decompose again and run simpleFoam parallel
Update) No, it isn't updated. I made a mistake. It is same file size as before |
|
June 27, 2023, 03:06 |
|
#7 |
Senior Member
M
Join Date: Dec 2017
Posts: 643
Rep Power: 12 |
I'd recommend starting from a fresh directory and doing only the meshing as a first step and carefully look for the pointers that Yann provided!
|
|
June 27, 2023, 03:51 |
|
#8 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 57
Rep Power: 4 |
I reduced mesh size and started with fresh directory, and it worked!
Problem is, it shows "expected a ')' while reading binaryblock" error while reconstruction with non-reduced mesh version sim. But it is different issue, so I will finish this question in the thread with thanks to both of you. |
|
June 27, 2023, 03:54 |
|
#9 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,085
Rep Power: 26 |
Quote:
(with OpenFOAM, details matter! ) In addition to AtoHM recommendation: if it worked before with another STL file, make sure your new STL is properly scaled and properly positioned relatively to the blockMesh. EDIT: I didn't see your last message, glad to know you made it work! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
[snappyHexMesh] Holes in internal mesh when adding boundary layer snappyHex | otaolafr | OpenFOAM Meshing & Mesh Conversion | 3 | February 8, 2021 08:19 |
[snappyHexMesh] non uniform mesh near the stl object | vava10 | OpenFOAM Meshing & Mesh Conversion | 0 | January 31, 2021 14:41 |
[snappyHexMesh] Snappy Hex Mesh - issue with smoothness of the model edges | olek.warc | OpenFOAM Meshing & Mesh Conversion | 1 | August 31, 2018 11:31 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |