CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Linear Motion using Macro CG_MOTION (

Vidit Sharma November 1, 2012 10:03

Linear Motion using Macro CG_MOTION

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;

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


Vidit Sharma

All times are GMT -4. The time now is 13:00.