File tree Expand file tree Collapse file tree
kratos.gid/apps/Structural/write Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,8 +90,10 @@ proc ::Structural::write::getOldParametersDict { } {
9090 dict set solverSettingsDict material_import_settings $materialsDict
9191
9292 # Solution strategy parameters and Solvers
93- # We now added this variable as true by default (in solids is mandatory)
94- dict set solverSettingsDict use_old_stiffness_in_first_iteration true
93+ # We now added this variable as true by default (in nonlinear solids is mandatory)
94+ if {[write::getValue STAnalysisType] eq " non_linear" } {
95+ dict set solverSettingsDict use_old_stiffness_in_first_iteration true
96+ }
9597 set solverSettingsDict [dict merge $solverSettingsDict [write::getSolutionStrategyParametersDict STSolStrat STScheme STStratParams] ]
9698 set solverSettingsDict [dict merge $solverSettingsDict [write::getSolversParametersDict Structural] ]
9799
You can’t perform that action at this time.
0 commit comments