CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

export solver output data files to .txt

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2022, 15:34
Thumbs up export solver output data files to .txt??
  #1
Member
 
Patti Michelle Sheaffer
Join Date: Sep 2018
Posts: 55
Rep Power: 7
pattim is on a distinguished road
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
pattim is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:48.