CFD Online Logo CFD Online URL
Home > Forums > CFX

CFX Post Session

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

LinkBack Thread Tools Display Modes
Old   October 11, 2013, 11:06
Default CFX Post Session
New Member
Join Date: Mar 2013
Location: Austria
Posts: 22
Rep Power: 6
pps is on a distinguished road

I need to read out a variable over the length of my blade. I did this with the turbo mode. I exported it to a .csv-file. Worked fine.

Now I need to do this for my last 100 timesteps. I don't want to open 100 .trn-files and initialize the turbo mode, so I recorded a session and attached a loop.
Until now everything works fine.

The only problem is, that the .csv file always gets overwritten. I need one .csv-file with 100 rows.
How can I manage, that the new data-row is attached and not overwrites the old one?

(I also don't want 100 .csv files.)

Does anybody know what to do?

I could post the code if needed, but it's very long!

pps is offline   Reply With Quote

Old   October 12, 2013, 06:33
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,991
Rep Power: 107
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
Easy way: Make the session file write 100 csv files and then use a batch file/python script/whatever to read the 100 csv files and combine it into one file.

Hard way: Use the perl interpreter inside CFD-Post session files to append a new line on the end of the csv file.

I would do it the easy way personally.
ghorrocks is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get reynolds stress values in POST CFX syler3321 CFX 6 January 1, 2017 08:54
CFX post legend modification mactech001 CFX 3 December 25, 2011 23:12
Need help: Symmetry in CFX Post Tran CFX 0 September 17, 2007 21:00
Chart Generation in CFX Post Vadim Baines-Jones CFX 2 August 28, 2007 09:14
Tecplot for CFX post processing pantangi goud CFX 2 August 24, 2005 16:42

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