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

turbine blade pitching UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2016, 13:15
Thumbs up turbine blade pitching UDF
  #1
New Member
 
Mike McManuc
Join Date: Nov 2016
Posts: 9
Rep Power: 9
BigMc is on a distinguished road
Hi,
I'm hoping someone could help with a UDF, I want to control the blade pitch of a vertical axis turbine using a UDF, I was able to control the pitch using the UDF (see below) provided on this form by mahditorabiasr.

but in my model I dont have a function that I can assign to control the pitch, instead I have a known pitch angle from North for each azimuth position 0-360,

could someone explain to me how I could read these positions into my UDF if possible and how I would apply it within the UDF

#include "udf.h"

DEFINE_ZONE_MOTION(pitching_blade,omega,axis,origi n,velocity,time,dtime)
{
real theta0, thetap1, omegac, omegar, radius, pi;

pi = 3.141592654;
omegar = 1; /* pitching velocity of blade [radians/s] */
omegac = 3.6; /* angular velocity of rotor [radians/s] */
theta0 = pi/2.; /* initial angular position of blade origin [radians] */
radius = 0.5; /* radius of rotor [m] */
thetap1 = omegac*(time+dtime); /* angular change from initial position at t+dt */
*omega = omegar; /* pitching velocity of blade */

/* time-varying origin of the local rotor zone coordinates in meters */
origin[0] = radius*cos(theta0+thetap1);
origin[1] = radius*sin(theta0+thetap1);
origin[2] = 0.0;
}


Thanks in advance,
Mike
BigMc is offline   Reply With Quote

Old   November 3, 2016, 13:00
Default
  #2
New Member
 
Mike McManuc
Join Date: Nov 2016
Posts: 9
Rep Power: 9
BigMc is on a distinguished road
What I want to do, is adjust the above UDF from having a blade pitching velocity denoted as "omegar" to a blade pitch angle per azimuth position

I was thinking If i read in the blade azimuth and pitch angles and specified an "If statement" saying that if theta(azimuth) was X then Beta(pitch) would be some function of X, does anyone know how this is done?

more preferably I read in the theta and beta values and for each theta I have a beta value and this would replace the omegar value in the original UDF. or would I still need to include this omegar value but set it at the same value as the turbine rotation speed (omegac), as I have a beta for every theta.

I hope I have explained this clearly enough.

I would be extremely grateful if someone could help out with this.

Thanks

Last edited by BigMc; November 3, 2016 at 13:13. Reason: typos
BigMc is offline   Reply With Quote

Reply

Tags
fluent - udf - parallel, mesh, pitch change, pitching aerofoil, udf and programming

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have 3D blade profile of wind turbine? kenya0514 Main CFD Forum 5 March 9, 2015 14:06
blade angles of turbine blade ganesh chakravarthi ANSYS Meshing & Geometry 0 December 10, 2014 03:42
Wind Turbine Blade rotation mmd_knr FLUENT 1 August 8, 2012 14:52
Verifying results for a wind turbine blade simulation in ANSYS CFX Joystix CFX 3 April 27, 2012 17:52
[Other] ANSYS CFX-Meshing problem of a wind turbine blade Zoe ANSYS Meshing & Geometry 1 July 14, 2010 02:02


All times are GMT -4. The time now is 19:42.