CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Velocity sidewall unsteady B.C

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2014, 20:25
Question Velocity sidewall unsteady B.C
  #1
New Member
 
Morteza Ghorbani
Join Date: Apr 2014
Posts: 2
Rep Power: 0
Moorriiss is on a distinguished road
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
Moorriiss is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:48.