Linear Motion using Macro CG_MOTION
hi,
I am trying to move a 2d cylinder in y direction by using UDF:- # include "udf.h" # include "dynamesh_tools.h" DEFINE_CG_MOTION(pump,dt,cg_vel,cg_omega,time,dtim e) { Thread *t; real freq_t; NV_S(cg_vel,=,0.0); if(!Data_Valid_P()) return; freq_t = 0.01; t= DT_THREAD((Dynamic_Thread*)dt); cg_vel[0] = 0.0; cg_vel[1] = freq_t; } But I am having a problem while compiling it in Visual Studio Command Prompt. While executing nmake command to compile an error is appearing which is saying NMAKE : fatal error U1077: "sed" :return code '0X1' can anybody tell how to eliminate this error???? :confused::confused: Thank You Regards Vidit Sharma |
All times are GMT -4. The time now is 04:18. |