|
[Sponsors] |
March 21, 2006, 03:00 |
PLEASE HELP ______ slip condition
|
#1 |
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) } |
|
March 21, 2006, 09:45 |
Re: PLEASE HELP ______ slip condition
|
#2 |
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 |
|
March 21, 2006, 21:40 |
Re: PLEASE HELP ______ slip condition
|
#3 |
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: () |
|
March 23, 2006, 21:33 |
Re: PLEASE HELP ______ slip condition
|
#4 |
Guest
Posts: n/a
|
Hi Mr. Ravi I expect your reply.
|
|
|
|
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 |