|
[Sponsors] |
Macro for running simulation after stopping criteria |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 18, 2015, 13:40 |
Macro for running simulation after stopping criteria
|
#1 |
Member
Alberto
Join Date: Aug 2015
Posts: 31
Rep Power: 11 |
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. |
|
November 20, 2015, 02:08 |
|
#2 |
Senior Member
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25 |
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.
|
|
Tags |
automatic run, field function refinement, macro, mesh refinement |
|
|
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 |