Share

Solver API example: Pressure example 1

This example applies a user-specified routine to control the injection pressure after switchover, based on the preset injection pressure in the previous time step and current time step during the flow analysis.

Double-click MoldflowUserFunctions_PressureExample1.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

  • controls the injection pressure by defining it as the average of preset injection pressure in the previous time step and current time step,
  • writes information and warnings etc. to the screen.

Was this information helpful?