# Meshing of two airfoils

 Register Blogs Members List Search Today's Posts Mark Forums Read

 February 13, 2011, 13:12 Meshing of two airfoils #1 New Member   Join Date: Jan 2011 Posts: 9 Rep Power: 8 Hey, I have to solve the following problem: Given are two airfoils right behind each other. The incidence angle of both the first and the second airfoil is zero degrees. I'm wondering what the most efficient way to mesh this geometry would be. I haven't found any papers dealing with this problem. Thanks for you help, Marko

February 14, 2011, 17:45
High lift...
#2
Retired from CFD Online

Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,665
Blog Entries: 1
Rep Power: 39
I recommend 2D Hexa Blocking... And actually these sorts of things are done quite regularly...

See this configuration from last years AIAA workshop... (actually the workshop was done in 3D, but you get the idea).
Attached Images
 O-grid_all_around.jpg (34.0 KB, 94 views) O-grid_flow_back.jpg (32.7 KB, 82 views) Grid and Wake resolution over wing.jpg (39.9 KB, 86 views) Turbulent Wakes over Three Element Trap Wing Section.jpg (30.1 KB, 72 views)

February 14, 2011, 18:25
#3
Senior Member

Join Date: Nov 2009
Posts: 411
Rep Power: 13
Quote:
 Originally Posted by Malohm Hey, I have to solve the following problem: Given are two airfoils right behind each other. The incidence angle of both the first and the second airfoil is zero degrees. I'm wondering what the most efficient way to mesh this geometry would be. I haven't found any papers dealing with this problem. Thanks for you help, Marko
I suspect you are using Gambit, a good strategy will be to split your flow domain in few simpler subdomains that can be meshed with MAP. Using a block structured mesh will give you a clean solution and faster convergence. You can use as guide the images posted by PSYMN, however the 2D Hexa Blocking mesher is available only in ICEM-CFD included with Fluent 12 and up.

If you want a fast solution just used one of the unstructured meshing algorithms from Gambit.

Do

 February 15, 2011, 13:40 #4 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 I agree... If you are already using gambit, just forget about mapped for now and use a nice tri mesh with Gambit's sizing function... It won't be as accurate, but it will be pretty good and you could have your solution the same day. The structured mesh takes more time up front, and so is more worth doing if you plan to do a study of a series of designs (the initial effort will be divided out over the series and could actually save you time) and are very concerned about accuracy or rapid convergence. If you are starting from zero (no Gambit experience was my earlier assumption), then I would suggest that you would be better off learning ICEM CFD (for mapped quads) or ANSYS Meshing (if you want unstructured triangles).

 February 15, 2011, 14:06 #5 New Member   Join Date: Jan 2011 Posts: 9 Rep Power: 8 ok, thanks for all your advices! I think I'll switch to ICEM to try the hexa meshing. And thanks for the pictures

February 25, 2011, 06:48
#6
New Member

Join Date: Jan 2011
Posts: 9
Rep Power: 8
Ok, this is a result after my first trials with ICEM. What do you think?

The next step would be to add an additional wall to study the wing in ground effect for this configuration.
Attached Images
 Unbenannt.jpg (76.2 KB, 93 views)

 February 25, 2011, 11:27 #7 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 It looks pretty good. Perhaps you would have saved some mesh if you had used a CGrid. (if you did, I can't tell from this pic). For your ground plane, just start with the previous model, add a horizontal split and associate it with the new ground curve. Then delete (or change material on) the blocks below the split.

February 25, 2011, 12:34
#8
New Member

Join Date: Jan 2011
Posts: 9
Rep Power: 8
Actually I did

Thanks, I'll run some calculations and then add the ground plane.
Attached Images
 mesh1.jpg (100.5 KB, 52 views)

February 26, 2011, 08:42
#9
New Member

Join Date: Jan 2011
Posts: 9
Rep Power: 8
When trying to import the mesh into fluent I get this error message. Any ideas what could be wrong?

Details are:

