|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 34
Rep Power: 3 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Ryne Whitehill
Join Date: Aug 2009
Posts: 297
Rep Power: 7 ![]() |
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. |
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 34
Rep Power: 3 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 | |
|
Super Moderator
Ryne Whitehill
Join Date: Aug 2009
Posts: 297
Rep Power: 7 ![]() |
Quote:
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. |
||
|
|
|
||
![]() |
| Tags |
| convergence, export data, flag, time step |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 7 | March 15, 2013 06:08 |
| Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |
| Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 12 | September 17, 2007 17:48 |
| IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |
| Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |