ansys / pyfluent

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

Not quite understanding the monitor callback mechanism design #3114

Open seanpearsonuk opened 3 months ago

seanpearsonuk commented 3 months 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 3 months ago

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