Modeling subroutines are user-written subroutines that allow you define the run-time behavior of a modeling element via a user subroutine. Modeling subroutines are used by various modeling entities, like forces and motions, and other elements directly defined in your multi-body mechanical system.
These are listed below with a brief description of each. See each subroutine’s documentation for more details on its use.
Name |
Purpose |
Calculates values for a user-defined input REFERENCE_ARRAY element. |
|
Calculates friction forces for the FORCE_CONTACT element. |
|
Calculates normal forces for the FORCE_CONTACT element. |
|
Used to extract rigid body contact results. |
|
Specifies the constraint underlying a user-defined CONSTRAINT_COUPLER and its 1st / 2nd partial derivative matrices. |
|
Defines a user-defined parametric, 3D curve. |
|
Defines a user-defined differential equation. |
|
Defines user-defined damping in a flexible body. |
|
Defines the six component forces/torques and their derivatives for a user-defined FORCE_FIELD entity. |
|
Specifies the constraint equation for a user-defined CONSTRAINT_GENERAL element. |
|
Calculates the forces and torques for a FORCE_VECTOR_TWOBODY element. |
|
Calculates node positions for a user-defined graphics element. |
|
Defines the governing equations for a CONTROL_STATEEQN element and its XX, XU, YX, YU partial derivative matrices. |
|
Inputs a user-defined marker element. |
|
Inputs a user-defined matrix element. |
|
Generates a customized message file containing solver messages. |
|
Used to calculate the scale factor for a modal force entity. |
|
Defines a displacement, velocity, or acceleration constraint for a CONSTRAINT_MOTION entity. |
|
A user written subroutine that may be used to generate non-standard output files. |
|
Computes the normal and friction force for a Force_PTdSF entity. |
|
Reloads user-data written using SAVSUB. |
|
Computes outputs for a user defined request element. |
|
Saves user-data written data to be loaded using RELSUB. |
|
Detects when a SENSOR_EVENT has become active. |
|
Evaluates an expression when a SENSOR_EVENT has become active. |
|
Computes the force or torque associated with a FORCE_SCALAR_TWOBODY entity. |
|
Read x, y, and optionally z, data from a file for use with a REFERENCE_SPLINE element. |
|
Returns a string that is associated with a REFERENCE_STRING element. |
|
Defines a parametrically defined REFERENCE_SURFACE element. |
|
Allows you to modify certain solver parameters during a simulation. |
|
Calculates the constraint value and its derivatives for a user defined CONSTRAINT_USERCONSTR element. |
|
Calculates a state or time dependent algebraic value for a REFERENCE_VARIABLE element. |
|
Computes the translational force components for a FORCE_ VECTOR_TWOBODY entity. |
|
Computes the moment components for a FORCE_ VECTOR_TWOBODY entity. |
|
Calculates the vector force/torque between two bodies from its associated general state equations. |