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

udf initialization problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pakk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2021, 18:39
Default udf initialization problem
  #1
New Member
 
reza
Join Date: Mar 2021
Posts: 1
Rep Power: 0
rezaaa2 is on a distinguished road
hi. i recently started to learn udf and want to use slip boundary condition(navier slip) in my project so i write a udf and compile it in fluent successfully. but when i initialization it encounter with this message:

Error: received a fatal signal (Segmentation fault)./Error Object: #f/
i found that this error occur when use velocity (C_U(cell,c_thread))or velocity gradient (C_U_G(cell,c_thread)[1]) in my udf and in other cases initialization is succesfull But I didn't understand where is problem ?
rezaaa2 is offline   Reply With Quote

Old   March 3, 2021, 01:41
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
When you initialize, the data does not exist yet. If your UDF does a calculation with velocity, but velocity does not exist yet, you get this warning.

Solution : initialize without the UDF, and then activate it.

And I hope you know that first order velocity slip is implemented in Fluent, you don't need a UDF, just use low-pressure boundary slip...
amirmehrabi likes this.
pakk is offline   Reply With Quote

Reply

Tags
initialization method, navier slip, slip wall, udf compile


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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
Vaporization pressure UDF property problem? lehoanganh07 Fluent UDF and Scheme Programming 1 September 13, 2014 11:59
problem of udf with material property france Fluent UDF and Scheme Programming 2 May 27, 2014 09:08
UDF variables F1, y / problem with UDF Fabian FLUENT 6 June 2, 2003 11:22


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