|
[Sponsors] |
April 11, 2014, 20:25 |
Velocity sidewall unsteady B.C
|
#1 |
New Member
Morteza Ghorbani
Join Date: Apr 2014
Posts: 2
Rep Power: 0 |
Hello friends,
I wrote a UDF for a Velocity sidewall unsteady B.C in jet impingement in this way: #include "udf.h" DEFINE_PROFILE(unsteady_velocity, t, position) { face_t f; real physical_dt, dudt, u, u_old; physical_dt = RP_Get_Real("physical-time-step"); begin_f_loop(f, t) { u = C_U(f,t); u_old = C_U_M1(f,t); dudt= (u-u_old)/physical_dt;/*explicit part*/ F_PROFILE(f, t, position) = -dudt/C_DUDX(f,t); } end_f_loop(f, t) } and in compiling the UDF, I did not face any error, however when I want to initialize the problem, an error appears in this way: 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: #f What is wrong with my UDF? If there is any solution, please make me aware. I appreciate any help. regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unsteady inlet velocity udf | jill | FLUENT | 8 | February 10, 2015 07:04 |
Defining B.C. --> velocity profile | maysmech | OpenFOAM | 14 | September 12, 2010 22:06 |
parabolic velocity with unsteady simulation | mona_zooghool | STAR-CCM+ | 2 | March 18, 2010 07:43 |
unsteady state velocity problem | Vedavyasa M | FLUENT | 0 | June 28, 2007 07:33 |
is there mass outflow or velocity outflow B.C. | kk | FLUENT | 1 | April 12, 2007 11:55 |