|
[Sponsors] |
October 31, 2019, 05:16 |
Angular velocity in fluent UDF
|
#1 |
New Member
gh
Join Date: Oct 2019
Posts: 2
Rep Power: 0 |
Hello everyone,I'm using fluent UDF to define angular velocity for dynamic grid simulation, and the angular velocity was set 5ras/s,but the result of fluent calculation is different from what I defined.
for example,the angular velocity was 5ras/s,the time to calculate one circle should be 2*pi/5=1.25s.But I calculated for a long time (such as 20s) and didn't reach a circle(2*pi). the code is below: DEFINE_CG_MOTION(side2,dt,vel,omega,time,dtime) { real flow_time = CURRENT_TIME; if(flow_time >=0) omega[2]=-5; } does anyone can help me? Thank you in advance |
|
November 1, 2019, 00:17 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
what about
Code:
DEFINE_CG_MOTION(side2,dt,vel,omega,time,dtime) { omega[2]=-5; }
__________________
best regards ****************************** press LIKE if this message was helpful |
|
November 1, 2019, 02:17 |
|
#3 |
New Member
gh
Join Date: Oct 2019
Posts: 2
Rep Power: 0 |
||
November 1, 2019, 03:53 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
check if it works or not
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
angular velocity udf 2*pi |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to solve UDF compilation problems in Fluent. | pakk | Fluent UDF and Scheme Programming | 16 | September 10, 2018 03:48 |
Difficulty in calculating angular velocity of Savonius turbine simulation | alfaruk | CFX | 14 | March 17, 2017 07:08 |
UDF error - parabolic velocity profile - 3D turbine | Zaqie | Fluent UDF and Scheme Programming | 9 | June 25, 2016 20:08 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
(UDF) Sinusoidal inlet velocity in Fluent | star | Fluent UDF and Scheme Programming | 1 | December 19, 2013 17:23 |