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

PLEASE HELP ______ slip condition

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2006, 03:00
Default PLEASE HELP ______ slip condition
  #1
Mech
Guest
 
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;

b=1.380662e-23;

tem=314.0;

begin_f_loop(f,t)

{

c0=F_C0(f,t);

t0=t->t0;

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;

F_PROFILE(f,t,i)=val;

}

end_f_loop(f,t) }

  Reply With Quote

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

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
  #3
Mech
Guest
 
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
  #4
Mech
Guest
 
Posts: n/a
Hi Mr. Ravi I expect your reply.
  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 Off
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 04:43
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 07: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 14:37
slip condition mohsen Main CFD Forum 1 August 20, 2002 16:46


All times are GMT -4. The time now is 07:25.