September 29, 2023 at 1:21 pm
Mani kiran
Subscriber
as you can see sir that i wrote a UDF for airfoil which is moving in straight path
Â
#include "udf.h"
Â
DEFINE_CG_MOTION(airfoil,dt,vel,omega,time,dtime)
Â
{
Â
 real t=time;
 Â
Â
 vel[1]= -0.025*t;
Â
Â
}
Â
so can u help me to write UDF which is similair to real lifeÂ