|
[Sponsors] |
January 7, 2019, 04:16 |
make udf
|
#1 |
Member
liyong
Join Date: Feb 2017
Posts: 66
Rep Power: 9 |
I had compiled a udf file(.dll), when I copy it to work directory and run the case with udf_flag open, the error appeared showed as attachment. who can tell me the reason? Thank you very much.
|
|
January 13, 2019, 03:01 |
|
#2 |
Member
mohsin
Join Date: Dec 2018
Posts: 52
Rep Power: 7 |
try it with V2.4
|
|
January 14, 2019, 09:48 |
|
#3 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 9 |
Greetings,
In order to diagnose the issue you are facing, additional information would be required. What udf(s) have you used/enabled (Please list the flags enabled in udf.in and the *.c used/altered to compile the udfs)? Does the case run without udf enabled? Sincerely, |
|
January 15, 2019, 22:50 |
|
#4 | |
Member
liyong
Join Date: Feb 2017
Posts: 66
Rep Power: 9 |
Quote:
|
||
January 16, 2019, 17:46 |
|
#5 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 9 |
Greetings,
When using user_point_flag, ensure user_points_data.c is always being used along with user_points.c to compile the udf. Also ensure that the user_dynamic_routines.c and the *.h headers are obtained from the same version as the solver (2.3.10) for this case. Could you clarify if the case stops with that error right before the first iteration of the simulation, or in the middle of the simulation? Are you using a profile for max_cfl_u in inputs.in? Try the following : 1. Add #include "parsing.h" at the header of your user_post.c, user_points.c and user_points_data.c files. Re-compile the udfs. 2. If you are running with a profile for max_cfl_u, switch to a single,constant value to see if the case runs. This will help diagnose the issue. 3. We always recommend switching to a recent version of CONVERGE. v2.3.10 is very old . We are currently at v2.3.35. Hope this helps, Sincerely, |
|
January 17, 2019, 05:50 |
|
#6 | |
Member
liyong
Join Date: Feb 2017
Posts: 66
Rep Power: 9 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 13:41 |
How to make a UDF to have a velocity profile in a square channel | Gigis | Fluent UDF and Scheme Programming | 8 | January 13, 2013 22:20 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
problem to make a UDF parallel, the "hello world version" | pilou | Fluent UDF and Scheme Programming | 0 | March 10, 2011 08:19 |
problem to make a UDF parallel | pilou | Fluent UDF and Scheme Programming | 0 | March 9, 2011 06:35 |