Share

Solver API example: PVT example 1

This is a simple case that calculates the specific volume for an incompressible material (no dependence on temperature or pressure). Use this example to practice with and build upon.

Double-click MoldflowUserFunctions_PVTExample1.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 example is configured for both the flow and the warp solvers, and

  • computes the polymer specific volume,
  • if requested by the solver, calculates the thermal expansivity and compressibility,
  • writes information and warnings to the screen.

Was this information helpful?