File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 "materials_file" : " StructuralMaterials.json" ,
5151 "properties_location" : " json" ,
5252 "model_part_name" : " Structure" ,
53- "output_model_part_name" : " "
53+ "output_model_part_name" : " " ,
54+ "enable_dynamic_substepping" : true
5455 },
5556 "main_launch_file" : " ../../exec/MainKratos.py" ,
5657 "examples" : " examples/examples.xml"
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ proc ::Structural::write::getOldParametersDict { } {
1212
1313 # Time Parameters
1414 set timeSteppingDict [dict create]
15- if {$solutiontype eq " Static" || $solutiontype eq " eigen_value" } {
15+ set enable_dynamic_substepping [::Structural::GetWriteProperty " enable_dynamic_substepping" ]
16+ if {[write::isBooleanFalse $enable_dynamic_substepping ] || ($solutiontype eq " Static" || $solutiontype eq " eigen_value" )} {
1617 set time_step " 1.1"
1718 dict set problemDataDict start_time " 0.0"
1819 dict set problemDataDict end_time " 1.0"
Original file line number Diff line number Diff line change @@ -296,9 +296,9 @@ oo::class create App {
296296 method getPermission {n} {variable properties; if {[dict exists $properties permissions $n ]} {return [dict get $properties permissions $n ]} }
297297 method getPermissions {} {variable properties; return [dict get $properties permissions]}
298298 method getUniqueName {n} {variable properties; if {[dict exists $properties unique_names $n ]} {return [dict get $properties unique_names $n ]} }
299- method getUniqueNames {} {variable properties; return [dict get $properties unique_names}
299+ method getUniqueNames {} {variable properties; return [dict get $properties unique_names] }
300300 method getWriteProperty {n} {variable properties; if {[dict exists $properties write $n ]} {return [dict get $properties write $n ]} }
301- method getWriteProperties {} {variable properties; return [dict get $properties write}
301+ method getWriteProperties {} {variable properties; return [dict get $properties write] }
302302}
303303
304304proc apps::LoadAppProperties {app} {
You can’t perform that action at this time.
0 commit comments