|
[Sponsors] |
April 5, 2005, 04:02 |
Unsteady udf, velocity step
|
#1 |
Guest
Posts: n/a
|
Is it possible to write a unsteady udf such that:
t<2 velocity=20 t>2 velocity=30 I have used this sinusoidal function previously (below), but would like to have a simple step change as above DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; begin_f_loop(f, thread) { real t = RP_Get_Real("flow-time"); F_PROFILE(f, thread, position) = 25. + 5.0*sin(10.*t); } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 09:08 |
On Setring Step Size in unsteady Solver of FLUENT | lzgwhy | FLUENT | 0 | August 19, 2009 22:44 |
how did I see next time step of velocity cotour ? | Andy Chen | FLUENT | 2 | June 30, 2009 12:48 |
How to modify velocity with UDF | jddmsh | FLUENT | 0 | June 28, 2003 21:59 |
UDF component in Cyliderical Velocity? | Hongchan Kim | FLUENT | 3 | April 24, 2001 12:20 |