Integrating Shear Along the Length of a Beam

Integrating Shear Along the Length of a Beam - 消息

#1 已发布: 2024/10/4 03:46:56
Will M

Will M

0个赞,共3个帖子。

组: User

Hello. I'm a long time lurker on this forum, but this is my first post. I'm trying to solve for shear, moment, and deflection along a beam via direct integration and superposition.

The piecewise equation for shear is pretty simple and I am able to plot V(x). But I am running into trouble integrating it to get M(x). I know that the built-in integration tool sometimes has trouble with units, maybe that's the error that I'm running into? I appreciate any help!

For reference, this is what I'm trying to do:

V(x) from beam equations -> M(x) = ∫ V(x) dx -> θ(x) = 1/EI ∫ M(x) dx -> Δ = ∫ θ(x) dx

I am using mkraska's unoffical portable distribution with Maxima (v99.7579), if that matters.

Updated Simple Span Beam Calculator.sm (130.36 KiB)已下载 1882 次。

image001-1.png
#2 已发布: 2024/10/4 17:17:16
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

The Maxima plugin can't translate boolean expressions and the cases() function.

Therefore, piecewise continuous functions need to be defined using the sign() function, as demonstrated in the attached document (showing shear and bending moment for piecewise continuous distributed load).

You can, however, use the native numeric integrator, yet cascading it is not recommended due to performance reasons.
The noise at the right is a sampling artifact due to the standard 100 integration intervals. Increase the value under Tools> Options to reduce the noise and increase computation time.

Updated Simple Span Beam Calculator (1).sm (133.87 KiB)已下载 1831 次。
2024-10-04 12_12_04-SMath Solver - [Updated Simple Span Beam Calculator (1).sm_].png
Piecewise.pdf (358.59 KiB)已下载 1153 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#3 已发布: 2024/10/4 21:04:29
StvMath

StvMath

44个赞和1个踩,共76个帖子。

组: User

SMath doesn't seem to like doing more than one integration here! However, it's easy to do a simple numerical quadrature for theta and delta:

Beam.png

Updated Simple Span Beam Calculator_2.sm (137.86 KiB)已下载 1761 次。

#4 已发布: 2024/10/4 23:07:36
Will M

Will M

0个赞,共3个帖子。

组: User

mkraska, when I open your file MUDL doesn't plot and it gives an error: "x' is undefined". All the plugins are enabled and dependencies resolved, but there must be a back compatibility issue with opening your file in an older version. : (

Screenshot 2024-10-04 100807.png

StvMath, I get a similar error with your file: "X is undefined". Also your plots for theta and delta don't match up with what you would expect. For the uniformly distributed load entered at the top of the spreadsheet, delta should be roughly parabolic. Numerical integration gives the values for total area under the curve along the beam, which isn't a helpful value for this use case.

I guess this example gets at my frustration with SMath (at least in an a structural engineering application). I see "what you see is what you get" as being incredibly value for performing "hand calcs" and showing your work, but when something as straightforward as double/triple integration requires setting up loops and/or other non-trivial functions, "what you see" gets obscured from "what you get" and you end up with something like Excel spreadsheets which are intuitive to the person that made them, but impossible to understand for anyone else.
#5 已发布: 2024/10/4 23:30:20
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi. There are some long discussions here about issues handling piecewise functions for beam calculations. BTW, this could be a way to solve the problem:

beam.png

Simple Span Beam Calculator.sm (124.51 KiB)已下载 1828 次。

Further, you can use interpolation for define functions for M, θ and Δ.

Best regards.
Alvaro.
1位用户喜欢此帖子
sergio 2024/10/5 01:14:00
#6 已发布: 2024/10/5 01:08:40
Will M

Will M

0个赞,共3个帖子。

组: User

Razonar, what is that one sided bracket with the initial delta values in it? I am working with an older version of Smath (and older ODE plugin) that doesn't support that element. Trying to find out if there is a way around the unsupported element.
#7 已发布: 2024/10/5 01:37:31
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

That's a Mathcad block from Viacheslav's Mathcad plugin. This is how to solve with the classical ODE engine

beam.png

Simple Span Beam Calculator - old version.sm (124.11 KiB)已下载 1810 次。

Best regards.
Alvaro.
1位用户喜欢此帖子
ioan92 2024/10/5 02:51:00
#8 已发布: 2024/10/5 04:35:10
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

85个赞,共181个帖子。

组: User

Greetings,

I just wanted to note: Constants matter.

When you integrate for Slope of Deflection and Deflection, you cannot ignore the constants that get generated (e.g. http://www.engineeringcorecourses.com/solidmechanics1/C9-deflection-of-beams-and-shafts/C9.1-integration-method/theory/).


May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#9 已发布: 2024/10/5 14:45:20
StvMath

StvMath

44个赞和1个踩,共76个帖子。

组: User

@willmccartney

StvMath, I get a similar error with your file: "X is undefined". Also your plots for theta and delta don't match up with what you would expect. For the uniformly distributed load entered at the top of the spreadsheet, delta should be roughly parabolic.


"X is undefined" Can't explain this! It works for me. An SMath idiosyncrasy?

Plot for delta. Perhaps we're looking at different curves, as it looks pretty parabolic to me!
  • 有新帖
  • 无新帖