ansys / pyfluent

Pythonic interface to Ansys Fluent
https://fluent.docs.pyansys.com
MIT License
254 stars 42 forks source link

Not quite understanding the monitor callback mechanism design #3114

Open seanpearsonuk opened 1 month ago

seanpearsonuk commented 1 month ago

This seems to be the callback interface signature: fn(), which I register thus monitors.register_callback(fn). Well, this at least works and given that nothing is documented, I am using this. One problem is that given the existence of N monitor sets, each registered callback receives N identical calls per iteration.

prmukherj commented 1 month ago

Refer: the discussion in: https://github.com/ansys/pyfluent/pull/3115