March 18, 2024 at 10:15 pm
Nahian Masud
Subscriber
Hi,
Thanks for responding. I tried hooking the same sine function in a TRANSIENT_profile in the cell zone. If i do that, the airfoil moves as per my prediction. But the cl value is super high (40000 to -40000). I cannot figure out what is the problem. I am attaching that udf as well.Â
#include "udf.h"
#define PI 3.14159
Â
DEFINE_TRANSIENT_PROFILE(speed, time)
{
real ampl = 0.2618;
/*real freq = 2.*PI;*/
real omega;
Â
omega = 0.2618 * 18.66 * cos(2.0 * 180 * 2.97 * time);
Â
return omega;
Â
}
any idea on how to get rid of this?
thanks