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

Transforming output to prescribed format

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2012, 06:42
Default Transforming output to prescribed format
  #1
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 16
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
Hello everyone!

I was wondering if someone has developed a small script to transform OpenFOAM output files, into column formatted files. For example, I would like to be able to read 2D velocity and grid files and create one file with three columns, i.e. X, Y, Speed.

The number of columns could vary, but for an example I think this is self explanatory.

Thanks!
aerospain is offline   Reply With Quote

Old   July 10, 2012, 07:22
Default
  #2
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 16
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
I think I've found a work-around this problem! :-)

I just need someone to confirm my thoughts.

I've opened results in ParaView and "Saved Data" as CSV, and selected "Points" for Field Association in the "Configure Writer" window. Well, seven files have been created, the same number as "Mesh Parts" I have.

My thoughts are that this files correspond one-to-one to the "Mesh Parts" list.

Could anyone confirm this, please?

Thanks!
C.
aerospain 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
Fundamental output format control of field values and time dbxmcf OpenFOAM 1 January 12, 2011 11:50
surface output format; raw impecca OpenFOAM Bugs 2 May 7, 2010 05:16
Mesh Generation Output Format ali987 ANSYS Meshing & Geometry 1 July 20, 2009 16:35
[Other] Output Format of MetaMesh t42 OpenFOAM Meshing & Mesh Conversion 0 August 3, 2007 05:28
CCOSILAB -- output data in Excel Format carlie Main CFD Forum 0 June 9, 2005 17:11


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