3.2.1.5. Auto Constraint Handler
- constraints Auto <-verbose> <-autoPenalty $oom> <-userPenalty $userPenalty>
Argument |
Type |
Description |
---|---|---|
-verbose |
string |
(optional, default = not-defined) If defined, OpenSees will report some debug information. |
-autoPenalty $oom |
string + float |
(optional, default = -autoPenalty defined, oom = 3). With this option, each multi-point constraint will be assigned an automatic penalty value \(\alpha_M=10^{koom + oom}\), where \(koom=round(\log_{10}(K))\) is the approximate order-of-magnitute of the (initial) stiffness matrix at the nodes involved in the multi-point constraint. |
-userPenalty $userPenalty |
string + float |
(optional, default = note-defined). If defined, a uniform penalty parameter \(\alpha_M=userPenalty\) will be used for all multi-point constraints |
Example 1
The following example shows how to construct an Auto Method constraint handler with the default settings: automatic penalty values computed for each multi-point constraints
Tcl Code
constraints Auto
Python Code
constraints('Auto')
Example 2
The following example shows how to construct an Auto Method constraint handler with extra settings to print debug information (-verbose) and to compute penalty values for each constraints as 4 order-of-magnitute larger than the stiffness found on the nodes involved in each multi-point constraint.
Tcl Code
constraints Auto -verbose -autoPenalty 4
Python Code
constraints('Auto', '-verbose', '-autoPenalty', 4)
Code Developed by: Massimo Petracca at ASDEA Software, Italy.