Share

Solver API example: Viscosity example 1

This is an extremely simple example of using a Newtonian viscosity, configured for Fill and Fill+Pack analyses, that you can use to practice with and build upon.

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

  • Designed to be an extremely simple case. It applies a uniform viscosity, 200 Pa.s, to the melt.
  • Writes a simple message to the screen at the start of the analysis.

Was this information helpful?