CFD Online Logo CFD Online URL
Home > Forums > FLUENT

PLEASE HELP ______ slip condition

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

LinkBack Thread Tools Display Modes
Old   March 21, 2006, 03:00
Default PLEASE HELP ______ slip condition
Posts: n/a
Hi I wrote a UDF for slip wall boundary condition but it is not working. Can anybody help me? Thanks

#include <udf.h> #include <mem.h>

#define PI 3.141592

DEFINE_PROFILE(top_wall_vel, t, i)


face_t f;

cell_t c0;

Thread *t0;

float lamda, Kn, H, b, tem, val, sigma_m, g_u;

sigma_m = 1.0;

H = 1.2e-6;







g_u = -C_U_G(c0,t0)[1];

lamda = b*tem/(sqrt(2.0)*PI*171460.8*pow(3.70e-10, 2.0));

Kn = lamda /(2.0*H);

val = ((2. - sigma_m)/sigma_m)*Kn*g_u;



end_f_loop(f,t) }

  Reply With Quote

Old   March 21, 2006, 09:45
Default Re: PLEASE HELP ______ slip condition
Ravi Duggirala
Posts: n/a

I guess I can help you, but what do you mean by not working...? be specific with your problem

Thanks Ravi
  Reply With Quote

Old   March 21, 2006, 21:40
Default Re: PLEASE HELP ______ slip condition
Posts: n/a
hi I can hook the UDF succesfully. But when I want to execute inlet button from Compute From panel under Solution Initialization then fluent gives me the following message

Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()
  Reply With Quote

Old   March 23, 2006, 21:33
Default Re: PLEASE HELP ______ slip condition
Posts: n/a
Hi Mr. Ravi I expect your reply.
  Reply With Quote


Thread Tools
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
Slip flow condition in a microchannel itzal CFX 2 August 6, 2009 03:43
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45
inflow no slip condition rachid FLUENT 0 November 27, 2005 15:48
No Slip / 0 shear Boundary Condition evan FLUENT 0 July 29, 2004 13:37
slip condition mohsen Main CFD Forum 1 August 20, 2002 15:46

All times are GMT -4. The time now is 16:17.