|
[Sponsors] |
December 24, 2010, 03:29 |
Parallel INIT UDF trouble
|
#1 |
New Member
Join Date: Dec 2010
Posts: 2
Rep Power: 0 |
I've written a udf to patch in volume fractions on a simple rectangular, uniform grid, which works well in serial. However, it crashes fluent when interpreting it in the parallel solver (have to end process to get rid of it actually). Have made sure the cell loops use the parallel macro, but that didn't make much difference. Am wondering if anybody has seen a similar error, or has any hints on what exactly is causing it.
Here's the error message (full udf is below that): cpp -I"C:\PROGRA~1\ANSYSI~1\v120\fluent\fluent12.0.1 6/src" -I"C:\PROGRA~1\ANSYSI~1\v120\fluent\fluent12.0.1 6/cortex/src" -I"C:\PROGRA~1\ANSYSI~1\v120\fluent\fluent12.0.1 6/client/src" -I"C:\PROGRA~1\ANSYSI~1\v120\fluent\fluent12.0.1 6/multiport/src" -I. - UDFCONFIG_H="<udfconfig-host.h>" "E:\Numerical Studies\Linear Theory\phase_init_function_case4.c" E:\\Numerical Studies\\Linear Theory\\phase_init_function_case4.c:2: math.h: No such file or directory mixture_domain definition shadows previous definition Warning: E:\\Numerical Studies\\Linear Theory\\phase_init_function_case4.c: line 6: 999999 (..\src\mpsystem.c@1148): mpt_read: failed: errno = 10054 999999: mpt_read: error: read failed trying to read 4 bytes: No such file or directory MPI Application rank 0 exited before MPI_Finalize() with status -1073741819 The offending UDF: #include "udf.h" #include "math.h" /* domain pointer that is passed by init function is mixture domain */ DEFINE_INIT(phase_init_function_case4, mixture_domain) { int phase_domain_index; /* loop over all subdomains (phases) in the superdomain (mixture) */} |
|
Tags |
fluent 12.0, parallel error, udf error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 07:24 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
Help: how to realize UDF on parallel cluster? | Haoyin | FLUENT | 1 | August 6, 2007 13:53 |
parallel UDF problem | kerem | FLUENT | 2 | June 20, 2006 06:56 |
UDF in parallel version. | yobee | FLUENT | 0 | August 17, 2004 04:12 |