Share

Solver API tab dialog

The Solver API tab dialog enables you to use your own algorithms and material data for some of the solver calculations.

To access this dialog, make sure you have a 3D model, then click process settings icon (Home tab > Molding Process Setup panel > Process Settings). Click Next if necessary, and navigate to the page with the Advanced options button. Click Advanced options, click Edit associated with Solver parameters, then select the Solver API tab.

WidgetExplanation

Enable Solver API

The solver API is turned off by default. Check this box if you would like to enable it.

Note: If this box is not checked, the other options on this tab are ignored.

General text

Entering information into this dialog box is optional, but good practice. The General text string is always available when the Solver API is enabled. The interface function SolverUtilityHb3dGeneralGetConfig obtains this string during flow analyses and SolverUtilityWp3dGetGeneralConfig obtains it for warp analyses.

Models

  • Viscosity model
  • PVT model
  • Solidification model
  • Core shift model
  • Fiber orientation model
  • Injection and time step control
  • Heat Transfer Coefficient
  • Additional Heat Source

There are two options for each model:
  • Standard models

    This is the default, and calculates parameters using the standard Moldflow models, and data from the Moldflow material library.

  • User models (from MoldflowUserFunctions)

    Select this option if you have your own data and model, you have created your own C function for the solver to call, you have compiled a shared library object, and you have copied it into the binary directory of your Insight installation, typically C:\Program Files\Autodesk\Moldflow Insight 20XX\bin.

    Note: For reactive processes, only a user function for viscosity model is supported.

Parameter text

This entry becomes available for each model, only if you select the User model (from MoldflowUserFunctions) option.

Entering information into this dialog box is optional. However, it is particularly useful if you have a set of analyses and want to vary some parameter/s in the set.

An interface function is provided for each user model, so you can read the text string from your own code. The interface functions include SolverUtilityHb3dViscosityGetConfig, SolverUtilityHb3dPVTGetConfig, and SolverUtilityHb3dCoreShiftGetConfig for flow, and SolverUtilityWp3dGetPVTConfig for warp. Enter a maximum of 256 characters for each string.

Examples of when you might use this include:

  • to store parameter values in the study, that your code can access.
  • to store file names.
  • to add text to describe an aspect of the particular study file.

Was this information helpful?