Zone motion in rotatory container
Dear all,
I want to model a rotatory container using frame motion in Ansys fluent 19. The origin of rotation in my case is (X=0.025,Y=-0.0055,Z=-0.045). When in the corresponding UDF I wrote the following sentence to identify the rotation origin, the system gives me some errors. where is the problem? FYI: When I wrote N3V_S(origin,=,0.0); for the rotation origin everything has worked. #include "udf.h" DEFINE_ZONE_MOTION(fmotion,omega,axis,origin,veloc ity,time,dtime) { real Period = 1; real pi = 3.14159265359; *omega = 20*2*pi*cos(2*pi*time); N3V_S(origin,=,0.025,-0.0055,-0.045); N3V_D(axis,=,0.0,1.0,0.0); return; } |
Hi Amin_65,
Please see the answer from Pakk here: https://www.cfd-online.com/Forums/fl...s-meaning.html (but ignore the other answers completely!). I think this should point you towards "N3V_D(origin,=,0.025,-0.0055,-0.045);". Good luck! Ed |
All times are GMT -4. The time now is 20:12. |