|
[Sponsors] |
January 9, 2014, 14:38 |
UDF for one dimensional motion parallel
|
#1 |
New Member
asdasdasd
Join Date: Aug 2012
Posts: 15
Rep Power: 14 |
Hi,
How do I make this for a parallel process: #include<udf.h> DEFINE_CG_MOTION(velo_needle, dt, cg_vel, cg_omega, time, dtime) { cg_vel[0] = -0.6; /* x-velocity*/ cg_vel[1] = 0.0; cg_vel[2] = 0.0; NV_S (cg_omega, =, 0.0); /* no angular motion */ /* Messages in Fluent TUI */ Message(" \n"); Message("velocity \n"); Message("%5.6f\t\n",cg_vel[0]); Message(" \n"); } Thanks |
|
January 14, 2014, 07:04 |
|
#2 | |
New Member
Andrew Hallow
Join Date: Jan 2014
Posts: 4
Rep Power: 12 |
Quote:
Change "Message" to "Message0" and retry. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
incorrect cg motion UDF sdof_properties::libudf on zone 6 (assuming no motion) | M.Magdy | Fluent UDF and Scheme Programming | 9 | April 4, 2023 13:00 |
CG Motion UDF Problem | leoarmas | Fluent UDF and Scheme Programming | 17 | February 14, 2023 09:59 |
Grid motion with UDF | fivos | Fluent UDF and Scheme Programming | 5 | June 30, 2018 09:50 |
Fluent UDF Discontinuous Motion | lequi7 | Fluent UDF and Scheme Programming | 2 | November 4, 2011 00:18 |
UDF error CG Motion | Alex | FLUENT | 0 | March 22, 2006 18:40 |