|
[Sponsors] |
[snappyHexMesh] Meshing an airfoil (3D - OF 2.2.0) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2013, 10:47 |
Meshing an airfoil (3D - OF 2.2.0)
|
#1 |
Member
Andreas Wendy
Join Date: Aug 2012
Posts: 73
Rep Power: 14 |
Hi everybody,
currently I am trying to get a nice mesh of two rotor blades in an three-dimensional mesh. But the mesh I get is not satisfying. The trailing edge is everything else then sharp and on the top and the bottom of the profile I get some "buckles". I need a spherical mesh so my procedure is the following. 1. blockMesh 2. snappyHexmesh to get a spherical Mesh and refine the region around the airfoil 3. Meshing the airfoil with snappyHexMesh You can find the case in the following url: http://ubuntuone.com/2Q0ITgnwbAr7zfvGonRAUe I use for meshing OpenFOAM 2.2.0 I also have a different question. Is it possible to get on each patch (m1... - m9, p1... - p9...) different thicknesses of the first boundary layer? I need them for getting good values for y+. Best wishes Andreas |
|
April 18, 2013, 06:24 |
|
#2 |
New Member
Timo Kulju
Join Date: Aug 2009
Posts: 22
Rep Power: 17 |
For the edges, try using surfaceFeatureExtract-utility (see $FOAM_TUTORIALS/mesh/snappyHexMesh/flange/ ). In my experience, for good mesh the blockMesh should be formed with perfect cubes. But I'm not 100% sure about that... For the layers, I think the number of layer levels can be defined per patch.
Best, - Timo |
|
July 9, 2013, 06:25 |
|
#3 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi,
I've been having similar issues as you when meshing a marine propeller. I've discovered that with a "nice" .stl file with a smooth, continuous edge the surfaceFeatureExtract utility will not capture it unless you set (in the dict file): minElem 1; (In most tutorial cases I've seen it's set to a value between 5 or 10 by default) You can then see what edges have been extracted by running: surfaceFeatureConvert constant/triSurface/your_file.eMesh your_file.obj and then simply viewing it in paraview and comparing against the original .stl or the mesh. Hope this helps. Cheers, Artur P.S. I've been trying to find a way of having different layer mesh settings too but haven't found anything yet except for having different no. layers as pointed out by Timo. Let me know if you find out more about this please. |
|
July 13, 2013, 08:08 |
|
#4 |
Member
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13 |
Hi there,
you should run surfaceFeatureExtract. Then you can check what it did by: Code:
surfaceFeatureConvert constant/triSurface/your_file_name.eMesh your_file_name.obj paraview your_file_name.obj then you can reduce ResolveFeatureAngle in snappyHexMeshDict. you can also use implicit feature snap. (disable the explicit) I hope it helps. It should work. I'm also meshing a wing in snappy, but can't add boundary layer, everything else works fine. |
|
August 19, 2013, 10:12 |
|
#5 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
what is the difference between implicit feature snap and explicit one? i ask this question because you suggest for disabaling the explicit feature snap, and i don't why? Thanks |
||
August 19, 2013, 12:57 |
|
#6 | |
Member
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13 |
Quote:
this post was made in moments i was just learning ways with snappy, so I don't use implicit f.s. anymore. As far as I know, you can have implicit, explicit or none f.s. I'm not sure, but I think that implicit doesn't use the e-mesh files for snapping, but makes it's own on-the-fly. Explicit, on the other hand, lets you define angle below your .stl mesh (or features) will be picked-up. Someone should correct me if this is not true. Note that you don't need to use explicit feature snapping for refinement only, if your surface is not smooth somewhere, running e.f.s. on that place with the same refinement as the surface could fix the problem. Please ask if you have further questions - miro |
||
October 12, 2013, 09:01 |
|
#7 | |
Senior Member
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 15 |
Quote:
i didn't understand where we should set "minElem 1;" to have a beeter *.eMesh after runnig the surfaceFeatureExtract? whould you please guide me, Thank you very much. P.S. i have three stl file, i put my surfaceFeatureExtractDict in the attachment. |
||
October 12, 2013, 14:07 |
|
#8 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Try this:
Code:
propeller.stl { // How to obtain raw features (extractFromFile || extractFromSurface) extractionMethod extractFromSurface; extractFromSurfaceCoeffs { // Mark edges whose adjacent surface normals are at an angle less // than includedAngle as features // - 0 : selects no edges // - 180: selects all edges includedAngle 160; } trimFeatures { // Remove features with fewer than the specified number of edges minElem 1; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ffd_control_point_2d | feiyi | SU2 | 4 | September 30, 2019 13:42 |
[Gmsh] Vertex numbering is dense | KateEisenhower | OpenFOAM Meshing & Mesh Conversion | 7 | August 3, 2015 11:49 |
[ANSYS Meshing] Meshing 3 Element Airfoil | mr.rushikumar | ANSYS Meshing & Geometry | 0 | March 1, 2014 23:57 |
[GAMBIT] Problematic meshing of an inverted airfoil | snkutta | ANSYS Meshing & Geometry | 2 | October 11, 2011 14:23 |
[GAMBIT] Meshing airfoil using .dat file problem | creggie | ANSYS Meshing & Geometry | 10 | June 27, 2010 20:24 |