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

post-processed data saved as csv instead of dat

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

Like Tree1Likes
  • 1 Post By lumasci

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2023, 11:16
Default post-processed data saved as csv instead of dat
  #1
New Member
 
Ludo Masci
Join Date: Oct 2018
Posts: 8
Rep Power: 7
lumasci is on a distinguished road
Hi,
I am using the minMaxMagnitude post-processing functionnality.



As a results a file.dat is created with the following format:

Quote:
# Field minima and maxima
# Time field min location(min) processor max location(max) processor
0 U 0.000000e+00 (-1.099092e-01 -6.261345e-02 2.038625e-01) 0 3.712763e+02 (-3.176721e-02 5.759170e-02 3.087649e-01) 6
This format is not well interpreted with google sheet or other sheet files. (btw, doesn't seem it is possible to import .dat files with gogle spreadsheet.)


I am wondering wether it is possible to save post-processed file types? For example by adding
HTML Code:
type   csv;
or similar in the system file.


This comment is true for the post-processing function I am using, but for other as well.



Any suggestion on how to do that?



Or is there an easy way to code this ?
PanPeter likes this.
lumasci is offline   Reply With Quote

Old   April 12, 2023, 10:21
Post
  #2
New Member
 
Wassim Abdel Nour
Join Date: Feb 2021
Location: France
Posts: 16
Blog Entries: 1
Rep Power: 5
wa$$im is on a distinguished road
You can simply open the .dat file with the notepad text editor and save it as csv
wa$$im is offline   Reply With Quote

Reply

Tags
csv file, dat file, openfoam, post process

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
mutisize particle data is not transfering to CFD post krish.rathore FLUENT 0 July 20, 2021 02:05
CFD Post Data Export Automation hcisby CFX 1 December 23, 2017 17:41
studying a valve case mina.basta OpenFOAM 33 August 30, 2013 04:46
[OpenFOAM] exporting sample surface data in csv format sihaqqi ParaView 3 July 7, 2013 06:06
Extracting Post Data to a Text File Ram CFX 3 March 3, 2006 06:20


All times are GMT -4. The time now is 19:43.