|
[Sponsors] |
September 3, 2016, 07:42 |
Reading a CSV file using interpolationTable
|
#1 |
Senior Member
Join Date: Sep 2015
Location: Singapore
Posts: 102
Rep Power: 11 |
Hello all,
I am trying to use the interpolationTable<type> class. I am constructing it from a dictionary. I have no problems reading a table in the 'openFoam' format but when I try to use the 'csv' format, the constructor function results in the following error: Code:
--> FOAM FATAL ERROR: table read from "/media/usv/Linux/OpenFOAM/JET/nozzle/3D/NPR4/postProcessing/surfaces/0.0120/inlet/Rrr.csv" is empty From function Foam::interpolationTable<Type>::readTable() in file /home/usv/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/interpolationTable.C at line 49. FOAM exiting Code:
y/R,Rrr 0,0 0.001,1.30551E-05 0.002,5.22203E-05 ... Code:
readerType csv; fileName "$FOAM_CASE/postProcessing/surfaces/0.0120/inlet/Rrr.csv"; outOfBounds clamp; hasHeaderLine true; timeColumn 0; valueColumns (1); Thanks in advance. |
|
May 25, 2022, 13:22 |
|
#2 |
New Member
Utkan Erdem
Join Date: Sep 2020
Posts: 19
Rep Power: 6 |
Hello,
How did you solve this problem? I am trying to perform a similar task and receiving the same error. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 17:46 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |