Sensitivity
A Sensitivity solver node () solves a sensitivity analysis problem set up in The Sensitivity Interface.
Also see The Sensitivity Analysis Algorithm. Sensitivity analysis for time-dependent problems is available with the Optimization Module.
General
From the Defined by study step list, choose any applicable study step or choose User defined to define the following two settings in this node.
In the Objective field, specify the objective to use for the sensitivity analysis.
From the Sensitivity method list, choose one of the following options:
Adjoint — The adjoint method solves for the derivatives of a single scalar objective function with respect to any number of sensitivity variables.
Forward — The forward sensitivity method solves for the derivatives of all dependent variables and an optional scalar objective function with respect to a small number of sensitivity variables. For transient problems, you can specify the Forward sensitivity rtol factor and the Forward sensitivity scaled atol to control the accuracy of the backward time stepping.
Forward numeric — This method is a variant of the forward sensitivity method where the right-hand side of the sensitivity problem is computed by numerical differentiation.
See also Choosing a Sensitivity Method. More settings appear when the Sensitivity solver node appears under a Time-Dependent Solver while the Adjoint or Forward method is chosen. Those settings are described in the Transient Adjoint paragraph of the Optimization Solver in the Optimization Module User’s Guide.
If desired, select the checkboxes and modify the values for any of the method-dependent parameters that are available.
From the Store sensitivity states list, choose On (the default), or choose Off if you do not want to store them.
Transient Adjoint
This section is only available when you have selected Adjoint as the sensitivity method, and the section is identical to Transient Adjoint section of the optimization solver.
Advanced
From the Compensate for nojac terms list, choose Automatic (the default), On, or Off.
With Automatic, the software tries to assemble the complete Jacobian if an incomplete Jacobian has been detected. If the assembly of the complete Jacobian fails or in the case of nonconvergence, a warning is written and the incomplete Jacobian is used in the sensitivity analysis for stationary problems. For time-dependent problems, an error is returned.
With On, the software tries to assemble the complete Jacobian if an incomplete Jacobian has been detected. If the assembly of the complete Jacobian fails or in the case of nonconvergence, an error is returned.
If you get a warning about an incomplete Jacobian, you can then avoid that warning choosing Off from this list. With that setting, the software does not attempt to assemble the complete Jacobian (the incomplete Jacobian is used immediately).
From the Adjoint solution choose Initialize with zero solution (the default) or Initialize with forward solution. The latter option can reduce the computational time, if the problem is self-adjoint and an iterative solver is used. This typically happens in linear structural mechanics when the total elastic strain energy variable (Ws_tot) is used as objective. The option only affects the adjoint problem of stationary solvers.