CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Plot Angle of Attack Next to Transient Pitching Airfoil

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By dancfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2012, 18:50
Default Plot Angle of Attack Next to Transient Pitching Airfoil
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
dancfd is on a distinguished road
Hello all,

I am running a simulation of a 2-D airfoil that is oscillating in the pitch axis, and I would like to be able to plot the angle of attack of the airfoil vs time (or even just show the angle of attack) in paraview next to the domain, where I show a surface plot of the pressures or velocities. Does anyone have an idea of how I can do this? I also do not know of a way to output the angle of attack - perhaps this could be calculated from the ux uy components in paraview and then plotted? I have worked out the angle of attack manually, but that does not help me much for paraview.

Thanks for any advice,

Dan
dancfd is offline   Reply With Quote

Old   April 29, 2013, 13:50
Default
  #2
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 16
Tarak is on a distinguished road
Hii Dan,

Can you please tell if you managed to do that?

Thanks,
Tarak
Tarak is offline   Reply With Quote

Old   April 29, 2013, 22:05
Default
  #3
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
dancfd is on a distinguished road
Hello Tarak,

I found a way to show the angle of attack in text using the filter PythonAnnotation. To use this, you will need to compile paraView with python enabled. The only way I could make this work was by downloading and compiling version 3.98, running it via a desktop link, and opening a .foam case file, generated by running "touch <casefolder>" in the case directory.

I used the following formula to calculate alpha:
"Alpha: %.2f deg" % (10+5*sin(t_value*5.4))

I hope this helps.

Dan
donQi and mbookin like this.
dancfd is offline   Reply With Quote

Old   May 1, 2013, 12:35
Default
  #4
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 16
Tarak is on a distinguished road
Thanks a lot, Dan!!
Tarak is offline   Reply With Quote

Old   June 20, 2013, 11:38
Default
  #5
Member
 
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16
kiddmax is on a distinguished road
Dear Dan,

I am also going to do some simulations about pitching and plunging airfoil. Could you give me some hints how to do that? Is there some example I can follow?

Best regards,
Ye
kiddmax is offline   Reply With Quote

Old   June 25, 2013, 22:02
Default
  #6
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17
dancfd is on a distinguished road
Hello Ye,

I have been able to reproduce pitching airfoil results by using rhoCentralFoam. I have not played with plunging, though - why would you need both? The pitch motion in experiments is generally used to model the effect of plunging on the angle of attack. I was unable to make the mesh geometry move to produced the angle of attack, so I had to use a time-varying velocity boundary condition.

I hope this helps.

Dan
dancfd is offline   Reply With Quote

Old   October 24, 2013, 01:37
Default
  #7
New Member
 
faraz
Join Date: May 2013
Posts: 7
Rep Power: 13
faraz22 is on a distinguished road
Hello, is there any way to calculate AOA for 3D case or visualise it in Paraview or any utility in opefoam for calculating exact angle of attack at various sections for twisted teetered blade? any help? i did it manually but i want to counter check my results.

thanks!
faraz22 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
Speed problem of periodic boundary condition imposed on pitching airfoil. TG777 OpenFOAM Running, Solving & CFD 1 March 20, 2020 17:33
[Scripting]: How to get the coordinates of a 2D airfoil @ different angles of attack? CfdIntro Main CFD Forum 2 December 12, 2017 11:23
How to plot angle of attack Versus lift coefficient plot? mechesanjiv FLUENT 0 August 16, 2015 09:58
how to give flow angle of attack for 2-d airfoil liladhar STAR-CCM+ 1 December 18, 2012 05:38
how to plot attack angle along with impeller span direction at leading edge wildli FLUENT 0 August 31, 2010 15:47


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