CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Yet another NACA0012 Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2009, 04:07
Default Yet another NACA0012 Problem
  #1
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Long time reader, first time poster.

I am required to investigate using CFD whether the height of our wind tunnel is enough so as not to effect the flow around a NACA0012 foil that resides within.

We have results from experiments to get the desired Cl and Cd values based on a series of Cp readings.

To begin with the geometry was created with a thin extruded duct and the aerofoil cut out. The issues started when it came to meshing it with CFX. Glenn Horrocks (Thanks for that information you sent) mentioned that it can be tricky to get inflation to continue to and round the trailing edge of the foil. The attached image shows it dying off as it approached the end.
The inflation layer itself goes from a prism height a fraction of the estimated boundary layer in height to the size of the other tetra cells. There is also constant face spacing along the foil surface.
Is there a way to get the inflation layers to continue round to the back?

The set up is a normal speed inlet, a zero relative pressure outlet. Global initilization has zero cartesian velocity components and a zero relative static pressure.

Also, in the results, I've created a polyline going along centre of the surface of the foil. Using this I'm plotting in a chart the pressure variance with distance. To get the Cp instead can I create a function or variable based on the pressure and use it as the chart variable?

Thank you very much for your time.

Regards,
Steven
Attached Images
File Type: jpg Inflation NACA Foil.jpg (96.7 KB, 76 views)
s4097294 is offline   Reply With Quote

Old   May 18, 2009, 10:09
Default
  #2
Member
 
Jules Bell
Join Date: May 2009
Posts: 32
Rep Power: 17
Jules is on a distinguished road
Yes, you can do this.
Depending on wether or not you want to monitor this variable during the solver run, you have to specify this variable in CFX Pre before starting the solver run. In this case I believe you have to include this extra variable in the output list. This will make your solution file a bit larger, because the additional variable value will be stored for every grid point. Also you cannot monitor line plots during solver run, only scalar values.
Therefore it will probably suffice to define this variable in CFX post for evaluation.
You can simply create a new variable, define its value with a CEL expression and use it for evaluation on your line plot. It's pretty easym with the help of the manual you can probably figure it out in 5-10 minutes.

Good luck,

Jules
Jules is offline   Reply With Quote

Old   May 18, 2009, 21:13
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

A comment about your mesh. It looks like you have the airfoil as its own body. The inflation tool has problems at the trailing edge, that is why your inflation layers reduce to nothing at the trailing edge.

I recommend you put a thin cut out the end of the airfoil, and do an inflation mesh both sides of it. This will allow you to do a full thickness inflation layer right to the end of the foil. If you are clever you can also make the cut follow the airfoil wake then you will get much better modelling of the airfoil wake as you will be modelling it with prism elements not big tets.

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   May 19, 2009, 11:36
Default
  #4
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Hi,

A comment about your mesh. It looks like you have the airfoil as its own body. The inflation tool has problems at the trailing edge, that is why your inflation layers reduce to nothing at the trailing edge.

I recommend you put a thin cut out the end of the airfoil, and do an inflation mesh both sides of it. This will allow you to do a full thickness inflation layer right to the end of the foil. If you are clever you can also make the cut follow the airfoil wake then you will get much better modelling of the airfoil wake as you will be modelling it with prism elements not big tets.

Glenn Horrocks
The airfoil was an extruded cut from a 3D Curve generated from an external points file.
So you suggest cutting the duct during the geometry stage? Won't that effect the flow? Or do I just not assign a boundary condition to it in the solver?
s4097294 is offline   Reply With Quote

Old   May 19, 2009, 22:54
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

Yes, cut the duct in the geometry stage. You want a surface for the mesher to make prism layers on. But in CFX-Pre you merge the mesh back together again (this is recommended) or use an interface to re-connect them (not recommended).

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   May 25, 2009, 04:48
Default
  #6
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Hi,

Yes, cut the duct in the geometry stage. You want a surface for the mesher to make prism layers on. But in CFX-Pre you merge the mesh back together again (this is recommended) or use an interface to re-connect them (not recommended).

Glenn Horrocks
I've taken a thin cut from the mid-section of the trailing edge of the foil and taken it all the way to the end wall, leaving the end face in two peices.

Do I need to create virtual topology during CFX mesh to merge the two surfaces back together again? I've looked through their help files and can't find a direct mention of merging two faces in CFX-Pre.

I tried an interface between the two and an alternative but it also spat out an error:

Quote:
No control surfaces have been found at all for Domain Interface 1-. To work around this please set the expert parameter "ggi permit no intersection = t"
Attached Images
File Type: jpg Cut Mesh.jpg (89.7 KB, 36 views)
File Type: png Cut Mesh End.PNG (47.7 KB, 47 views)
s4097294 is offline   Reply With Quote

