How to export DPM report on a surface once flow solution has converged?
Please use the following command:
(if (<=(car (%residual-history 'continuity 1)) 0.001) (ti-menu-load-string "report dpm-sample injection-0 () outlet () () no")).
Here a DPM report will be created on surface 'outlet' for injection-0 once the flow residuals reach 0.001.