sHM, 2D, foils, sharp edge
2 Attachment(s)
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. Attachment 20189 I just reduced the number of surface smooth normals and this problem was solved. Another one was in layers at the tail Attachment 20190 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? |
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 |
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. |
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 |
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. |
2 Attachment(s)
Quote:
Profile data is here (there's no sharp edge). Attachment 20383 blockMesh file generated by your script here Attachment 20384 I used default values in your script, except domain radius. I set 5 meters (profile data was in y/c, x/c coordinates) |
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. |
help
hi skeptik
i want to create a c-mesh in blockmesh but i cant please can you help me ? |
Hi
what is your problem? |
1 Attachment(s)
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::printStack(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::polyMesh 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 |
2 Attachment(s)
hi
i can create c-mesh but the block is not correct please help me |
Quote:
you did arc edges, that's right, but there left straigth edges of another block, i see |
@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 |
@Mads
Now it's clear! Thank you very much. I'll try it little bit later. I think your tool would be very useful. |
Quote:
Thank you for your script. It saves time. |
rotate
Hi dear forumer
i want rotate airfoil in different attack angle but fix the domain and it dont rotate Can anyone help me? |
answer
Quote:
|
@skeptik: Um, did I understand you wrong?: Just change the inlet velocities.
Mads |
rotate
Quote:
|
Oh I didn't realise you had your wing in a tube. That's a bit unusual :)
Mads |
All times are GMT -4. The time now is 06:02. |