reading ascii file into Paraview

Hi,

Looking to understand how to best import an ascii file, like the one attached, into ParaView. Its one of many output file from CONVERGE CFD program. I am looking to utilize ParaView for my line plotting (XP plots) post processing.

I think its probably related to the # symbols and lines leading up to the main column headers. Basically want to have all the parameters in separate columns so I can plot them all against Crank speed (column 1).

Note: I edited the file in notepad to reduce its size but it automatically changed from the software normal .out to .txt.
Software manual describes the .out files as “ASCII-formatted output files that contain
average values (or sums) for the entire domain as well as for individual regions”

Any input much appreciated.

Dec.
asciiReading.txt (5.2 KB)

PVGeo has a great ASCII reader that allows you to specify comments, skipping lines, etc. Unfortunately, your ASCII file format is poorly defined… The column names are jumbled in the header as comments and it would be quite difficult to build a file reader that could understand the difference between column names and all the other information in the file header.

Perhaps your CFD program has other file types it can export to?

@Dec : This is supported by paraview with the Tecplot Table Reader.

  • Rename your file as a .dat file
  • Open it with paraview
  • Select “Tecplot Table Reader”
  • Use the following configuration :
    2019-03-11-105343_284x125_scrot
2 Likes

@mwestphal Thank you so much! This will help me alot!

Best Regards,
Dec