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Â