CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF Wall slip velocity

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2019, 19:18
Exclamation UDF Wall slip velocity
  #1
New Member
 
Martincho
Join Date: Sep 2018
Posts: 2
Rep Power: 0
MartyJS32 is on a distinguished road
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!
MartyJS32 is offline   Reply With Quote

Old   October 16, 2019, 14:26
Default
  #2
New Member
 
Martincho
Join Date: Sep 2018
Posts: 2
Rep Power: 0
MartyJS32 is on a distinguished road
Hi again,
Please, any help is appreciated!
MartyJS32 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
udf for wall slip ammm Fluent UDF and Scheme Programming 22 June 15, 2019 04:22
UDF for suction velocity on a wall ahmed425 Fluent UDF and Scheme Programming 0 November 2, 2017 09:50
udf for velocity on opposite sides of the wall DmitryS Fluent UDF and Scheme Programming 4 May 27, 2014 09:42
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03


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