Calculating Shear Force and Bending Moment

In summary, the conversation is about finding the shear force and bending moment of a beam using octave. The length of the beam and the forces and their distances are given in a matrix. The shear force can be calculated at every 0.0005m and can be from point loads or uniform distributed loads. The person is facing difficulty in translating the calculation into code and is advised to prepare a flow chart for the process. There is also a question about the accuracy of the given length increment.
  • #1
zaakir
2
0
hi all

Basically I need to find the shear force and bending moment of a beam using octave. The length of the beam as well as forces and their distances are given. However the SF and BM must be calculated at every o.ooo5m. The forces can be Point Loads or Uniform Distributed Loads and there can be many forces of each type.

The data is given in a matrix eg:[ 2000N 5m] or [2000N/m 5m 10m].

This is what I have so far but it does not seem to be working out:

Positions = 0:0.0005:BeamLength

%Shear force from support reaction
ReactionShearForce = -ReactionForce

%shear force from PointLoads
for y = 1:1:length(Positions)
x = Position(1,y)
if x > PointLoads(:,2)
PointLoadsSection = PointLoads(PointLoads(:,2)>x,1)
end
end
 
Engineering news on Phys.org
  • #2
Do you know how to do shear force and bending moment diagrams for simple loading cases and by hand calculation ?
 
  • #3
Nidum said:
Do you know how to do shear force and bending moment diagrams for simple loading cases and by hand calculation ?
Yes I do but the problem I am facing is that the code has to be written where there can be any number of Point Loads and/or Distributed Loads and I am not sure how to translate it into code.
 
  • #4
Forget the actual coding pro tem .

Start by preparing a flow chart for the calculation and decision making processes involved .

If you don't know about flow charts have a quick look here http://www.farshadoo.com/ic/tutorials/flowchart-diagrams.php .
 
  • #5
Is this a homework problem ?

The 0,0005 metre length increment as given in problem statement is ridiculously small to use for calculations on a beam several metres long . Has there been a typing error somewhere ?

Please come back if you need help with the flow chart .
 

Related to Calculating Shear Force and Bending Moment

1. What is shear force and bending moment?

Shear force and bending moment are two important concepts in structural engineering that help determine the strength and stability of a structure. Shear force is the force that acts perpendicular to the axis of a structure, while bending moment is the force that causes a structure to bend or deform.

2. How do you calculate shear force and bending moment?

Shear force and bending moment can be calculated by using the equations of equilibrium, which include summing forces and moments in the x and y directions. Alternatively, they can be calculated using a shear and moment diagram, which graphically represents the changing values of shear force and bending moment along the length of a structure.

3. What are the units for shear force and bending moment?

The units for shear force are typically expressed in units of force, such as newtons (N) or pounds (lbs). Bending moment is usually expressed in units of force multiplied by distance, such as newton-meters (N-m) or pound-feet (lbs-ft).

4. What factors affect the magnitude of shear force and bending moment?

The magnitude of shear force and bending moment can be affected by a variety of factors, including the type of load applied to the structure, the type of support or connection at each end, and the geometry or shape of the structure. Additionally, the material properties of the structure, such as its strength and stiffness, can also impact the magnitude of shear force and bending moment.

5. Why is it important to calculate shear force and bending moment?

Calculating shear force and bending moment is crucial in ensuring the safety and stability of a structure. By determining the magnitude and distribution of these forces, engineers can design structures that can withstand the expected loads and prevent failure or collapse. It is also important for predicting potential areas of weakness or stress in a structure and making necessary adjustments to ensure its overall structural integrity.

Similar threads

Replies
11
Views
2K
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Mechanical Engineering
Replies
3
Views
2K
Replies
5
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Mechanical Engineering
Replies
11
Views
2K
  • Mechanical Engineering
Replies
30
Views
5K
Back
Top