|
[Sponsors] |
[OpenFOAM] Plot Angle of Attack Next to Transient Pitching Airfoil |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 19, 2012, 18:50 |
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 |
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 |
|
April 29, 2013, 13:50 |
|
#2 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 16 |
Hii Dan,
Can you please tell if you managed to do that? Thanks, Tarak |
|
April 29, 2013, 22:05 |
|
#3 |
Senior Member
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17 |
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 |
|
May 1, 2013, 12:35 |
|
#4 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 16 |
Thanks a lot, Dan!!
|
|
June 20, 2013, 11:38 |
|
#5 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 16 |
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 |
|
June 25, 2013, 22:02 |
|
#6 |
Senior Member
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 17 |
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 |
|
October 24, 2013, 01:37 |
|
#7 |
New Member
faraz
Join Date: May 2013
Posts: 7
Rep Power: 13 |
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! |
|
|
|
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 |