File tree Expand file tree Collapse file tree
kratos.gid/apps/DEM/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,11 +18,16 @@ proc ::DEM::examples::SpheresDrop {args} {
1818proc ::DEM::examples::DrawGeometry { } {
1919 Kratos::ResetModel
2020
21+ # Draw floor surface
2122 GiD_Process Mescape Geometry Create Object Rectangle -5 -5 0 5 5 0 escape
23+ # Draw inlet surface
2224 GiD_Process Mescape Geometry Create Object Rectangle -2 -2 5 2 2 5 escape
25+ # Draw the cluster inlet
2326 GiD_Process Mescape Geometry Create Object Rectangle -2 -2 6 2 2 6 escape
27+ # Draw the volume meshed with spheres
2428 GiD_Process Mescape Geometry Create Object Sphere 0 0 2 1 escape escape
2529
30+ # Group creation
2631 GiD_Groups create " Floor"
2732 GiD_Groups create " Inlet"
2833 GiD_Groups create " ClusterInlet"
@@ -32,6 +37,7 @@ proc ::DEM::examples::DrawGeometry { } {
3237 GiD_Layers create " ClusterInlet"
3338 GiD_Layers create " Body"
3439
40+ # Group assignation
3541 GiD_EntitiesGroups assign " Floor" surfaces 1
3642 GiD_EntitiesGroups assign " Inlet" surfaces 2
3743 GiD_EntitiesGroups assign " ClusterInlet" surfaces 3
You can’t perform that action at this time.
0 commit comments