
[Sponsors] 
February 14, 2014, 05:16 
CL history for pitching airfoil

#1 
Member
Harry
Join Date: May 2013
Posts: 68
Rep Power: 4 
Hi,
In pitching airfoil case the angle of attack changes with time. In Solve/Monitors, we can plot CL history but that is for some fixed angle of attack (as there is no udf option there). Can anybody tell me how to get CL history in this case? Thanks in advance 

February 14, 2014, 05:35 

#2  
Senior Member
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 7 
Quote:
Then after running the simulation, you can find the clhistory file in the case folder. That is the same for the changing AoA. Good luck!
__________________
Best regards, Meimei 

February 14, 2014, 11:45 

#3 
Member
Harry
Join Date: May 2013
Posts: 68
Rep Power: 4 
Thanks Meimei for your reply. I am not sure whether i should write the X and Y components in CL because it depends on angle of attack (in my case it's changing) but i will try it.


February 22, 2014, 05:44 

#4 
New Member
Musa
Join Date: Mar 2012
Posts: 14
Rep Power: 5 
Hi Star,
I am also running simulation pitching airfoil using the equation a(t) = a0 +a1 * sin(wt). where a0 = 15, a1 = 10, (ao is the mean angle of attack). I took the time derivative of this equation to get the angular velocity and I wrote the udf like this omega(2) = w *a1* cos(wt). As for the a0 i set it in fluent that the velocity is coming at 15 degrees which is the mean angle of attack. x = 5sin(15) y = 5cos(15) let say free stream velocity is 5. I also set the force vectors for lift and drag under solve/monitor. at this same angle 15 deg. But the lift coefficient history when plotted against the angle of attack its not comparable to experiment. Please let me know if am writing the udf correctly or do you mind just to show me your udf... thanks 

February 22, 2014, 07:10 

#5  
Member
Harry
Join Date: May 2013
Posts: 68
Rep Power: 4 
Quote:
#include <stdio.h> #include <math.h> #include "udf.h" #define pi 3.141592653589793 // DEFINE_CG_MOTION(airfoil_pitch, dt, vel, omega, time, dtime) { real pitchampl, pitchdispl, omg, count; /* reset velocities */ NV_S (vel, =, 0.0); NV_S (omega, =, 0.0); /* motion */ pitchampl = 4 * pi / 180; /* angular pitch amplitude */ omg = 2 * pi * 40; /* angular frequency */ pitchdispl = pitchampl * sin(omg * time); /* resultant displacement */ omega[2] = pitchampl * omg * cos(omg * time); 

February 22, 2014, 07:50 

#6 
New Member
Musa
Join Date: Mar 2012
Posts: 14
Rep Power: 5 
Thanks a lot Star.
Looking your UDF, we basically have the same. When I preview mesh motion its working fine. But the result is not so good. The problem am having maybe its with the setting especially the boundary condition. are you ptiching your airfoil at any mean angle of attack ?. Also I get the lift coefficient between 0.4 and 0.1 vs time, sinusoidal. But the experimental is between 3.0 and 0.5 vs time. If you manage to validate your result please explain the settings and also how u computed the lift coefficient vs angle of attack. Thanks 

February 22, 2014, 09:00 

#7 
Member
Harry
Join Date: May 2013
Posts: 68
Rep Power: 4 
It depends on no. of factors. This question is not specific. Quality of your mesh, Reynolds number, time step size and other boundary conditions. You should search previous posts related to your problem.
[Be sure you are using correct pitching amplitude and frequency] 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Low Speed Airfoil  Mancusi  FLUENT  7  April 3, 2014 06:11 
Problem with restart solution in shape_optimization.py  robyTKD  SU2 Shape Design  21  May 29, 2013 09:26 
[GAMBIT] Meshing airfoil using .dat file problem  creggie  ANSYS Meshing & Geometry  10  June 27, 2010 19:24 
Modeling Backflow for a 3D Airfoil (Wing of Finite Span)  Josh  CFX  9  August 18, 2009 11:31 
Airfoil boundary condition  Frank  Main CFD Forum  1  April 21, 2008 18:36 