x

ADONIS:
Version 3.90.15 (Released at 11/25/2026)
- The bug affecting structural element label display during material property assignment has been fixed.

HYRCAN:
Version 3.0.6 (Released at 06/11/2026)
- The bug affecting the search for circular failure surfaces has been resolved.


cantilevers in the model show a null moment(Read 56 times)
cantilevers in the model show a null moment on: December 01, 2026, 09:19:20 am
hi roozbeh,
i've created a model that has cantilevers at both sides but solving the model they show a null moment, but it is not what i'm expecting from the analisys.

here the script:

set("unit","stress-kpa")
rect("startPoint",-23.95,-24.9,"Endpoint",36.05,10.1)
line("startPoint",-23.95,4,"Endpoint",36.05,1)
line("startPoint",0.225,0.25,"Endpoint",3.825,0.25)
line("startPoint",3.825,0.25,"Endpoint",7.675,0.25)
line("startPoint",7.675,0.25,"Endpoint",11.075,0.25)
line("startPoint",0.225,0.25,"Endpoint",0.225,3.9)
line("startPoint",3.825,0.25,"Endpoint",3.825,3.9)
line("startPoint",7.675,0.25,"Endpoint",7.675,3.9)
line("startPoint",11.075,0.25,"Endpoint",11.075,3.9)
line("startPoint",0.225,3.9,"Endpoint",3.825,3.9)
line("startPoint",3.825,3.9,"Endpoint",7.675,3.9)
line("startPoint",7.675,3.9,"Endpoint",11.075,3.9)
discretize("size","auto")
segment("id",23,24,25,15,12,13,14,21,22,16,"numedge",10)
gmsh("size","auto","elemtype","T3","useNMD","on")
excavate("region",0.24,0.265)
excavate("region",0.24,3.885)
excavate("region",3.84,0.265)
excavate("region",3.84,3.885)
excavate("region",7.69,0.265)
excavate("region",7.69,3.885)
material("create","Mohr-Coulomb","matid",2,"matname","Mat_02","density",1.9,"shear",6250,"bulk",8300,"coh",6.5,"fric",26,"dil",3,"tens",10000000000)
material("create","isoelastic" ,"matid",1,"matname","Mat_01","density",1.9,"shear",6250,"bulk",8300)
material("assign","matid",2,"region",-23.935,-24.885)
material("assign","matid",1,"region",-23.92,4.03)
structure("drawbeam","beamid",1,"xlim",0.21,11.09,"ylim",0.235,0.265)
structure("drawbeam","beamid",2,"xlim",0.21,11.09,"ylim",3.885,3.915)
structure("drawbeam","beamid",3,"xlim",0.21,0.24,"ylim",0.235,3.915)
structure("drawbeam","beamid",4,"xlim",11.06,11.09,"ylim",0.235,3.915)
structure("drawbeam","beamid",5,"fromstrucnodeatpoint",3.825,0.25,"tostrucnodeatpoint",3.825,3.9,"segnum",5)
structure("drawbeam","beamid",6,"fromstrucnodeatpoint",7.675,0.25,"tostrucnodeatpoint",7.675,3.9,"segnum",5)
structure("drawbeam","beamid",7,"frompoint",-0.4,0.25,"tostrucnodeatpoint",0.225,0.25,"segnum",2)
structure("drawbeam","beamid",8,"fromstrucnodeatpoint",11.075,0.25,"topoint",11.7,0.25,"segnum",2)
structure("material","beamid",1,"area",0.5,"I",0.0104166666666667,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",2,"area",0.4,"I",0.00533333333333333,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",3,"area",0.45,"I",0.00759375,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",4,"area",0.45,"I",0.00759375,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",5,"area",0.35,"I",0.00357291666666667,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",6,"area",0.35,"I",0.00357291666666667,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",7,"area",0.5,"I",0.0104166666666667,"ymod",25000000,"dens",2.5,"spacing",1)
structure("material","beamid",8,"area",0.5,"I",0.0104166666666667,"ymod",25000000,"dens",2.5,"spacing",1)
applybc("xfix","xlim",-23.965,-23.935,"ylim",-24.915,10.115)
applybc("xfix","xlim",36.035,36.065,"ylim",-24.915,10.115)
applybc("xyfix","xlim",-23.965,36.065,"ylim",-24.915,-24.885)
applybc("Syy",-250,"xlim",-0.965000000000001,29.065,"ylim",10.085,10.115)
set("gravity",0,9.81)
solve()
plot("struc","beam","Moment")

the cantilevers i'm writing are beams n. 7 and 8.

note: maybe you have to adjuste the command segment() to have the right discretization when you run the script on your system.



Re: cantilevers in the model show a null moment Reply #1 on: December 01, 2026, 10:01:22 am
I noticed the same issue in your previous script. As I mentioned, you can't create hanging beams without connecting them to a gridpoint or an existing structural node. The two end beams aren't attached to anything; they're simply inside the mesh, so no information is transferred between the mesh and the beams.

You'll need to draw a dummy line in the same location. As with attaching the beam to the box, the line must be on a boundary-you can't attach a beam to just any line. Excavate the section where you want to attach the beam, connect the beam, and then backfill the section. This is the only way to ensure that displacement from the mesh is transferred to the beam elements.



Re: cantilevers in the model show a null moment Reply #2 on: December 01, 2026, 10:04:40 am
Excavate the section where you want to attach the beam, connect the beam, and then backfill the section. This is the only way to ensure that displacement from the mesh is transferred to the beam elements.
this is just the workaround we used, we didn't know that this is the "correct" way to do so.