|
[Sponsors] |
July 27, 2015, 10:18 |
How define center of rotation for a 2D disk
|
#1 |
New Member
AhmadAli
Join Date: Sep 2011
Posts: 2
Rep Power: 0 |
Hi
I'm trying to simulate a off center rotating 2D disk in a channel and I have problem. one send me an UDF and I compiled it but I could not change the center of rotation. here the UDF and problem geometry. #include "udf.h" static real v_prev = 0.0; DEFINE_CG_MOTION(airfoil,dt,vel,omega,time,dtime) { real NV_VEC(A); real dv; /* reset velocities */ NV_S(vel, =, 0.0); NV_S(omega, =, 0.0); omega[2] = 10; } |
|
October 29, 2016, 00:34 |
|
#2 | |
New Member
Wesley liu
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
Quote:
did you solve the issue? i have the same issue about how to define a center of rotation since the rotation is off the center of gravity in fluent UDF. |
||
November 24, 2016, 03:42 |
|
#3 |
New Member
Wesley liu
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
hi,
the fluent17.1 has dialogs to define the rotate center. |
|
December 31, 2017, 09:44 |
|
#4 |
New Member
Join Date: Nov 2017
Posts: 15
Rep Power: 9 |
Hello, I am also struggling with something similar. I am trying to have a 2D airfoil translating and rotating at the same time. The centre of rotation needs to be the 1/3rd chord of the airfoil, so the centre of rotation is moving at every time step due to the translation. I am trying to use DEFINE_CG_MOTION, but so far without success.
Does anyone know how I can specify the moving centre of rotation please? |
|
January 2, 2018, 05:28 |
|
#5 |
New Member
Join Date: Nov 2017
Posts: 15
Rep Power: 9 |
Update: the centre of gravity dialogue boxes correspond to the initial values. These are updated automatically by Fluent. Therefore all you need to do is input the initial location of the centre of gravity/rotation and Fluent will update it automatically as the body moves!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP----Surface Reaction UDF | Ashi | Fluent UDF and Scheme Programming | 1 | May 19, 2020 22:13 |
UDF: trying to implement a Kinetic Equation source term | er.mkumar | Fluent UDF and Scheme Programming | 35 | March 22, 2019 11:20 |
SR_Rate UDF For a MEMs model | timjm | Fluent UDF and Scheme Programming | 1 | October 10, 2018 03:16 |
udf problem | eb.nabizadeh | Fluent UDF and Scheme Programming | 2 | March 1, 2013 01:28 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |