|
[Sponsors] |
August 12, 2011, 07:08 |
snappyHexMesh - Poor surface
|
#1 |
Member
Daniel
Join Date: Apr 2010
Location: Manchester
Posts: 30
Rep Power: 16 |
I'm trying to mesh an axisymmetric slender body (a finless missile) using snappyHexMesh. I have a very high quality .stl file and have modified the motorBike snappyHexMeshDict rather than write from scratch as I'm just getting to grips with openFoam. However, when I run sHM I get a very low quality surface as can be seen in the attached image for the first and second 'timestep' during sHM.
What I would like to know is which parameter in which Dict is it that controls the quality of the surface matching? I would be inclined to say that increasing the grid resolution in blockMeshDict would help. If this is so, is it possible to create a blockMesh cuboid around the missile geometry of high resolution which is contained within a larger domain cuboid? (See attached image) |
|
August 12, 2011, 08:20 |
|
#2 |
Member
Daniel
Join Date: Apr 2010
Location: Manchester
Posts: 30
Rep Power: 16 |
OK, so it looks like I hadn't told sHMDict to refine the surface, only the refinement area.
Before I had: Code:
refinementRegions { refinementBox { mode inside; levels ((0.5 1)); } } Code:
refinementRegions { refinementBox { mode inside; levels ((0.5 1)); } motorBike { mode distance; levels ((0.0001 6) (0.001 5) (0.01 4) (0.1 3) (0.2 2)); } } |
|
March 16, 2014, 12:43 |
|
#3 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15 |
Hi Daniel ,Have you solved the problem? Have you gotten a high quality surface? Actually I have a problem similar to you!!
Best regards, Sasan. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CAD formats] Creating waterproof STL using snappyHexMesh or salome | Tobi | OpenFOAM Meshing & Mesh Conversion | 58 | May 13, 2020 07:01 |
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing | peterhess | OpenFOAM Meshing & Mesh Conversion | 2 | January 3, 2018 03:54 |
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. | jasv | OpenFOAM Meshing & Mesh Conversion | 4 | May 10, 2016 03:55 |
[snappyHexMesh] snappyhexmesh doesn't creat mesh in parallel issue? | klausb | OpenFOAM Meshing & Mesh Conversion | 1 | March 7, 2015 12:55 |
[snappyHexMesh] stitchMesh and snappyHexMesh | gdbaldw | OpenFOAM Meshing & Mesh Conversion | 0 | December 23, 2009 03:09 |