|
[Sponsors] |
December 15, 2005, 12:25 |
unsteady flow
|
#1 |
Guest
Posts: n/a
|
My problem is that with this udf I have parabolic velocity inlet but later it suddenly became smooth if can you help me
#include "udf.h" DEFINE_PROFILE(inlet_xv_sinusoidal, /* function name */ thread, /* thread */ position) /* variable number */ { face_t f; real flow_time = RP_Get_Real("flow-time"); real x[ND_ND]; /* this will hold the position vector */ real y; begin_f_loop (f,thread) { F_CENTROID(x,f,thread); y = x[1]; F_PROFILE(f,thread,position) = (0.68 + sin(6.28*flow_time))- y*y/(1.5*1.5)*0.68; } end_f_loop (f,thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to predict unsteady flow from case definition? | Felix | Main CFD Forum | 6 | August 28, 2007 16:40 |
Unsteady flow in FLUENT | Vidya Raja | FLUENT | 2 | November 2, 2005 16:29 |
Unsteady Boundary Layer Flow | Wen Long | Main CFD Forum | 0 | July 29, 2002 23:08 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 21:31 |
computation about flow around a yawed cone | Tylor Xie | Main CFD Forum | 0 | June 9, 1999 07:33 |