CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS Meshing & Geometry (
-   -   [ICEM] Meshing sinusoidal leading edge wing in ICEM (

ryerson_guy March 4, 2013 14:55

Meshing sinusoidal leading edge wing in ICEM
2 Attachment(s)
Hi there,

I am trying to mesh a wing which has sinusoidal leading edge and so far have been struggling with the mesh. I would like to know if I should use an O-grid block or a C-grid. I tried to use a C-grid and the resulting mesh has a lot of errors. I am attaching my project files. I want to use symmetry boundary conditions on both sides of my model (wing modeled as an infinite wing) . Please help me out thanks.

Far March 4, 2013 23:17

Far March 5, 2013 01:37

1 Attachment(s)
Hey this is what I got on your case in 10 minutes. Hope it helps you...

PS: Upload on dropbox may take some time, meanwhile you may encounter error 404

ryerson_guy March 5, 2013 04:05

Hi Far,

Thank you very much for helping me out. I will learn from your blocking strategy and if I come across any trouble i'll post again. Thanks again I really appreciate your help.

Far March 5, 2013 05:05

You will notice that I have divided surface of wing into four parts (arbitrarily at 25%, 50% and 75% spanwise locations). I don't know why ICEM likes this way of surface in blocking and recently I happen to solve similar in following thread with this method of surface division.

PS: This may not be the actual issue, it may be just my illusion.:confused:

ryerson_guy March 5, 2013 05:07

Hi there,

May I know how were you able to extract curves from surfaces? It seems like you generated the airfoil sections in the middle and one on each sides. I tried to use extract surfaces from curves options in geometry and have been unsuccessful.

Far March 5, 2013 05:13

Geometry > Create/Modify curve > Iso curve methods (fourth from left in first row)

To split surface : Geometry > Create / Modify Surface > Segment Surface (third from left in 2nd row)

ryerson_guy March 5, 2013 05:35


were you able to get the trailing edge points perfectly or you manually drew them? because i am unable to project trailing edge curve from above options

Far March 5, 2013 08:15

Ok. For one surface on trailing edge , I changed parameter from u to v (used same values i.e. 0.25, 0.5 and 0.75). Then I go back to geometry > create point > curve ends (first from left in 2nd row)

ryerson_guy March 6, 2013 01:15

1 Attachment(s)
Thanks for your help. Using your method I was able to generate a nice grid for my geometry. The thing is I shall be adding more tubercles (image attached). From your experience would you recommend using the same blocking strategy?

I also read the posts you referred earlier regarding 'mesh unable to follow curved geometry'. Unfortunately the project files are not there any more and I have nothing to refer. Please advise.

Far March 6, 2013 01:21

Same strategy would work perfectly. Re-use same blocking and increase no of nodes on the high curvature areas to capture them properly. Try and come back if you get any problem.

And good luck with your optimization work.

I have those files, but it would be better to ask the primary source Ananthakrishnan.A.S (through pm) to give you files and his thesis. He got the wonderful results for his optimization work.

Far March 6, 2013 01:28

Look for files in this thread

ShowponyStuart March 15, 2013 05:37

Hi, I'm working on a similar project myself and have been using the ansys mesher mesh it for me. I have been fighting it the whole time trying to generate a nice mesh so I started investigating ICEM.

I have gotton as far as being able to mesh a 3d wing with some sort of success (I think)....but still not quite good enough. How hard would it be to learn how to block like you have for this wing. Ultimately my aim would be to be able to use a script to import the geometry and the (judging by the blocking you have done) input how many nodes so you can use geometry with various amplitudes and wavelengths.

Would it be possible to outline how you blocked this in simple enough terms for an idiot to understand? I understand what youve done in terms of blocking approach, Im just not sure how to achieve it exactly.

Usually I would take more time to learn it thoroughly...but its very late into the project. I would probably spare 2-3 full days learning if I need too, but I cant spend much more then that as I need to keep simulating.

So any chance of a bit of a walk through, or will it not be worth it?

ryerson_guy April 8, 2013 03:48

Hi there,

I followed your method and was able to obtain the grid for the case where the amplitude was reduced, however, for the case where amplitude was increased, mesh started to have negative elements. The same goes for the case where the I increased the wavelength. I see some elements penetrating into surface and moved some vertices but didnt help. Would you please mind helping again?

The files are in the link below:

ShowponyStuart April 8, 2013 03:50

did you change "project face" to "project edge"? Right click in premesh to change that and see if that helps.

ryerson_guy April 8, 2013 03:54

I tried but it has to do with mesh quality, which is irrespective of projecting edges or faces, which is less than zero in my case.

Far April 8, 2013 04:06

Stuart: do you still need help? I missed this one as I was busy with my course (renewable energy)

ryerson_guy: please post some pics....

ShowponyStuart April 8, 2013 04:07

Hey man,

Just had a look and saw how you were doing it. I actually do mine differently (on the advice of FAR) I dont bother splitting the blocks in the spanwise direction. I just associate the leading edges to a curve on the wing to the a single block.

I dont think it captures the geometry perfectly, it seems pretty robust.

Im not sure if I explained that particularly well but here is one of mine for you too look at. You may need to "project to edge" like I said before to see what it will normally look like (for some reason default is set to project to face)

ShowponyStuart April 8, 2013 04:08

Hahaha, thanks FAR but you already helped me HEAPS in this thread. (which might be useful to you too ryerson_guy

ryerson_guy April 8, 2013 04:44

5 Attachment(s)

Pics are attached.

All times are GMT -4. The time now is 04:51.