Skip to content

Commit c5190bd

Browse files
hotfix mpm not migrated yet
1 parent 3d2f767 commit c5190bd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

kratos.gid/apps/MPM/app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"coordinates": "all",
4747
"materials_file": "ParticleMaterials.json",
4848
"properties_location": "json",
49-
"model_part_name": "Background_Grid"
49+
"model_part_name": "Background_Grid",
50+
"write_mdpa_mode": "entities"
5051
},
5152
"main_launch_file": "../../exec/MainKratos.py",
5253
"examples": "examples/examples.xml"

kratos.gid/apps/MPM/write/write.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ proc MPM::write::Init { } {
2020
SetAttribute materials_file [::MPM::GetWriteProperty materials_file]
2121
SetAttribute properties_location [::MPM::GetWriteProperty properties_location]
2222
SetAttribute model_part_name [::MPM::GetWriteProperty model_part_name]
23+
SetAttribute write_mdpa_mode [::MPM::GetWriteProperty write_mdpa_mode]
2324
}
2425

2526
# Events

0 commit comments

Comments
 (0)