Old   May 25, 2009, 11:17
Default
  #7
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hey there.
lookin at your mesh, i was wondering if you tried to simulate a 2D-case? Because rightnow you didn`t have such. Your mesh isnīt periodic towards the sym-planes. Try the periodicpair option with one element thickness.

neewbie
mvoss is offline   Reply With Quote

Old   May 26, 2009, 00:17
Default
  #8
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Quote:
Originally Posted by neewbie View Post
hey there.
lookin at your mesh, i was wondering if you tried to simulate a 2D-case? Because rightnow you didn`t have such. Your mesh isnīt periodic towards the sym-planes. Try the periodicpair option with one element thickness.

neewbie
I found that periodic pair would throw up a lot of errors when I first tried it. It seems that was just a case of "ANSYS Behaving Badly".

Thanks for the tip neewbie, but after changing face spacing to edge spacing the number of mesh elements it stopped throwing up the error below but it doesn't impact on the cell resolution along the foil like it should. I change the edge spacing values but the cell size on the foil is only dpenedant on the minimum default face spacing size.

Quote:
Warning
One or more face or edge spacings may not have the
desired effect because they have been set on objects
that are not associated with the extruded periodic pair.
You might want to try using point, line or triangle
controls to achieve the required mesh spacing in the
periodic regions.
I'm also still unsure of the merging fo the faces in CFX Pre, I can't see any options for it.

Last edited by s4097294; May 26, 2009 at 00:35.
s4097294 is offline   Reply With Quote

Old   May 26, 2009, 02:28
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

When meshing you should set it up as a 2D extrusion with 1 element thickness. In CFX you then define them as symmetry planes.

Also look here:
http://www.cfd-online.com/Wiki/Ansys..._simulation.3F

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   May 26, 2009, 03:13
Default
  #10
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Hi,

When meshing you should set it up as a 2D extrusion with 1 element thickness. In CFX you then define them as symmetry planes.

Also look here:
http://www.cfd-online.com/Wiki/Ansys..._simulation.3F

Glenn Horrocks
I have the front a rear walls as symmetry but you mentioned merging the top and bottom faces of the cut (Which was introduced to force the inflation layer to continue past the end of the foil) to form a single region.

At the moment the cut extending from the foil goes all the way to the outlet and slices it in half so I have two outlet regions.

Last edited by s4097294; May 26, 2009 at 03:47.
s4097294 is offline   Reply With Quote

Old   May 26, 2009, 20:05
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

Two outlets should be fine.

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   May 26, 2009, 21:01
Default
  #12
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Hi,

Two outlets should be fine.

Glenn Horrocks
But what about the two cut faces? I've tried setting them as interfaces, as symetry, as walls and in every case the solvre fails. Either due to an error
right away or after a couple of iterations because air is flowing back in the outlet.

You mentioned merging the faces or creating an interface, merging being the better option. How exactly does one merge the faces of the cut back together?

Quote:
Originally Posted by ghorrocks View Post
Hi,

Yes, cut the duct in the geometry stage. You want a surface for the mesher to make prism layers on. But in CFX-Pre you merge the mesh back together again (this is recommended) or use an interface to re-connect them (not recommended).

Glenn Horrocks
s4097294 is offline   Reply With Quote

Old   May 27, 2009, 09:13
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

The two faces can be merged in CFX-Pre. Providing the nodes match wither side then if you delete any wall it automatically generates and use a tolerancing thing hopefully you can do it. I have not done this for years so hopefully it still can be done!

If the nodes don't match or you can't figure how to do it then just use an interface.

Backflow are the outlet does not generally cause a solver failure. It might give a warning that artificial walls have been created. If this is the case then you probably have to move your outlet boundary downstream to be out of the wake zone. If your simulation is doing this does this mean the foil is stalled? You may need a 3D simulation with a DES approach to get any accuracy in the stalled region.

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   May 27, 2009, 12:05
Default
  #14
New Member
 
Steven Halliday
Join Date: May 2009
Posts: 7
Rep Power: 17
s4097294 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Hi,

The two faces can be merged in CFX-Pre. Providing the nodes match wither side then if you delete any wall it automatically generates and use a tolerancing thing hopefully you can do it. I have not done this for years so hopefully it still can be done!

If the nodes don't match or you can't figure how to do it then just use an interface.

Backflow are the outlet does not generally cause a solver failure. It might give a warning that artificial walls have been created. If this is the case then you probably have to move your outlet boundary downstream to be out of the wake zone. If your simulation is doing this does this mean the foil is stalled? You may need a 3D simulation with a DES approach to get any accuracy in the stalled region.

Glenn Horrocks
Thanks again for the help but it doesn't seem to want to work. In CFX-Pre, I assign walls, an inlet and outlet. I assign the two faces of the cut as walls and then try to delete them. They just return to "Default Domain Default" tree selection. I can click the box in front of it to hide them but the solver still takes them into account.

As for using an interface, I keep getting this error.

Quote:
No control surfaces have been found at all for Domain Interface 1-. To work around this please set the expert parameter "ggi permit no intersection = t"
I have selected the top and bottom faces of the cut as the domain interface sides 1 and 2.
s4097294 is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 11:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


All times are GMT -4. The time now is 11:17.