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

Saving transient Simulation after specified Real-Time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2017, 06:43
Default Saving transient Simulation after specified Real-Time
  #1
New Member
 
Join Date: Dec 2016
Posts: 7
Rep Power: 9
simulant1 is on a distinguished road
Hello,

I have a transient simulation with a real-time runtime of about 7 days. I want STAR-CCM+ to do an Auto-Save every 6 hours (real-time, not physical time).

I have set up the Total Solver Elapsed Time - Monitor and an Update Event Monitor Delta (with Delta 21600 s = 6 h). In the Auto-Save settigs, I set the Trigger to Update Event -> Monitor Delta.

But unfortunately, nothing happens. The Simulation is not saved after 6 hours.

Can anyone help me?

Best regards
simulant1 is offline   Reply With Quote

Old   February 8, 2017, 14:19
Default
  #2
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
Any time related triggers in STAR-CCM+ are related to the physical time in the simulation itself.
If you want to use the CPU time you can create a Solver elapsed Time report and use that value to create an update Event. But please consider the number of processors in your calculation.

Last edited by Schwob77; February 9, 2017 at 13:32.
Schwob77 is offline   Reply With Quote

Old   February 10, 2017, 06:08
Default
  #3
New Member
 
Join Date: Dec 2016
Posts: 7
Rep Power: 9
simulant1 is on a distinguished road
Thank you for your answer.
As I mentioned in my first post, this is exactly what I did.

I created the Total Solver Elapsed Time Monitor. Then I created an Update Event (Monitor Delta) for the Elpased Time Monitor. In the Auto-Save settings, I set the trigger to Update Event -> Monitor Delta.

The simulation is not saved after my specified time.

Can anyone help me?

Thanks
simulant1 is offline   Reply With Quote

Old   February 10, 2017, 11:22
Default
  #4
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
Sorry, I have not read your initial post correctly. My fault.

I'm not totally sure, but I think a Delta Event means the difference between the criterion in the current time step or iterarion to the previous one. Not the one between the current one and the first one. Maybe you can double-check that in the manual.
I think in your case an asymptotic event fits better. Therefore you create an Expression Report with def. 21600-Total Solver Elapsed Time. If this goes assymptotically to zero it should be enabled.

For cyclic behavior you need to subtract TSET%21600 from 21600.

Last edited by Schwob77; February 12, 2017 at 13:14.
Schwob77 is offline   Reply With Quote

Old   February 13, 2017, 03:11
Default
  #5
New Member
 
Join Date: Dec 2016
Posts: 7
Rep Power: 9
simulant1 is on a distinguished road
That's no problem.

I have checked the manual for the Monitor Delta again:
Difference Mode Non-Accumulated: The difference is calculated between the current monitor value and the value at the last satisfied iteration. This is an absolute difference, ignoring the intermediate values. When the delta is exceeded, the last satisfied value is updated, resulting in a new comparison point from which the next delta is evaluated.

Referrering to this explanation, I figured out the approach with the Total Solver Elapsed Time and the Monitor Delta Update Event.

I will try it with an Expression Report. Do I have to enable the Periodicity? Because I think, my case is periodic. I would set the periodic maxium to 21600 and the minimum to 0.

What do you mean with: "For cyclic behavior you need to subtract TSET%21600 from 21600".

Thank you again for your help!
simulant1 is offline   Reply With Quote

Old   February 13, 2017, 03:26
Default
  #6
New Member
 
Join Date: Dec 2016
Posts: 7
Rep Power: 9
simulant1 is on a distinguished road
I tried it with the expression report (with 30 seconds interval for testing).
The expression report does, what it should. I will add a picture of the plot.

But now the problem is the asymptotic Update Event. I think the settings for this update event can not be set in this way, that the event ist triggered at the 0 s point.
The settings are: Sample Count = 1, Delta Threshold = 0.0 s


simulant1 is offline   Reply With Quote

Old   February 14, 2017, 10:00
Default
  #7
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
i had a quicl try and cant get triggers to force a autosave
so another way to do it is to run the solve from within a java macro in a never ending do loop and every x number of iterations or timesteps do a check on the wall clock and if another 6 hours is up do a save
ping is offline   Reply With Quote

Old   February 15, 2017, 02:39
Default
  #8
New Member
 
Join Date: Dec 2016
Posts: 7
Rep Power: 9
simulant1 is on a distinguished road
Thank you, I will give it a try!
simulant1 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
Transient simulation time stepping frossi CFX 39 June 21, 2021 05:45
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 22, 2015 23:05
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


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