CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Saving entire transient simulation data for postprocessing.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2012, 03:36
Default Saving entire transient simulation data for postprocessing.
  #1
Member
 
Hamza Motiwala
Join Date: Nov 2010
Posts: 41
Rep Power: 5
hamzamotiwala is on a distinguished road
Hello everyone,

I wanted to know if it was possible to save the entire simulation data for doing the post processing. I mean right now, I define what I want to analyse in preprocessing and in case I forget to create monitors and plots for some parameters I have to run the simulation all over again. Is it possible to just run the simulation and do whatever postprocessing I want later? I know the output file would be huge but I dont have any hard drive issues here so its not a problem.


cheers!
Hamza
hamzamotiwala is offline   Reply With Quote

Old   January 24, 2012, 08:36
Default
  #2
Member
 
Join Date: Feb 2011
Location: DE-PB
Posts: 56
Rep Power: 5
willimanili is on a distinguished road
The only way i know is to create monitors which collect the data for every timestep or every second, third ... timestep. You are able to export the monitor as an table after your simuation has finished.
Maybe you can also write an macro which fills up a table of all the data you are interested in for every timestep. But i dont have experience in writing macros.
willimanili is offline   Reply With Quote

Old   January 24, 2012, 19:51
Default
  #3
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Seattle, Washington
Posts: 360
Rep Power: 7
Josh is on a distinguished road
If you're not concerned about disk space or convergence time, you could set Auto Save so that your simulation file is saved every n timesteps and set a very large Max Autosaved Files value. Then you could go back and use a macro to extract whatever value you're interested in from all the .sim files.

I'm sure there's an easier way than this, but it's all I can think of for now.
Josh is offline   Reply With Quote

Old   January 24, 2012, 20:12
Default
  #4
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Seattle, Washington
Posts: 360
Rep Power: 7
Josh is on a distinguished road
Look into "Calculating a Moving Average" using monitors.
Josh is offline   Reply With Quote

Old   February 2, 2012, 10:02
Default
  #5
New Member
 
Johan Fjällman
Join Date: Feb 2012
Posts: 1
Rep Power: 0
Orden is on a distinguished road
You can use the "Auto Export" feature, which saves your chosen scalars, vectors etc in the whole domain or in parts of it.
This can be done with a specified frequency and into a number of different formats. These files can then be imported into a 3rd party software which handles timeresolved data.

Hope this helps.
Orden is offline   Reply With Quote

Old   February 23, 2012, 05:26
Default
  #6
Member
 
Hamza Motiwala
Join Date: Nov 2010
Posts: 41
Rep Power: 5
hamzamotiwala is on a distinguished road
Thanks a lot Josh and Johan! I will check it out.
hamzamotiwala is offline   Reply With Quote

Old   February 27, 2012, 02:52
Default
  #7
Member
 
Hamza Motiwala
Join Date: Nov 2010
Posts: 41
Rep Power: 5
hamzamotiwala is on a distinguished road
Hey Johan,

I tried the auto export feature and it works fine but the output file is just too huge. I mean, I was expecting like 20Gb but it was over 100Gb. I am doing an intercooler simulation and I run 8 to 10 cycles of a given input data set. I am only interested in the solution data from the last cycle. Is there a way to export data only from a given iteration number, i.e. the beginning of the last cycle?

Cheers,
Hamza

P.S. I might have selected way too many variables for the export. may be thats why the file was so huge, still I would like to export only the last cycle data.
hamzamotiwala is offline   Reply With Quote

Old   March 4, 2012, 15:02
Default
  #8
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 11
abdul099 is on a distinguished road
You can't expect to save the full set of results in a tiny file! When you're using autosave, it will save a complete sim-file every time the save is triggered. So it should be easy to calculate the amount of data, and that's usually a huge amount.

What might help you is to use v7.02 which will be released in the next two weeks ish. This version contains the first release of transient postprocessing which is better suitable for your problem than saving the whole sim-file after every time step. But you still need to think in advance which data to export, otherwise your hard disk still might be filled up pretty quick.
abdul099 is offline   Reply With Quote

Old   March 5, 2012, 01:22
Default
  #9
Member
 
Hamza Motiwala
Join Date: Nov 2010
Posts: 41
Rep Power: 5
hamzamotiwala is on a distinguished road
Thanks abdul that explains a lot.

and thanks for the tip too.

best regards,
Hamza
hamzamotiwala is offline   Reply With Quote

Reply

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
the problem of my transient simulation "Floating point exception: Overflow " alloveyou CFX 15 November 22, 2012 11:14
Exporting transient simulation data for evey time step mali28 FLUENT 1 August 3, 2011 11:48
Synthetic (pulsatile) jet transient simulation aero CFX 0 November 6, 2009 01:10
transient simulation of a rotating rectangle icesniffer CFX 1 August 8, 2009 07:25
Truck brake chamber transient simulation - Moving boundary vatsa FLUENT 0 July 21, 2009 19:24


All times are GMT -4. The time now is 04:53.