If desired, define the solver differential equation using the User-Defined tab, which
will allow you to specify the properties of the equation using user subroutines.
-
From the Properties tab, click the User-defined
properties check box.
-
Click the newly added User-Defined tab.
-
Define the user subroutine.
-
Provide an expression with the USER solver function with parameters
being passed to the user subroutine.
-
Alternatively, activate the Use local file and function
name check box to specify a local file where the
subroutine code can be accessed by the solver.
If this option is not specified, MotionSolve will search for a subroutine following its user subroutine
loading rules.
-
Select a function type from the drop-down menu.
-
Select the local file for the subroutine.
The type of file to be specified will depend on the selected function
type. For example, if DLL/SO is selected, you can
specify a file with a .dll extension (for Windows)
or an .so extension (for Linux).
-
Specify the function name in the subroutine that defines the entity, or
accept the default name provided by HyperWorks.