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

Macro for running simulation after stopping criteria

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2015, 13:40
Default Macro for running simulation after stopping criteria
  #1
Member
 
Alberto
Join Date: Aug 2015
Posts: 31
Rep Power: 11
Alberto Damas is on a distinguished road
As the title says, I want to make a macro that runs the simulation when a stopping criteria stop it.

The goal is:
while stopping criteria(A) is not true:
run
when stopping criteria (B) is true, execute mesh (it has a field function refinement)
end.


I guess it is just a few lines but I am not used to use this kind of tool. Can anyone tell me how would it be? Or at least somewhere to find useful help about this?

Thx.

Last edited by Alberto Damas; November 18, 2015 at 15:54.
Alberto Damas is offline   Reply With Quote

Old   November 20, 2015, 02:08
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
You can construct the macro by simply recording yourself doing these actions and looking at the output of the file. If you hook up an IDE to the STAR-CCM+ API, you can gain access to other functions that aren't really accessible from the GUI (like testing if a stopping criterion is true or not). Take a look at the user portal, there's several good articles there I think.
me3840 is offline   Reply With Quote

Reply

Tags
automatic run, field function refinement, macro, mesh refinement


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
Simulation of high pressure diesel injector - all phases compressible with cavitation fivos CFX 4 July 30, 2015 07:48
question about convergence criteria in Flow Simulation drdet FloEFD, FloWorks & FloTHERM 2 January 16, 2015 10:36
Use homogeneous results as the initial guess for an inhomogeneous simulation JuPa CFX 5 December 26, 2014 14:44
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 04:16
3-D Contaminant Dispersal Simulation Apple L S Chan Main CFD Forum 1 December 23, 1998 11:06


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