Skip to content

Commit b6155d9

Browse files
IC and boundary conditions can now be applied directly in mesh mode
1 parent f2b2bac commit b6155d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

kratos.gid/apps/DEM/write/writeMDPA_Parts.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ proc DEM::write::WriteWallCustomDEMSmp { } {
4343
# Print elements and connectivities
4444
set elem [write::getValueByNode [$group selectNodes ".//value\[@n='Element']"] ]
4545
write::writeGroupElementConnectivities $group $elem
46-
46+
4747
DEM::write::writeSphereRadiusOnGroup $group
4848

4949
write::writeGroupSubModelPart DEM-CustomSmp $groupid Elements
@@ -315,8 +315,8 @@ proc DEM::write::GetSpheresGroupsListInConditions { } {
315315

316316
# Get all the groups with spheres
317317
foreach group [GetSpheresGroups] {
318-
foreach surface [GiD_EntitiesGroups get $group elements] {
319-
foreach involved_group [GiD_EntitiesGroups entity_groups elements $surface] {
318+
foreach surface [GiD_EntitiesGroups get $group nodes] {
319+
foreach involved_group [GiD_EntitiesGroups entity_groups nodes $surface] {
320320
set involved_group_id [write::GetWriteGroupName $involved_group]
321321
if {$involved_group_id ni $groups} {lappend groups $involved_group_id}
322322
}

0 commit comments

Comments
 (0)