CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] How to convert .raw file into .dat file (https://www.cfd-online.com/Forums/openfoam-meshing/186361-how-convert-raw-file-into-dat-file.html)

lisics April 17, 2017 10:59

How to convert .raw file into .dat file
 
Hi all,

I want to convert .raw file into .dat(binary) file under linux or using some openfoam utilities,but I have no idea until now. I have tried "imageFileConvert" utility,it's useful but can only convert .dat file into .raw file.So I want to know if there is some methods converting .raw file into .dat file using openfoam or other tools under linux.

Thanks in advance!
lisics

lisics April 17, 2017 12:43

I am sorry for my careless that I misunderstanded the usage of "imageFileConvert" utility before.I just convert .raw file into .dat file successfully using "imageFileConvert" utility by typing "imageFileConvert header_file input_file.raw output_file.dat" in terminal.Sorry again.

CHAYANIT January 12, 2018 13:31

How to do it.Please tell me also?


All times are GMT -4. The time now is 17:57.