Repository navigation
[12.2.0] - 2026-12-04
Changed
- Change the default of
multiplier_updateofContactRigidPlaneandContactRigidCylinderfrom"increment"to"once"(#1313), i.e. the stiffness-based multipliers (withitems) are evaluated on the first evaluation, usually with the initial stiffness matrices of the items, and are constant for the whole analysis, like the penalty ofSolidBodyContactof felupe-contact. The multipliers are re-evaluated on demand bycontact.multipliers = None. This converges as well as"increment", but for rubber-like materials, the initial stiffness is smaller than the tangent stiffness at large compressive strains, i.e. the multipliers are smaller and the penetration is larger (by a factor of about 2 to 3 in the benchmarks of #1315). This changes the results of existing models withitems. A larger scale factormultiplierreduces the penetration, andmultiplier_update="increment"restores the former behaviour. - Evaluate the stiffness-based multipliers of
ContactRigidPlaneandContactRigidCylinderwithmultiplier_update="increment"after a converged increment, when the trial state variables are accepted byresults.update_statevars(), instead of on the first evaluation of the next increment (#1313). The multipliers are stored in the state of the contact (contact.multipliers, which is included incheckpoint()), i.e. the next increment, a copy or a restored checkpoint of the contact don't need the cached stiffness matrices of the items. The same stiffness matrices of the items are used, i.e. the results of a rigid plane are identical (for a rigid cylinder, the normal vectors of the multipliers are evaluated for the converged instead of the updated center-point). After a cutback, the restored multipliers of the converged increment are used, i.e. the results are identical to explicit substeps. Before, the multipliers were re-evaluated with the stiffness matrices of the failed attempt.
Fixed
- Don't pass
mu=0, the default parameter ofneo_hooke(), to other materials ofHyperelastic(ogden_roxburgh, material=...). The parameters of the chosen material have to be given. Before, materials without a parametermu, e.g.mooney_rivlin()oryeoh(), raised aTypeError(#1302). - Assemble the
itemsofContactRigidPlaneandContactRigidCylinderwith their own fields,item.assemble.matrix(), if they have no stiffness matrix for the evaluation of the stiffness-based multipliers (#1313). Before, the items were assembled with the field of the contact. This raised anAttributeErrorif the field of the contact was not the field of the item, e.g. a merged field with aRegionVertexof the center-point, and the field of a solid body was replaced by the field of the contact.
What's Changed
- fix(constitution): preserve dtype in linear_elastic() by @chenyangsu in #1309
- Fix
Hyperelastic(ogden_roxburgh, material=...)passingmu=0to every material by @sniwas in #1310 - Assemble the items of a rigid contact with their own fields by @adtzlr in #1314
- Evaluate the multipliers of a rigid contact after a converged increment by @adtzlr in #1315
- Change the default multiplier update of the rigid contacts to "once" by @adtzlr in #1316
- Release 12.2.0 by @adtzlr in #1317
New Contributors
- @chenyangsu made their first contribution in #1309
- @sniwas made their first contribution in #1310
Full Changelog: v12.1.2...v12.2.0