Ans.Fluent.Cortex.CortexCommandFailedException: An error occurred in FLUENT when executing command (wb-read-case "C:\Users\Marko\Uni\STS\Mesh\free1.msh" 'cas)
An error occurred in FLUENT when executing command (wb-read-case "C:\Users\Marko\Uni\STS\Mesh\free1.msh" 'cas)
at Ans.Fluent.Cortex.CortexCommunicator.SendMessage(S tring msg, String msgKey, String errorMessage, Boolean waitForReply)
at Ans.Fluent.Cortex.CortexCommunicator.SendMessage(S tring msg, String msgKey)
at Ans.Fluent.Data.SetupData.LaunchFluentAndRead(Comm andContext context, Boolean batchMode, Boolean loadSolution, DataContainerReference fromContainer, Boolean internallyStarted)
at Ans.Fluent.Commands.EditCommand.Execute(CommandCon text context)
at Ans.Core.Commands.Concurrency.CommandWorkUnit.exec uteInContext(CommandContext subContext, IExecutionEngineCallback tracer)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.doExecu te(IExecutionEngineCallback executionEngine, CommandContext subContext)
at Ans.Core.Commands.Concurrency.BaseWorkUnit.Execute (IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ans.Core.Commands.CommandFailedException: An error occurred in FLUENT when executing command (wb-read-case "C:\Users\Marko\Uni\STS\Mesh\free1.msh" 'cas)
An error occurred in FLUENT when executing command (wb-read-case "C:\Users\Marko\Uni\STS\Mesh\free1.msh" 'cas)
Command: Fluent.Edit(Container="Setup")
at Ans.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ans.Core.Commands.CommandAsyncResult.Wait()
at Ans.Fluent.Commands.EditCommand.InvokeAndWait(ICom mandContext context, DataContainerReference Container, Boolean Interactive)
at Ans.Fluent.Gui.GuiUtilities.GetLauncherSettingsAnd Edit(GuiOperationContext operationContext, DataContainerReference cref, LauncherEditMode editMode)
at Ans.Fluent.Gui.OpenInFluentGui.Invoke(GuiOperation Context operationContext)
at Ans.UI.UIManager.<>c__DisplayClass9.<InvokeOperati on>b__8()
at Ans.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages)
Attached Images
 fehler.jpg (28.4 KB, 28 views) error.jpg (74.5 KB, 17 views)

Last edited by Malohm; February 26, 2011 at 09:46.

 February 26, 2011, 16:47 Mesh not case... #10 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 I think you read it in as a case file instead of a mesh file... A case file has a lot more info that is missing...

 February 26, 2011, 18:37 #11 New Member   Join Date: Jan 2011 Posts: 9 Rep Power: 8 Ok it works. I used the repair function in Icem. Thanks for your help. Last edited by Malohm; February 27, 2011 at 09:55.

 March 12, 2011, 09:35 #12 New Member   Join Date: Jan 2011 Posts: 9 Rep Power: 8 This might be a stupid question, but I'm not sure yet whether my grid is structured or unstructured. I use quadrilateral elements and following this tutorial I converted it the pre-mesh to an unstructured mesh to export it. So, I think after importing my mesh to fluent it is unstructured, isn't it? I'm using spalart allmaras to calculate my solutions. I choose "Gree-Gauss Node Based" as solution method. So I guess a finite volume method is applied, am I right? Diffusion terms are discretized with second-order central differencing scheme. So just to be sure, I use an unstructured grid with finite volume method. Or does Fluent treat my mesh as structured anyways? Edit: worked through the theory of finite volume methods. The only remaining question: Even though I convert my mesh to an unstructured mesh, is it still structured since it fulfills all criterias for a structured mesh? Last edited by Malohm; March 12, 2011 at 14:53.

 March 12, 2011, 22:26 Unstructured Solver... #13 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 Structured vs unstructured is more about how the data is stored than how it looks... ICEM CFD hexa can generate the same mesh and output it as either an unstructured or a multi-block structured mesh. Fluent (since version 4) has been an unstructured solver. But this doesn't mean there aren't numerical advantages to having a nicely ordered unstructured mesh...

March 13, 2011, 20:54
2D_airfoil meshing
#14
New Member

Ruben Ruiz
Join Date: Sep 2010
Posts: 20
Rep Power: 9
hI SIMON i wrote you before asking for some meshing..i have the same problem that malohm..i am using gambit for meshing and i need a y+<=1 because i am trying to obtain the transition point on an airfoil we design for an asme competition..i a mechanical engineer student from venezuela..

i have seen your youtube videos, so i can learn a little bit about icem, i have a question on video #3 where you fast forwarded the video, can you tell me what did you do there??

this is what i did on gambit but i think i can get better results using icem
Attached Images
 mesh_2.jpg (97.5 KB, 55 views) mesh_1.jpg (94.8 KB, 47 views)

 March 13, 2011, 20:58 #15 New Member   Ruben Ruiz Join Date: Sep 2010 Posts: 20 Rep Power: 9 I am using SST transition model from fluent 12 but it doesn't converge the results...i think i have serious problems with my mesh so, i need to improve it.. I have check my boundaries conditions and they are good, i can send you if you want.. I need this improve so i can work on my thesis..i choose this model to investigate and i am stock on the mesh...

 March 13, 2011, 21:27 #16 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 Your Gambit mesh looks pretty good from here... what time in the ICEM video are you talking about? I haven't watched them since I made them, so you need to be a bit more specific with your question. I should note that my work is getting much busier lately so I am scaling back on CFD Online... I am also going on vacation in a couple days...

 March 13, 2011, 21:33 #17 New Member   Ruben Ruiz Join Date: Sep 2010 Posts: 20 Rep Power: 9 Hi simon Thanks for your answer..it is on 1:05 from video #3..

 March 13, 2011, 21:53 #18 New Member   Ruben Ruiz Join Date: Sep 2010 Posts: 20 Rep Power: 9 Hi mister Simon As you request..this the link http://www.mediafire.com/?v1b5bq5q7yfc4xk http://www.mediafire.com/file/v1b5bq5q7yfc4xk/Ruben.rar

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post kdrbrk FLUENT 0 October 18, 2010 05:31 RaÃºl MuÃ±oz Main CFD Forum 3 October 19, 2007 08:58 azzuri FLUENT 1 November 30, 2004 03:23 Ken Main CFD Forum 0 September 4, 2003 11:09 ken FLUENT 0 September 4, 2003 11:08

All times are GMT -4. The time now is 14:21.