CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Use UDF to change the attack angle of flow over 3D wing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2013, 03:07
Default Use UDF to change the attack angle of flow over 3D wing
  #1
Member
 
Join Date: Jul 2009
Posts: 70
Rep Power: 16
nvtrieu is on a distinguished road
Hi everyone,

I am a new with ANSYS FLUENT. I am doing simulation with the flow over 3Dwing (NACA0012). I want to change the attack angle by using UDF. Could anyone teach me how to use the UDF for this case?
thanks you!

Xavier
nvtrieu is offline   Reply With Quote

Old   May 3, 2013, 03:34
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
Are you studying the pitching motion of the wing or you simply want to study the flow at several angles of attack?
blackmask is offline   Reply With Quote

Old   May 3, 2013, 05:55
Default
  #3
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Hi,
if it just the angle of attack which you want to change, you can do it directly by changing the x and y component of velocity in the velocity inlent boundary condition.
If you want to learn to do it in udf you have to do the same by writing this component inside a small c program..
this is an example of how the inlet velocity is changed according to the y distance to get a profile

http://combust.hit.edu.cn:8080/fluen...udf/node61.htm
Ananthakrishnan is offline   Reply With Quote

Old   May 3, 2013, 14:42
Default
  #4
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
You can also do it in workbench
Far is offline   Reply With Quote

Old   May 15, 2013, 01:07
Default
  #5
Member
 
Join Date: Jul 2009
Posts: 70
Rep Power: 16
nvtrieu is on a distinguished road
Hi everyone,

Thanks to all of you!
@blackmask: I am not going to simulate for pitching motion, only do simulation for some AoA.
@Ananthakrishnan:
Because the wing is located in the virtual wind tunnel, is it ok when I change the AoA by change the Vx, Vy components?
Attached Images
File Type: jpg 1.jpg (15.6 KB, 150 views)
File Type: png velocity.png (46.6 KB, 178 views)
nvtrieu is offline   Reply With Quote

Old   May 15, 2013, 05:22
Default
  #6
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
No, its not going to pose any serious threat..There will be some difference in magnitude of result between the two. But you will not be misguided..In brief, if there is a increase in lift then there will always be an increase whether you change the components of velocity or if you change the wing AOA. If you want a very very very precise result, later you can continue by changing the AOA. I suggest you to get an idea of whats happening by changing the components and then "if required" change the AOA
Ananthakrishnan is offline   Reply With Quote

Old   May 15, 2013, 23:12
Default
  #7
Member
 
Join Date: Jul 2009
Posts: 70
Rep Power: 16
nvtrieu is on a distinguished road
Thanks Ananthakrishnan,

As I understand, for this case of fluid domain, the inlet bc is a straight line. This is different compare with the semi-circle (C-shape) as many people used. So I think that for every AoA we should change the geometry rather than change the velocity components. Because the top and the bottom are wall, they are not velocity inlet.
nvtrieu is offline   Reply With Quote

Old   June 14, 2013, 03:37
Default
  #8
New Member
 
Bikalpa Bomjan Gurung
Join Date: Mar 2013
Posts: 12
Rep Power: 13
bikalpa10 is on a distinguished road
sir Ananthakrishnan
i am doing a similar type of simulation
but whet i set inlet velocity at certain angle of attack
i get the flow accumulated at upper surface of wind tunnel
giving uneven flow throughout the wind tunnel ( higher velocity at upper surface of wind tunnel and lower velocity at lower surface of wind tunnel)
and i have chosen boundary conditions as symmetry for both upper and lower surface of wind tunnel
bikalpa10 is offline   Reply With Quote

Old   June 26, 2016, 05:53
Default angle of attack in fluent
  #9
New Member
 
Join Date: Nov 2014
Posts: 1
Rep Power: 0
yasegharib is on a distinguished road
hi.i want to give angle of attack in fluent but i can not.please help me
yasegharib 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
[OpenFOAM] Plot Angle of Attack Next to Transient Pitching Airfoil dancfd ParaView 6 October 24, 2013 00:37
[CFX,ICEM] Simulation of wing / airfoil profile - pyramid elements, angle of attack Jonas_mm ANSYS 2 November 4, 2011 03:26
Grid types and change of angle of attack cpinz Main CFD Forum 6 October 10, 2011 11:56
Simulation of a complex wing in solidworks flow simulation niels1900 FloEFD, FloWorks & FloTHERM 6 April 20, 2011 10:44
modelling inviscid 2D flow at high angle of attack Ferdinando FLUENT 2 October 30, 2007 17:26


All times are GMT -4. The time now is 03:00.