Stop steady state iteration process from UDF

I am running a steady state simulation and my aim is to send the journal file with a large number of iterations and no convergence criteria to the cluster. I would like the FLUENT solver to stop the calculation once a certain value inside my UDF is met.

How can I achieve that? (Note that this value is a variable that exists only inside the UDF)

I saw online some methods that use "scheme variables" and/or creating a command inside "Execute commands" but they do not seem to work in my case.

Maybe I'm implementing them in the wrong way, also because I have no idea how the syntax for "Execute commands" work nor where to look for learning it.

Could you help me?

Comments

Sign In or Register to comment.