Fortune Telling Collection - Comprehensive fortune-telling - What role does define_on_demand play in udf of fluent?

What role does define_on_demand play in udf of fluent?

You can call this function through the on_demand dialog box or the scheme command, mainly to do some calculations or operations yourself, rather than calling it automatically during the calculation process.

If the application, for example, creates a customized post-processing operation, or integrates and interoperates with the scheme and UDF.