Hello,
I have not found anything on the forum, so I am asking you the question :
How to stop the code when we use the criteria set by the user.
I tried with csexit() function without succes.
Does exists specific function for this ?
Thank you for you help
Regards,
Paul
How to stop the code ?
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: How to stop the code ?
Hello,
Which version of CS are you using and are you using the GUI for running your simulations?
Regards,
Brian Angel.
Which version of CS are you using and are you using the GUI for running your simulations?
Regards,
Brian Angel.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: How to stop the code ?
Hello,
csexit should work, but it is a "violent" stop (it will kill the postprocessing output, and more).
To stop cleanly (from cs_user_extra_operations.f90), set ntmabs = ntcabs
To stop cleanly from a terminal or script, use the "control_file" (search the user pdf fr details).
Regards,
Yvan
csexit should work, but it is a "violent" stop (it will kill the postprocessing output, and more).
To stop cleanly (from cs_user_extra_operations.f90), set ntmabs = ntcabs
To stop cleanly from a terminal or script, use the "control_file" (search the user pdf fr details).
Regards,
Yvan
-
- Posts: 22
- Joined: Wed Dec 11, 2013 6:15 pm
Re: How to stop the code ?
Hello,
Thank you for your reply. I think will use the control_file
Thanks you for your help
Regards,
Paul
Thank you for your reply. I think will use the control_file
Thanks you for your help
Regards,
Paul
-
- Posts: 118
- Joined: Mon Feb 20, 2012 2:07 pm
Re: How to stop the code ?
It will be more convenient to set ntmabs = ntcabs when your residual is small enough (do this in cs_user_extra_operations.f90).
Regards,
Regards,