|
[Sponsors] |
December 25, 2020, 04:51 |
Unsteady Velocity
|
#1 |
New Member
mostafa_Fx
Join Date: Dec 2020
Posts: 3
Rep Power: 5 |
Hi
Did it work that these two codes are the same? DEFINE_PROFILE(Velocity_Un, thread, position) { face_t f; begin_f_loop(f, thread) { real t = RP_Get_Real("flow-time"); F_PROFILE(f,thread,position)= 0.33*sin(10.*t); } end_f_loop(f,thread) } -------------------------------------------------------- DEFINE_PROFILE(Velocity_Un, t, i) { real time; face_t f; time=CURRENT_TIME; begin_f_loop(f, t) { F_PROFILE(f,t,i)= 0.33*sin(10.*time); } end_f_loop(f,t) } |
|
December 28, 2020, 00:38 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
use second code
for more information Can any tell me which is right for the below codes?
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Log law for unsteady velocity profile | hyderkhan74 | Main CFD Forum | 1 | July 11, 2012 11:02 |
UDF for a Unsteady velocity change | Paul | FLUENT | 8 | August 29, 2011 03:19 |
Unsteady velocity | Vidya Raja | FLUENT | 10 | June 18, 2006 08:14 |
Modeling Unsteady Velocity | Vidya Raja | FLUENT | 0 | February 19, 2006 17:52 |
Modeling Unsteady velocity in Fluent | Vidya Raja | Main CFD Forum | 0 | November 11, 2005 17:11 |