CFD Online Logo CFD Online URL
Home > Forums > Siemens

Stacking the simulations

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

LinkBack Thread Tools Display Modes
Old   December 14, 2006, 11:10
Default Stacking the simulations
Kasper Skriver
Posts: n/a
Let's say I want to run several STAR-CD or CCM+ simulations during the weekend and im not at my PC.

Is it possible to stack the cases, so that STAR-CD or CCM+ automatically starts solving the next case when the criterions of the initial case is satisfied?

Any ideas/help is appriciated
  Reply With Quote

Old   December 14, 2006, 17:27
Default Re: Stacking the simulations
shell scripting
Posts: n/a
1 - don't work on windows 2 - learn shell scripting (command 'wait') 3 - always 1 case per directory 4 - macros can even take care of the post-processing for you

  Reply With Quote

Old   December 14, 2006, 17:28
Default Re: Stacking the simulations
Posts: n/a
I agree, windows is a seriously unfriendly environment for scripting
  Reply With Quote

Old   December 18, 2006, 04:23
Default Re: Stacking the simulations
Kasper Skriver
Posts: n/a
Well, actually it does work in windows..

combined batch and java.macro solves the problem..

This is for CCM+


"c:\Program Files\CD-adapco\STAR-CCM+ 2.04.008\starccm+.exe" -batch internals1.sim rename finish.sim finish_run1.sim

"c:\Program Files\CD-adapco\STAR-CCM+ 2.04.008\starccm+.exe" -batch internals2.sim rename finish.sim finish_run2.sim

"c:\Program Files\CD-adapco\STAR-CCM+ 2.04.008\starccm+.exe" -batch internals3.sim rename finish.sim finish_run3.sim


// STAR-CCM+ macro: package macro;

import java.util.*;

import star.common.*; import star.base.neo.*;

public class runit extends StarMacro {

public void execute() {

Simulation simulation_0 =


Solution solution_0 =





} }

  Reply With Quote


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
2D Simulations Uros CFX 7 February 24, 2007 09:04
How to time simulations Sara FLUENT 2 May 16, 2006 04:15
LES simulations Ben Andrus FLUENT 3 December 4, 2004 10:23
2D simulations jenn Main CFD Forum 3 May 22, 2004 04:16
Simulations of CDA Ernesto Benini Main CFD Forum 0 November 21, 2000 07:30

All times are GMT -4. The time now is 07:00.