|
[Sponsors] |
October 11, 2019, 20:18 |
UDF Wall slip velocity
|
#1 |
New Member
Martincho
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Hello,
I'm new at the forum and with UDF topic. I'm trying to set a slip velocity at the wall defined by the next function u= beta* du/dn, n being the normal vector to the wall As a first trying I want to solve the problem in a 2D case (flow between two plates) so the equation is u= beta* du/dy, at the wall. I wrote this code but it send me a problem and then fluent is closed. My code is the next one #include"udf.h" DEFINE_PROFILE(mass_fraction_profile, t, i) { real x[ND_ND]; real z; face_t f; begin_f_loop(f,t) { F_CENTROID(x, f, t); z=x[1]; F_PROFILE(f,t,i)= C_DUDZ(F_C0(f,t),t)*0.01; } end_f_loop(f,t) } Any suggest is welcome! |
|
October 16, 2019, 15:26 |
|
#2 |
New Member
Martincho
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Hi again,
Please, any help is appreciated! |
|
October 24, 2019, 22:18 |
|
#3 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
fluent has build in slip function, you don;t need to write UDF
best regards
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf for wall slip | ammm | Fluent UDF and Scheme Programming | 25 | September 5, 2023 10:56 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
UDF for suction velocity on a wall | ahmed425 | Fluent UDF and Scheme Programming | 0 | November 2, 2017 10:50 |
udf for velocity on opposite sides of the wall | DmitryS | Fluent UDF and Scheme Programming | 4 | May 27, 2014 10:42 |
UDF for wall slipping | HFLUENT | Fluent UDF and Scheme Programming | 0 | April 27, 2011 13:03 |