Share

Solver API example: Flow rate example 2

This example applies a user-specified routine to limit both the injection flow rate and the variation rate of an injection flow rate versus time profile used during the velocity control phase of the flow analysis.

Double-click MoldflowUserFunctions_FlowRateExample2.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 injection flow rate to less than 6e-6 m^3/s,
  • limits the variation rate of the injection flow rate versus time to less than 1e-6 m^3/s^2,
  • writes information and warnings etc. to the screen.

Was this information helpful?