|
[Sponsors] |
Change in velocity w.r.t specefic cell/zone temperature UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2019, 11:06 |
Change in velocity w.r.t specefic cell/zone temperature UDF
|
#1 |
New Member
Hamza Latif Mehr
Join Date: Jul 2019
Posts: 9
Rep Power: 7 |
Hi, i'm currently new at UDF, so apologies. I'll tell you the details:I have the objective:
Change the inlet velocity which depends on the temperature of the specific Area on which flow is directed, as shown in the figure. I have a code which changes velocity with time. i.e %%%%%%%%%%%%%%%%%% DEFINE_PROFILE(velocity_magnitude, t, i) { real velocity; real the_current_time; face_t f; the_current_time = CURRENT_TIME; if ((the_current_time>=0) && (the_current_time<10)) { velocity=3; } if ((the_current_time>=10) { velocity=1.5; } } %%%%%%%%%%%% But i want to make a code which changes the velocity as the temperature of the area only on which flow is directed (shown in figure) changes eg if T>20 v=3, T<20 v=1.5. If anyone can help with this i'll be grateful. Thanks! Regards |
|
Tags |
fluent, temperature, udf, velocity |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Fluent UDF, Wall Average Temperature Depend On Inlet Velocity | ozgeozge | Fluent UDF and Scheme Programming | 1 | April 15, 2019 02:31 |
UDF for Blasius profile of velocity and temperature | heisenmech | Fluent UDF and Scheme Programming | 0 | March 24, 2019 20:04 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
UDF error - parabolic velocity profile - 3D turbine | Zaqie | Fluent UDF and Scheme Programming | 9 | June 25, 2016 20:08 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |