|
[Sponsors] |
November 1, 2012, 10:03 |
Linear Motion using Macro CG_MOTION
|
#1 |
Member
Vidit Sharma
Join Date: Aug 2012
Location: Delhi, India
Posts: 32
Rep Power: 14 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI with linear translation motion | macti | OpenFOAM | 2 | June 27, 2017 12:05 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
solution diverges when linear upwind interpolation scheme is used | subash | OpenFOAM | 0 | May 29, 2010 02:23 |
rotation and linear motion | Chroko | CFX | 5 | August 26, 2009 19:34 |
Is linear motion possible to model in CFX? | abe | CFX | 0 | January 10, 2006 01:05 |