|
[Sponsors] |
October 27, 2022, 15:34 |
export solver output data files to .txt??
|
#1 |
Member
Patti Michelle Sheaffer
Join Date: Sep 2018
Posts: 55
Rep Power: 8 |
Hi - I have some 2D simulations and have to export to post-processing in Python - usually the easiest way to do this is to import to Python from pain text files. I'm trying to make sense out of the online OF docs - a search yielded a reference to something named "writeFile" ...? Is this a command line object? How is this used -> https://www.openfoam.com/documentati...writeFile.html
https://www.openfoam.com/documentati...onvert_8C.html For instance documentation https://www.openfoam.com/documentati...ut-file-format is entitled "Basic input/output file format" but there's nothing at all on that page about output file formats... Since I've never used C/C++, I guess I'm looking for a built-in OF utility/command/option for doing this sort of export/formatting. (I know usually CFD files are so huge nobody would probably think to use ASCII format... but my data files are only ~6kB (scalar fields) in size - easy to read into a data analysis language for Arrhenius analysis) - although I wouldn't mind saving all output files in ASCII or some other easily-read, common format, if there's an option for that... Thank You Very Much! Michelle Last edited by pattim; October 29, 2022 at 14:23. Reason: clarify & formatting |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
viscosity udf don't use correct temperature and strain rate | rezvani | Fluent UDF and Scheme Programming | 8 | May 27, 2021 05:40 |
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer | wildfire230 | OpenFOAM Installation | 20 | May 6, 2020 07:30 |
Script to Read and Export all the data in all the trn files | ajdinr | CFX | 4 | April 6, 2020 06:06 |
Improved solver data output / tracking / visualization | chriss85 | OpenFOAM Running, Solving & CFD | 1 | May 13, 2015 07:55 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |