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

Post processing timestep data files in Python

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2020, 19:29
Question Post processing timestep data files in Python
  #1
Member
 
Patti Michelle Sheaffer
Join Date: Sep 2018
Posts: 55
Rep Power: 7
pattim is on a distinguished road
Naturally, I think of timestep datafiles as simply arrays - but I can't seem to find this on the forum. I see PyFoam, but that seems more geared toward controlling OF (and residuals). So I was wondering if there is a way to import OF files (P, U, species, etc.) into Python?

This must be so easy that nobody's mentioned it...


Thanks,
Patricia


EDIT: I suppose I should say that what I'm doing is in the smaller numbers of folks in the CFD community - numerical combustion (half my career is in that). So I have 180 chemical species in my very simple (no real aerodynamics to speak of) flow domain. I need simply to compare these 180 scalar fields. So that's 180 arrays that I will compare in various ways. The goal is to just load these into Python for comparison.

Last edited by pattim; September 28, 2020 at 21:15.
pattim is offline   Reply With Quote

Reply


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
Data Export From Fluent and Ansys Post Processing Patelp1996 FLUENT 0 September 18, 2020 00:54
Lagrangian data - particle velocity post processing Ake OpenFOAM Post-Processing 12 August 16, 2020 07:54
Post processing journal - like .cst in CFD Post Jiricbeng FLUENT 0 April 24, 2019 08:08
Post processing data zz744 FLUENT 0 February 19, 2014 06:35
[making animations] fclose fails to close files? Mika FLUENT 0 March 30, 2001 08:19


All times are GMT -4. The time now is 23:42.