File tree Expand file tree Collapse file tree
kratos.gid/apps/DEM/write Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments