Need help for Influence line plotting

14 次查看(过去 30 天)
I am a civil engineering student specializing in Structural Design. I'm working on a project for a "Prestressed Concrete" course, where I am designing a section for a bridge with prestressed reinforcement. As part of the project, I need to first construct envelopes for the shear force and bending moment for the bridge under a loading pattern where a four-axle truck (in addition to the dead load) traverses the bridge, with different weights for the front and rear axles, thus resulting in different forces. The truck can approach the bridge from either side.
I've attached an image to clarify the loading pattern; 'X' in the image marks the truck's position relative to the bridge's edge.
I have developed MATLAB code that plots the shear and moment envelopes based on the influence line method. The problem is that I am getting non-symmetric graphs, which suggests there is an issue with the code.
In the attached image of the code output for the shear envelope, it can be seen that at a distance of 3 meters relative to the beam center (18 meters), the values obtained are not identical, making the graph asymmetric. I would appreciate any help to correct the code. I am open to different methods that could help solve the issue.
Thank you!!

采纳的回答

Mathieu NOE
Mathieu NOE 2024-5-21
hello
I believe there is no mistake in the code
simply you have a fairly crude spatial resolution (fixed to 0.5 m in the code )
I changed that factor to "dr" to make it simpler to change as it appears in several code lines
I tested dr = 0.5 then 0.05 and finally 0.01; of course it takes a liitle bit more time but it's almost not perceptible
as you improve the spatial resolution, your results becomes closer , but there will always be some minor numerical deltas
here with dr = 0.05 :
improve codes are attached
all the best

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by