|
[Sponsors] | |||||
|
|
|
#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) } |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 17:40 |
| Unsteady flow in FLUENT | Vidya Raja | FLUENT | 2 | November 2, 2005 17:29 |
| Unsteady Boundary Layer Flow | Wen Long | Main CFD Forum | 0 | July 30, 2002 00:08 |
| fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |
| computation about flow around a yawed cone | Tylor Xie | Main CFD Forum | 0 | June 9, 1999 08:33 |