# UDF Wall slip velocity

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 October 11, 2019, 19: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, 14:26 #2 New Member   Martincho Join Date: Sep 2018 Posts: 2 Rep Power: 0 Hi again, Please, any help is appreciated!

 October 24, 2019, 21:18 #3 Senior Member   Alexander Join Date: Apr 2013 Posts: 1,206 Rep Power: 20 fluent has build in slip function, you don;t need to write UDF best regards __________________ best regards ****************************** press LIKE if this message helped you How to ask questions: https://www.cfd-online.com/Forums/si...tml#post612025

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post ammm Fluent UDF and Scheme Programming 23 December 15, 2019 01:29 j0hnny CFX 13 October 1, 2019 13:55 ahmed425 Fluent UDF and Scheme Programming 0 November 2, 2017 09:50 DmitryS Fluent UDF and Scheme Programming 4 May 27, 2014 09:42 HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03

All times are GMT -4. The time now is 08:03.

 Contact Us - CFD Online - Privacy Statement - Top