CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Linear Motion using Macro CG_MOTION

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Vidit Sharma

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2012, 09:03
Default Linear Motion using Macro CG_MOTION
  #1
Member
 
Vidit Sharma
Join Date: Aug 2012
Location: Delhi, India
Posts: 32
Rep Power: 13
Vidit Sharma is on a distinguished road
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????

Thank You

Regards

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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMI with linear translation motion macti OpenFOAM 2 June 27, 2017 11:05
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
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 00:05


All times are GMT -4. The time now is 03:25.