Hi everyone,
I have performed a 2D model of an excavation with a lining that has been modeled as a “liner” element. The results of the liner that interest me are the axial stress, shear stress, and bending moment.
I extract these results using a fish function using the “struct.force.nodal.local” command as follows:
def output_support
global i = 0
loop foreach str struct.list()
if struct.isgroup(str,“support”)
i = i + 1
end_if
end_loop
results_support = list.create(i)
;
global ln = 0
loop foreach str struct.list()
ln = ln + 1
id = struct.id.component(str)
pos_x = struct.pos.x(str)
pos_y = struct.pos.y(str)
;
N_1 = struct.force.nodal.local(str)(1)(1)
N_2 = struct.force.nodal.local(str)(2)(1)
;
Q_1 = struct.force.nodal.local(str)(1)(2)
Q_2 = struct.force.nodal.local(str)(2)(2)
;
M_1 = struct.force.nodal.local(str)(1)(3)
M_2 = struct.force.nodal.local(str)(2)(3)
;
results_support(ln) = string(id) + “,” + string(pos_x) + “,” + string(pos_y) + “,” + string(N_1) + “,” + string(N_2) + “,” + string(Q_1) + “,” + string(Q_2) + “,” + string(M_1) + “,” + string(M_2)
end_loop
io = file.open(“support_results.txt”,1,1)
io = file.write(results_support)
io = file.close
end
The stresses obtained with this function are different from those I obtain by querying the corresponding node (query tool), as you can see in the attached screenshot. Is this indeed a Flac bug? How could it be resolved?
Thank you in advance. Best regards,
Agustin