wind turbine

vikas1128vikas1128 Member

can anybody tell me what is wrong in this udf code i have written for a wind turbine analysis.

#include "udf.h"

 

DEFINE_SDOF_PROPERTIES(rotor,prop,dt,time,dtime)

{

prop[SDOF_MASS]= 0.122;   /*mass of body*/

prop[SDOF_IZZ]= -0.0004307;    /*inertia moment of body in z_direction*/

prop[SDOF_ZERO_TRANS_X]= TRUE;

prop[SDOF_ZERO_TRANS_Y]= TRUE;

prop[SDOF_ZERO_TRANS_Z]= TRUE;

 

prop[SDOF_ZERO_ROT_X]= TRUE;

prop[SDOF_ZERO_ROT_Y]= TRUE;

prop[SDOF_ZERO_ROT_Z]= FALSE; /*allow rotate in z_direction*/

}

 

Comments

Sign In or Register to comment.