UDM value for stopping calculation based on convergence criteria
Hi, I want to interrupt my calculation based on convergence criteria. My criteria should be the value I store in tthe UDM. Somehow I don't manage to store the value in the UDM with my UDF. I activate 1 UDM in fluent.
I receive an error, that is most likely becauce I use the loops not correctly. when I just message0 the value of my criteria (fnew*fprev) in the console, everything works great. When I build in the loops and want to set the UDM to 0 or 1 it fails. Error: Error: received a fatal signal (Segmentation fault). Error Object: #f UDF: Code:
DEFINE_ADJUST(adjust_UDS_bc, d) Maybe someone has a better understanding of the loops and can help |
Code:
DEFINE_ADJUST(adjust_UDS_bc, d) |
Quote:
|
did you try the code, I've attached above?
|
All times are GMT -4. The time now is 15:38. |