|
[Sponsors] |
February 21, 2016, 15:12 |
cg-motion vs 6dof udf
|
#1 |
New Member
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10 |
hi every one,
i want to simulate moving object inside a barrel by patching high pressure and tempreture , i used a 6dof udf and set prop[SDOF_MASS] = 0.4 and so i tried to check the moving by using cg-motion udf that calculate the force and solve second law for motion: force = 0.0; begin_f_loop (f, t) { F_AREA (A, f, t); force += 2*M_PI*F_P (f, t) * NV_MAG (A); } end_f_loop (f, t) /* compute change in velocity, i.e., dv = F * dt / mass velocity update using explicit Euler formula */ dv = dtime * force / .4; v_prev += dv; /* set x-component of velocity */ vel[0] = v_prev; but when i checked the velocities at the same position for example @ x=.2 vel object (6dof)=286 vel object (cg_motion)=86 any one know why??? thanks a lot |
|
February 22, 2016, 01:10 |
|
#2 |
New Member
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10 |
any comment ???
thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallelizing UDF for Mesh Motion | avd28 | Fluent UDF and Scheme Programming | 2 | September 23, 2017 06:20 |
incorrect grid motion UDF deforming on zone ?????? | h.iraji | FLUENT | 0 | October 29, 2013 03:43 |
Is this the correct approach to my problem? (UDF for object in motion) | charlestan88 | Fluent UDF and Scheme Programming | 5 | October 27, 2013 07:09 |
Motion UDF | kailingkk | Fluent UDF and Scheme Programming | 0 | October 15, 2013 11:56 |
UDF error CG Motion | Alex | FLUENT | 0 | March 22, 2006 18:40 |