CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Simulating a flapping airfoil by Fluent which the phase difference equals to 90

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2018, 05:49
Default Simulating a flapping airfoil by Fluent which the phase difference equals to 90
  #1
Member
 
Hanye Azimi
Join Date: Oct 2016
Posts: 42
Rep Power: 10
ronak is on a distinguished road
Hi
I'm simulating a flapping airfoil(Naca0015) by AnsysFluent

How can I model a flapping motion which the phase difference between pitching and heaving is not zero? I used this UDF for flapping motion while phase difference equals to zero:


#include "udf.h"
DEFINE_CG_MOTION(plunge,dt,vel,omega,time,dtime)
{
Thread *t;
face_t f;
real w,a, pi;
pi = 3.14159265;
a = (pi*15)/180; /*pitch amplitude*/
w = 1.168; /*angular velocity*/


/*defining the flapping motion*/
vel[1] = 0.5*w*cos(w*time); /*Heaving motion*/
omega[2]=a*w*cos(w*time); /*pitching motion*/
} It's OK!





I tried the followed UDF for the case which phase difference is 90 :


#include "udf.h"
DEFINE_CG_MOTION(plunge,dt,vel,omega,time,dtime)
{
Thread *t;
face_t f;
real w,a, pi,fi;
pi = 3.14159265;
a = (pi*15)/180; /*pitch amplitude*/
w = 1.168; /*angular velocity*/
fi = 90*pi/180; /*phase difference*/
/*defining the flapping motion*/
vel[1] = 0.5*w*cos(w*time+Fi); /*Heaving motion*/
omega[2]=a*w*cos(w*time+Fi); /*pitching motion*/
}
By using the second UDF the airfoil pitches in the range of -30 to 0 and heaves in the range of -1 to 0.




if I change the UDF in this way:
vel[1] = 0.5*w*cos(w*time+Fi); /*Heaving motion*/
omega[2]=a*w*cos(w*time); /*pitching motion*/
Just the heaving amplitude would be wrong,in the range of -1 to 0


It's expected to pitches in the rage of -15 to 15 and heaves in the range of -0.5 to 0.5

How could I fit this problem and define the phase difference for the fluent without getting false results?
Again, simulating a flapping motion which phase difference is zero has been simulated well!
Thanks in advance
ronak is offline   Reply With Quote

Old   March 26, 2020, 14:24
Default
  #2
New Member
 
JOHN
Join Date: Nov 2019
Location: India
Posts: 1
Rep Power: 0
johnmili is on a distinguished road
hello sir,
I have a similar kind of UDF problem. I m curious if you have found the results and a working UDF. please help.
Thanks
johnmili is offline   Reply With Quote

Reply

Tags
flapping, fluent, phase difference, udf


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent vs. xFoil result for E423 airfoil: Cd is way off klu FLUENT 1 September 23, 2023 00:56
Question about airfoil 2D simulation using Fluent Abdelrahman Yousry FLUENT 0 November 26, 2016 08:38
What are the points in simulating 2D airfoil?? cocobi FLUENT 20 January 10, 2015 07:11
Fluent solving 3D airfoil rsskarthikeyan FLUENT 0 April 8, 2013 15:06
2D Airfoil & Wing solving with Fluent ahmedshawki FLUENT 1 October 28, 2009 09:49


All times are GMT -4. The time now is 08:31.