CFD Online Logo CFD Online URL
Home > Forums > FLUENT

sinusoidal airfoil oscillations

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

LinkBack Thread Tools Display Modes
Old   August 3, 2017, 07:00
Default sinusoidal airfoil oscillations
New Member
Join Date: Jun 2017
Posts: 8
Rep Power: 2
lfla is on a distinguished road
Sponsored Links
Hi everyone!

I am studying 2D transient dynamic stall on a s809 as part of my masters and I was hoping for your assistance. I am using this formula to control the oscillations:

alpha(t)=alpha(0)+alpha(1)sin(2*pi*f*t). where alpha(0)=mean angle 8deg;

alpha(1)=5.5deg oscillation amplitude; f=1.2Hz; Ufreestream=30m/s

I have used the following interpreted udf and added it to the inner rotating domain under mesh motion.

#include <stdio.h>
#include <math.h>
#include "udf.h"

DEFINE_CG_MOTION(airfoil_pitch, dt, vel, omega, time, dtime)
real pitchampl, pitchdispl, omg, pi, count;

pi = 3.14159265;

/* reset velocities */
NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);

/* motion */
pitchampl = 5.5 * pi / 180; /* angular pitch amplitude */
omg = 2 * pi * 1.2; /* angular frequency */
pitchdispl = pitchampl * sin(omg * time); /* resultant displacement */

omega[2] = pitchampl * omg * cos(omg * time);
However this wont take into account the mean angle, has anyone done something similar. if this udf is correct perhaps i am inputting it incorrectly in the fluent gui.

so should i define the freestream at the inlet with respect to that mean angle ; Components >> x_vel=30cos8 and y_vel=30 sin8.

Also, how could i find what the angle of attack is for each time step?

Thanks in advance for any help.

P.S. If you would prefer to contact me via email instead of this thread please contact me at
Attached Images
File Type: png mesh1.PNG (61.8 KB, 4 views)
File Type: png mesh2.PNG (114.2 KB, 4 views)
File Type: png cell zone conditon.PNG (47.2 KB, 4 views)
lfla is offline   Reply With Quote
Sponsored Links

Old   August 4, 2017, 10:42
New Member
Join Date: Jun 2017
Posts: 8
Rep Power: 2
lfla is on a distinguished road
Has anyone done something similar with dynamic stall modelling on an airfoil using fluent, do i also need to set a sinusThank youoidal osillating freestream?
lfla is offline   Reply With Quote


airfoil pitching 2d

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
Ffd_control_point_2d feiyi SU2 3 May 17, 2017 08:41
High drag for airfoil compared to XFOIL and wind tunnel data Ry10 SU2 15 October 30, 2016 18:27
2D FFD Optimization RLangtry SU2 2 August 5, 2014 09:48
SU2 AOA optimization SU2 8 July 7, 2014 07:01
Problem with restart solution in robyTKD SU2 Shape Design 21 May 29, 2013 09:26

Sponsored Links

All times are GMT -4. The time now is 15:11.