|
[Sponsors] |
[snappyHexMesh] snappyHexMesh does not snap to corner |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 29, 2012, 11:58 |
snappyHexMesh does not snap to corner
|
#1 |
New Member
Matthias
Join Date: Jun 2011
Posts: 8
Rep Power: 15 |
Dear all,
apologies for this noob question right away, but I've been working on solving this problems for some days now and I can't come to a solution. I try to mesh a simple rectangular nozzle and I run into problems on the intersection of the outer shape and the outlet. (--> see attached images) Strangely enough the intersection of Inlet and outer shape is meshed just fine. snappyHexMeshDict and blockMeshDict: snappyHexMeshDict.txt blockMeshDict.txt nozzle.jpg front_view.jpg rear_view.jpg I wonder if anyone can come up with some ideas where my mistake might be. Thanks in advance for any input. Matze |
|
August 30, 2012, 07:08 |
|
#2 |
Member
|
Try to use featureEdges. In case you did you may want to ease/alter your quality settings.
Compared to the rest of the domain your edges seem to have a very high cell resolution. If you use featureEdges you won't need to refine those as much.
__________________
~~~_/)~~~ |
|
August 30, 2012, 08:50 |
|
#3 |
New Member
Matthias
Join Date: Jun 2011
Posts: 8
Rep Power: 15 |
Hi, thanks for the answer.
I'm using surfaceFeatureExtract, but the problem is that not all detected edges are also refined. For illustration I have added a very simple geometry. screen.jpg When I run featureExtract it finds 8 points and 12 edges. 8 edges are marked 'region', one is marked 'external', three are marked 'internal'. Maybe that's a symptom of the problem, but neither know what that implies nor how to change it... Any more ideas? Please ignore the high resolution along the edges. I'm aware of the fact that that's not necessary, but I don't believe it is the root of my problem. Best regards, Matze |
|
August 30, 2012, 09:51 |
|
#4 |
Member
|
i see ... have you checked that all your feature edges are there?
to check using paraFoam you will have to convert the eMesh-File to an obj-File like this Code:
surfaceFeatureConvert /constant/triSurface/YOURFILE.eMesh featurelines.obj Oh and by the way what version are you using? ... there were problems in 2.0.x so better head for 2.1.x ... i just saw that your files say 2.1.1. so that should be OK.
__________________
~~~_/)~~~ |
|
August 30, 2012, 10:03 |
|
#5 |
New Member
Matthias
Join Date: Jun 2011
Posts: 8
Rep Power: 15 |
I'm using OF 2.1.1 ... and yep, all 8 feature lines are visible when importing them in paraview. The eMesh file for this case is very short, so I also checked it in an editors and again: all 12 edges are there...
|
|
August 30, 2012, 10:23 |
|
#6 |
Member
|
hmm ... too bad ...
There is this thread here, but the issue should have been resolved: http://www.cfd-online.com/Forums/ope...ain-edges.html If those feature-edges dont work you can edit them in Blender (www.blender.org). Try to make them longer/shorter. You can even create other feature edges in blender an export them as "obj". when ready exporting from blender you will have to change the character "f" to an "l" for all eges in the obj-file. (migh be a german issue). Code:
sed -i 's/f /l /' features_from_blender.obj Code:
surfaceFeatureConvert features_from_blender.obj constant/triSurface/features_from_blender.eMesh I am using that method quite frequently as for a lot of geometries that i use (mainly ship hulls) i get a lot of feature lines that I don't want. So I delete those unwanted lines using blender. Works quite nicely G Jan
__________________
~~~_/)~~~ |
|
January 26, 2013, 12:37 |
|
#7 |
New Member
Join Date: Apr 2010
Posts: 16
Rep Power: 16 |
Mattias,
Did you ever solve your edge resolution problem? Saif |
|
June 24, 2013, 05:44 |
|
#8 | |
New Member
Thomas Smyth
Join Date: Apr 2010
Posts: 14
Rep Power: 16 |
Quote:
Thank you very much for that advice. Been banging my head (literally at times) against a wall all day trying find what the problem was! |
||
Tags |
corners, edges, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Run snappyHexMesh steps (castellated, snap, addlayer) separately | Glc | OpenFOAM Meshing & Mesh Conversion | 6 | October 8, 2021 03:50 |
[snappyHexMesh] snappyHexMesh Boundary Layer at Corner | panpanzhong | OpenFOAM Meshing & Mesh Conversion | 5 | July 3, 2018 06:53 |
[snappyHexMesh] SnappyHexMesh refine but does not snap | malaboss | OpenFOAM Meshing & Mesh Conversion | 6 | December 10, 2014 06:31 |
[snappyHexMesh] snappyHexMesh failure to snap to geometry | Yadasol | OpenFOAM Meshing & Mesh Conversion | 1 | November 17, 2014 06:00 |
snappyHexMesh: cell lower corner instead of cell centre | andrea.pasquali | OpenFOAM Programming & Development | 4 | February 11, 2013 07:22 |