|
[Sponsors] |
March 2, 2021, 18:39 |
udf initialization problem
|
#1 |
New Member
reza
Join Date: Mar 2021
Posts: 1
Rep Power: 0 |
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 ? |
|
March 3, 2021, 01:41 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
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... |
|
Tags |
initialization method, navier slip, slip wall, udf compile |
|
|
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 |