|October 11, 2013, 11:06||
CFX Post Session
Join Date: Mar 2013
Posts: 22Rep Power: 4
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!
|October 12, 2013, 06:33||
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,796Rep Power: 84
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|CFX post legend modification||mactech001||CFX||3||December 25, 2011 23:12|
|How to get reynolds stress values in POST CFX||syler3321||CFX||5||March 17, 2011 01:23|
|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|