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

Flag for time-step

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 30, 2013, 12:08
Exclamation Flag for time-step
  #1
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 71
Rep Power: 5
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, 14:12
Default
  #2
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 9
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, 14:18
Default
  #3
Member
 
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 71
Rep Power: 5
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, 10:24
Default
  #4
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 9
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

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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
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 19:07


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