|
[Sponsors] |
August 3, 2017, 08:00 |
sinusoidal airfoil oscillations
|
#1 |
New Member
flanag
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
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 flanagl1@tcd.ie. |
|
August 4, 2017, 11:42 |
|
#2 |
New Member
flanag
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
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?
|
|
October 21, 2017, 09:46 |
|
#3 |
Member
Hanye Azimi
Join Date: Oct 2016
Posts: 42
Rep Power: 10 |
Have you overcome to the problem? Is the UDF correct?
|
|
October 21, 2017, 10:41 |
|
#4 |
New Member
flanag
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
The udf is correct for defining the motion of the airfoil. First step is to interpret it and then apply it to the airfoil or to the domain depending on what you keep fixed.
|
|
October 21, 2017, 11:17 |
|
#5 |
Member
Jaesan Yoon
Join Date: Sep 2017
Posts: 36
Rep Power: 9 |
how about using compiled instead of interpret
|
|
October 21, 2017, 15:04 |
|
#6 |
Member
Hanye Azimi
Join Date: Oct 2016
Posts: 42
Rep Power: 10 |
I want to have a motion for whole the domain, airfoil moves and rest the domain moves together. Actually I compiled this UDF but it seems that there is no motion,judging by the animation.
What do you think? |
|
October 21, 2017, 15:12 |
|
#7 |
New Member
flanag
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
I'm not really sure why you want to rotate everything because in that case you wont represent the flow over a pitching airfoil unless you define your inlet according to a sinusoidal function. You should be able to preview the motion and the mesh you have used.
|
|
October 22, 2017, 10:17 |
|
#8 |
Member
Hanye Azimi
Join Date: Oct 2016
Posts: 42
Rep Power: 10 |
I want whole the domain to move because of 2 reasons :
1- If the whole moves,the size of all cells would be the same and I wont have some cells with high A.R or bad skewness 2- I'm going to valid with the attached paper.( Dynamic Stall .... ) in this paper there is a pitching motion for whole the domain. |
|
October 22, 2017, 10:31 |
|
#9 |
Member
Jaesan Yoon
Join Date: Sep 2017
Posts: 36
Rep Power: 9 |
how about write full component of speed and angular speed?
vel[0]=0 ... omega[0]=0 ... omega[2]=what you want |
|
October 22, 2017, 10:34 |
|
#10 |
Member
Jaesan Yoon
Join Date: Sep 2017
Posts: 36
Rep Power: 9 |
or made motion at the dynamic mesh panel
without remesh or layering |
|
December 4, 2017, 03:27 |
pitch motion for domain
|
#11 |
Member
Hanye Azimi
Join Date: Oct 2016
Posts: 42
Rep Power: 10 |
Hi
I tried to simulate a pitch motion as I mentioned before in this thread. Although I tried several UDF, Ive been working on one of them at the momemt,a CG_MOTION one. The UDF has been compiled correctly. The values are acceptable but the lift coefficient and drag coefficient plots are not harmonic. I wish to validate with this paper : 'Dynamic stall simulation of a pitching airfoil under unsteady freestream Velocity' . I attached some screenshots of simulating with Ansys. It's best to know that : freestream velocity=1.89 omega=0.37 rotation amplitite=15 deg The point is that in this case it's going to move whole the domain I'll appreciate if you take a look and tell me what is wrong of the process. |
|
July 18, 2018, 19:25 |
|
#12 |
New Member
Mahdi Hasan
Join Date: Oct 2017
Posts: 9
Rep Power: 9 |
Did it work? Was the motion harmonic? I have a similar type of UDF but my the body is rotating 360 degrees
|
|
July 22, 2018, 04:54 |
|
#13 |
Member
Hanye Azimi
Join Date: Oct 2016
Posts: 42
Rep Power: 10 |
what kind of harmonic motion are you going to simulate?
|
|
Tags |
airfoil pitching 2d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 AOA optimization | 454514566@qq.com | SU2 | 9 | March 7, 2022 17:17 |
Ffd_control_point_2d | feiyi | SU2 | 4 | September 30, 2019 13:42 |
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 10:48 |
Problem with restart solution in shape_optimization.py | robyTKD | SU2 Shape Design | 21 | May 29, 2013 10:26 |