CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

wind turbine blade simulation with flap attached to it

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2016, 03:44
Default wind turbine blade simulation with flap attached to it
  #1
New Member
 
shahriar hossain omee
Join Date: Nov 2014
Posts: 4
Rep Power: 11
shahriar omee is on a distinguished road
hi

i am trying to simulate a vertical axis wind turbine which has 3 blades with flap attached to it.For simultaneous flapping and rotating motion i used the UDF below. Found it in the forum.Used it for a primary trial.

I compiled it properly and seems to be working good but in display zone motion i see different motion for different CG location. I hooked the UDF to the flap which is rigid body.For CG location X=0, Y=0 the flap seems to only rotate about the axis. For CG location X=0,Y=0.3 (which is the radius of rotor) the body is flapping but not rotating.What should be done to get both the flapping and rotation at the same time?

Any kind of help and suggestion regarding the UDF is highly appreciated.

TIA
Omee


#include "udf.h"

DEFINE_CG_MOTION(wing, dt, vel, omega, time, dtime)
{
real a1, a2, thxdot, thydot, thzdot, w, pi, thx, thy;

pi = 3.141592654;

/* define motion variables */
a1 = 30 * pi / 180; /* 30 degree flapping amplitude */
a2 = 30 * pi / 180; /* 30 degree feathering amplitude */
w = 2 * pi * 25; /* 25 Hz frequency */

/* define motion in reference axes */
thx = DT_THETA (dt)[1] * pi/180; /* flapping angle - set by orientation macro DT_THETA */
thy = DT_THETA (dt)[2] * pi/180; /* feathering angle - set by orientation macro DT_THETA */
thxdot = 0; /* flapping speed */
thydot = a2 * w * sin(w*time); /* feathering speed */
thzdot = - a1 * w * cos(w*time); /* yawing (spinning) speed */

/* define wing rotational motion in body coordinates */
omega[0] = 0;
omega[1] = thydot * cos(thx) + thzdot * cos(thy) * sin(thx);
omega[2] = thzdot * cos(thy) * cos(thx) - thydot * sin(thx);
}
shahriar omee is offline   Reply With Quote

Reply


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
Wind Turbine blade in 120° wedge - boundary conditions Fcamp OpenFOAM Running, Solving & CFD 1 December 2, 2019 06:47
How to run a wind turbine blade simulation gerritgroot SU2 6 February 8, 2019 14:44
Verifying results for a wind turbine blade simulation in ANSYS CFX Joystix CFX 3 April 27, 2012 17:52
Wind Turbine Blade Geometry SeanieB Main CFD Forum 0 November 27, 2009 10:18
Wind turbine simulation Saturn FLUENT 1 June 16, 2006 02:12


All times are GMT -4. The time now is 05:56.