|
[Sponsors] |
July 8, 2009, 10:10 |
UDF for reading dat files
|
#1 |
Member
Join Date: Jun 2009
Posts: 31
Rep Power: 17 |
Hi,
I wrote a UDF to read some velocity values from a .dat file, and the values are represented in 3 columns for each one of the XYZ components. In the UDF I'm using standard C functions (fopen, fscanf, etc). When I execute the UDF (on demand) in Fluent, I can read up to the row number 1169 (out of 3800); however, when I get to the line 1170, I get the following message: -************************************************** ******* /home/local/Fluent.Inc/fluent6.3.26/lnamd64/3d/fluent.6.3.26[0xdd6fcb] /homPlease include this information with any bug report you file on this issue! ================================================== ======== /home/local/Fluent.Inc/fluent6.3.26/bin/fluent: line 4820: 4012 Segmentation fault $NO_RUN $EXE_CMD $CX_FLAGS e/local/Fluent.Inc/fluent6.3.26/lnamd64/3d/fluent.6.3.26[0xdd6f21] /lib64/tls/libpthread.so.0[0x3d2df0c4f0] libudf/lnamd64/3d/libudf.so(read_vel+0xbd)[0x2a962a85c1] The fluent process could not be started. -************************************************** ******* Furthermore, in the line 1130 I get always the message: ************************************************** ******** Stack backtrace generated for process id 4012 on signal 1 : ************************************************** ******** Does anyone knows why I keep getting the error and maybe has any suggestion to what should I implement in order to avoid this and read the whole *.dat file??? Thanks!!! |
|
Tags |
dat, fscanf, read file, stack backtrace, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
UDF for reading dat files | mrestrepo30 | Fluent UDF and Scheme Programming | 2 | July 9, 2009 17:47 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
Associating profile files for the UDS though a UDF | Bharath | FLUENT | 0 | December 1, 2006 16:58 |
[making animations] fclose fails to close files? | Mika | FLUENT | 0 | March 30, 2001 09:19 |