CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Plot Angle of Attack Next to Transient Pitching Airfoil

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

Like Tree1Likes
  • 1 Post By dancfd

Reply
 
LinkBack Thread Tools Display Modes
Old   August 19, 2012, 17:50
Default Plot Angle of Attack Next to Transient Pitching Airfoil
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 151
Rep Power: 8
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, 12:50
Default
  #2
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 105
Rep Power: 6
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, 21:05
Default
  #3
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 151
Rep Power: 8
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 likes this.
dancfd is offline   Reply With Quote

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

Old   June 20, 2013, 10:38
Default
  #5
Member
 
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 90
Rep Power: 7
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, 21:02
Default
  #6
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 151
Rep Power: 8
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, 00:37
Default
  #7
New Member
 
faraz
Join Date: May 2013
Posts: 7
Rep Power: 4
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

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX convergence problem simulating ogive-cylinders at varied angle of attack jdacosta CFX 6 February 25, 2015 22:42
Pitching Airfoil in FLUENT salihovic FLUENT 2 October 24, 2013 13:58
how to plot attack angle along with impeller span direction at leading edge wildli FLUENT 0 August 31, 2010 14:47
Divergence problem when airfoil exceed pitch angle zonexo Main CFD Forum 2 April 4, 2007 04:22
Plotting of lift coefficient vs angle of attack?? John Main CFD Forum 1 August 18, 2003 09:31


All times are GMT -4. The time now is 09:33.