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

Flag for time-step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2013, 13:08
Exclamation Flag for time-step
  #1
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 75
Rep Power: 15
crevoise is on a distinguished road
Hello all,

My concern is about how CCM could notify me that it reaches convergence of a time-step, and then start a new one.
It is possible to setup some auto-file, which export every time step some data. So I guess internally, CCM has some flag to notice it that the time step (let say the first) is over.

In StarCD, I had access to a flag 'LEVEL', corresponding to the export of the postdat file at every time step. Is there similar things for CCM?

Thanks for any hint
crevoise is offline   Reply With Quote

Old   April 30, 2013, 15:12
Default
  #2
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 19
rwryne is on a distinguished road
You can have either tables (Tools->Tables) or Scenes "update" every timestep, writing out their data (for tables) or images (for scenes)

There is an update node to control this, change it from iteration based to time step based.
rwryne is offline   Reply With Quote

Old   April 30, 2013, 15:18
Default
  #3
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 75
Rep Power: 15
crevoise is on a distinguished road
Hello Rwyne

Thank you for your reply.
I forgot to noticed it in my first post so here are some more info about my concern.

I am currently trying to couple CCM with my own external code. In order to perform calculation on my code, I need the data from CCM on the last iteration of every time step.
I am accessing the data via User Function and give back for example source term.

So in that case, the solution you are proposing is not really suitable, unfortunately.
Do you have in mind any other tip?

Thank you in advance

/crevoise
crevoise is offline   Reply With Quote

Old   May 1, 2013, 11:24
Default
  #4
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 19
rwryne is on a distinguished road
Quote:
Originally Posted by crevoise View Post
Hello Rwyne

Thank you for your reply.
I forgot to noticed it in my first post so here are some more info about my concern.

I am currently trying to couple CCM with my own external code. In order to perform calculation on my code, I need the data from CCM on the last iteration of every time step.
I am accessing the data via User Function and give back for example source term.

So in that case, the solution you are proposing is not really suitable, unfortunately.
Do you have in mind any other tip?

Thank you in advance

/crevoise
Then the table is what you want....specifically an XYZ internal table

You can tell it exactly what variables you want outputted, over which regions. It will then write out the data you want at the end of each timestep (if you set that up via the Update node). Then have your code check for the updated information. Make sure to check the "auto extract" button in addition to the "save to file" button

This could also be accomplished by writing a Java script to control STAR-CCM+s running more tightly... as in, tell it to run another timestep, output your data to text tile, and continue. Seems the table approach would be easier.
rwryne is offline   Reply With Quote

Reply

Tags
convergence, export data, flag, time step


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 16:12.