Solver API example: Time increment example 1
This example applies a user-specified routine to control the time increment during the flow analysis.
Double-click UserFunctions_TimeIncrementExample1.vcxproj from inside C:\Program Files\Autodesk\Moldflow Insight 20XX\data\solverapi, to launch your compiler, or open it in a text editor to examine the code. This API is applicable only to the Flow solver.
This example
- limits the time increment to 0.01 s when the variation rate of the injection flow rate versus time is greater than 1e-6 m^3/s^2,
- writes information and warnings etc. to the screen.