Calculates a response value using any generic solver expression or a subroutine.

Figure 1. Response Type – Generic
Input Description
Response Expression The solver expression that is to be computed.
Scale A factor by which the response value will be multiplied.

Turn ON the Use derivative check box if the derivative of response expression is required as response. Here the value of the expression at the end of the simulation is used as response. When turned OFF, the area under the curve defined by the expression is used as response.

In the above example, the response variable computes the derivative of an expression which is the square of deviation of marker’s relative displacement in X from a value of 3.

A user subroutine can be used instead of a Response Expression by turning ON User-defined check box (see below).

Figure 2. Response Type –Generic (User-defined)
Input Description
Function Name The string which the solver input deck will use to invoke the user subroutine.
Local File Use this button to select a python file containing the function.