Hello, I have this UDF and it says that the airfoil changes the degree to +/- 8 through 1 sec, how is to work and how can we control the angle?

/**********************************************/

/* flap.c */

/* UDF for specifying a time-varying omega */

/* */

/* Simulates +/- 8 deg flapping with cycle of */

/* of 1 sec. */

/* */

/* Version 13.0 */

/* */

/**********************************************/

#include "udf.h"

#define PI 3.141592654

DEFINE_TRANSIENT_PROFILE(speed, time)

{

real ampl = 2.0*PI/15.0;

real freq = 2.*PI;

real omega;

omega = 2.0*PI*ampl*cos(freq*time);

return omega;

}

More Ahmed S. Mansour's questions See All
Similar questions and discussions