Macro for running simulation after stopping criteria
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. |
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.
|
All times are GMT -4. The time now is 18:16. |