|
[Sponsors] |
March 27, 2013, 10:47 |
sHM, 2D, foils, sharp edge
|
#1 |
Member
|
Hi all!
I had some problems with my airfoil 2D mesh. First one was in bl at the tip of the foil. The layers just collapsed without connection. 2.jpg I just reduced the number of surface smooth normals and this problem was solved. Another one was in layers at the tail 3.jpg I did not succeed. May be there is no way to solve this problem (maxConcave was 180 and featureAngle 90). May be somebody would say something about it or suggest any idea about sHM and geometry with sharp edges?
__________________
practice makes perfect |
|
April 2, 2013, 11:38 |
|
#2 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
I don't know if this is applicable to your case (especially since it seems that you have a very sharp TE), but you could try my 2D airfoil mesher which generates a blockMesh file ready for OpenFOAM.
http://hvirvel.dk/airfoilmesher/ /Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
April 3, 2013, 03:27 |
|
#3 | |
Member
|
Quote:
I tried this mesher (is it your?) several times, but i had problems using it. May be i was due to airfoil profile data. So for my case i developed blockMesh, with C-mesh suitable well to my test case. But sHM is just for my interest. May be little bit later i will find a solution.
__________________
practice makes perfect |
||
April 3, 2013, 05:40 |
|
#4 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
Yeah it is mine, trouble is if you have sharp trailing edge. My generator creates o-meshes and expect some bluntness at the TE. If you just click "submit" without submitting any airfoil-data-file, it will default to a mesh for a blunt-TE NACA0015. There is an example airfoil-data-file on the page too.
Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
April 3, 2013, 05:52 |
|
#5 |
Senior Member
Join Date: Dec 2011
Posts: 111
Rep Power: 20 |
If you want to try I have made a C-mesh generator here: https://www.hpc.ntnu.no/display/hpc/...l+Calculations (see bottom of page). It can work with sharp trailing edges. Currently it generates NACA 4-digit airfoil meshes, but as long as you can get a table of coordinates into the script, it will mesh any airfoil with some small modifications.
However, it is not "production quality". If I were to use it in any serious work, I would have made some close-to-surface blocks that I would have fitted perfectly to the airfoil to get a more non-orthogonal mesh close to the surface. |
|
April 3, 2013, 07:14 |
|
#6 | |
Member
|
Quote:
Profile data is here (there's no sharp edge). NACA23012.txt blockMesh file generated by your script here blockMeshDict.txt I used default values in your script, except domain radius. I set 5 meters (profile data was in y/c, x/c coordinates)
__________________
practice makes perfect |
||
April 3, 2013, 07:22 |
|
#7 | |
Member
|
Quote:
In my C-mesh i have similar blocking structure. It's quite good for simulations. Close-to-surface blocks is a good idea, cause i had problems with this blocking structure. It was solved by adjusting of the edge grading. Some additional blocks could make mesh better definitely but it needs time.
__________________
practice makes perfect |
||
June 1, 2013, 10:08 |
help
|
#8 |
Member
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
hi skeptik
i want to create a c-mesh in blockmesh but i cant please can you help me ? |
|
June 2, 2013, 11:01 |
|
#10 |
Member
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
hi
i want to creat a c-meh in blockmesh please please can you help me? there is this error: Create time Creating block mesh from "/home/shirin/OpenFOAM/shirin-2.1.x/run/tutorials/mesh/snapp/block/constant/polyMesh/blockMeshDict" Creating curved edges Creating topology blocks Creating topology patches Check topology #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so" #1 Foam::sigSegv::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so" #2 in "/lib64/libc.so.6" #3 Foam::blockMesh::checkBlockMesh(Foam:olyMesh const&) const in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libblockMesh.so" #4 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libblockMesh.so" #5 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libblockMesh.so" #6 in "/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/bin/blockMesh" #7 __libc_start_main in "/lib64/libc.so.6" #8 at /home/abuild/rpmbuild/BUILD/glibc-2.14.1/csu/../sysdeps/x86_64/elf/start.S:116 Segmentation fault |
|
June 2, 2013, 12:06 |
|
#11 |
Member
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
hi
i can create c-mesh but the block is not correct please help me |
|
June 2, 2013, 16:05 |
|
#12 |
Member
|
it seems that you have extra blocks at the tip zone.
you did arc edges, that's right, but there left straigth edges of another block, i see
__________________
practice makes perfect |
|
June 3, 2013, 04:45 |
|
#13 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
@Ilya, my simplistic online blockMesh-preprocessor can't handle negative values for the x-coordinate. If you change those three points where x is negative in your airfoil geometry it seems to work.
Just move it a bit out of the positive x-axis to the smallest x-coordinate is zero. Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
June 6, 2013, 09:08 |
|
#15 | |
Member
|
Quote:
Thank you for your script. It saves time.
__________________
practice makes perfect |
||
August 2, 2013, 11:30 |
rotate
|
#16 |
Member
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
Hi dear forumer
i want rotate airfoil in different attack angle but fix the domain and it dont rotate Can anyone help me? |
|
August 7, 2013, 03:16 |
answer
|
#17 |
Member
|
look for 'surfaceTransformPoints'. i think it could help you.
__________________
practice makes perfect |
|
August 7, 2013, 07:15 |
rotate
|
#19 |
Member
|
Of course, it's reliable way to change flow direction. But if you have a wing in tube, better to change surface position. So it depends from case.
__________________
practice makes perfect |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[snappyHexMesh] SHM: sharp edge resolving problem with explicit feature edges | piotr.mecht | OpenFOAM Meshing & Mesh Conversion | 21 | May 9, 2020 15:56 |
[ICEM] Meshing Wing with low Y+ value and sharp trailing edge | sonic109 | ANSYS Meshing & Geometry | 0 | July 27, 2015 10:29 |
[ICEM] Hole near sharp trailing edge of airplane/wing geometry | jlichtwa | ANSYS Meshing & Geometry | 2 | September 21, 2010 16:19 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |