Solver API example: PVT example 4
This example applies a Tait PVT model with addition of dependence on cooling rate at nodes using a set of coefficients read from the parameter string stored in study file.
This examples shows more advanced functionality, and writes details to the screen at the start and during the analysis.
Double-click MoldflowUserFunctions_PVTExample4.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
- applies a Tait PVT model with addition of dependence on cooling rate at nodes,
- converts temperature from deg C to K,
- extracts information from the analysis,
- runs user code at intermediate stages of the analysis,
- writes information and warnings to the analysis log.