Solver API example: Heat Source example
This example uses the user-specified temperature increment function at all nodes in the model to force the temperature throughout the entire part to a specific uniform temperature value during an initial period of the flow analysis. This is done at each time-step by adding or substracting the required temperature increment from the current node temperature to reset the node to the target temperature. Both the target temperature and the duration of the temperature control period are read from the Additional Heat Source Parameter text field.
Double-click UserFunctions_HeatSourceExample.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 polymer temperature throughout the part to remain at a constant specified value during an inital control period,
- writes the target temperature and duration to the analysis log.