|
[Sponsors] |
December 21, 2007, 14:23 |
angular motion udf request
|
#1 |
Guest
Posts: n/a
|
i'm having a rotating cylinder problem which is rotating along x -direction, which is dynamic mesh.i'm getting an error with CG motion,the error is"incorrect cg motion udf unsteady velocity. i'm attaching the program plz tell the necessaryu modifications in it. pls help me.... #include "udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) {
face_t f; real t = CURRENT_TIME; real w; if (t<=0.1) { w = 52.3 * t; begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = w * t; } end_f_loop(f, thread) } else { w = 5.23; begin_f_loop(f, thread) { F_PROFILE(f, thread, position)= w* t; } end_f_loop(f, thread) } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF problem: incorrect grid motion | Fil | FLUENT | 5 | December 19, 2020 09:16 |
Grid motion with UDF | fivos | Fluent UDF and Scheme Programming | 5 | June 30, 2018 08:50 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Fluent UDF Discontinuous Motion | lequi7 | Fluent UDF and Scheme Programming | 2 | November 3, 2011 23:18 |
UDF error CG Motion | Alex | FLUENT | 0 | March 22, 2006 17:40 |