|
[Sponsors] |
March 9, 2012, 15:46 |
center of gravity motion
|
#1 |
New Member
Jessica Simberg
Join Date: Mar 2012
Posts: 18
Rep Power: 14 |
hi everybody,
i'm trying to simulate motion using 6dof... but fluent reports no force and there is no movement... anybody knows what might be the problem? DEFINE_SDOF_PROPERTIES(six_degs_of_frdom1, prop, dt, time, dtime) { real fx, fy, fz; Thread *t; face_t f; real NV_VEC(A); prop[SDOF_MASS] = 2; fx = 0.0; fy = 0.0; fz = 0.0; t = DT_THREAD(dt); begin_f_loop(f,t) { F_AREA(A,f,t); fx += F_P(f,t)*A[0]; fy += F_P(f,t)*A[1]; fz += F_P(f,t)*A[2]; } end_f_loop(f,t) printf ("fx = %f, fy = %f, X_fz = %f\n", fx, fy, fz); prop[SDOF_LOAD_F_X] = fx; prop[SDOF_LOAD_F_Y] = fy; prop[SDOF_LOAD_F_Z] = fz; } Many thanks in advance! Last edited by Jessica.S; March 12, 2012 at 11:43. Reason: its 6dof not cg motion |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
center of gravity orientation | wujinlao5 | FLUENT | 4 | June 27, 2014 09:53 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
RE: Applying forces / Center of Gravity in CFX | Janusz | CFX | 1 | November 16, 2008 20:37 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |