CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Linear Motion using Macro CG_MOTION

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Vidit Sharma

LinkBack Thread Tools Display Modes
Old   November 1, 2012, 10:03
Default Linear Motion using Macro CG_MOTION
Vidit Sharma
Join Date: Aug 2012
Location: Delhi, India
Posts: 32
Rep Power: 5
Vidit Sharma is on a distinguished road

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????

Thank You


Vidit Sharma
Far likes this.
Vidit Sharma is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
AMI with linear translation motion macti OpenFOAM 1 September 29, 2013 05:58
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 01:23
rotation and linear motion Chroko CFX 5 August 26, 2009 18:34
Is linear motion possible to model in CFX? abe CFX 0 January 10, 2006 01:05

All times are GMT -4. The time now is 20:53.