|
[Sponsors] |
September 24, 2010, 04:16 |
udf for changing rotational velocity
|
#1 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Hi,
I'd like to create an UDF to change the wall rotation during an unsteady simulation after a certain amount of time. It seems that I can't put the UDF in the wall settings if I'm selecting a rotating wall. Is there an easy solution or do I have to select "components" instead of "rotational" and change the UDF? Thanks for your help, peter |
|
September 24, 2010, 05:03 |
|
#2 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
There is a macro called THREAD_VAR(thread).wall.omega
that can be used to set the rotational speed (rad/s) for a given wall-thread. Your udf can't be hooked in the BC-menue of this wall but you may use e.g. DEFINE_ADJUST or EXECUTE_AT_END to update the rotation speed. In the GUI you will still see a constant (initial) value but it will change actually according to your specifications. cheers |
|
September 24, 2010, 05:24 |
|
#3 |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Sounds good, thanks for the advice
|
|
September 29, 2010, 12:43 |
|
#4 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Another alternative is to use a scheme script that is run every time step. In this script you may use a TUI command to setup your rotating wall velocity.
|
|
October 19, 2010, 07:43 |
|
#5 | |
New Member
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF paraboloid velocity inlet | rosco | FLUENT | 10 | June 2, 2017 09:01 |
Velocity of Fluid @ different positions of Particle in DPM using UDF | pmghadge | FLUENT | 1 | June 16, 2009 20:11 |
UDF Unsteady velocity profile | Rashad | FLUENT | 0 | February 27, 2008 15:57 |
Urgent! Help on UDF to set inlet velocity | Ray Hong | FLUENT | 4 | December 30, 2005 13:32 |
UDF component in Cyliderical Velocity? | Hongchan Kim | FLUENT | 3 | April 24, 2001 13:20 |