Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline yoswos  
#1 Posted : 20 February 2023 17:33:13(UTC)
yoswos

Rank: Newbie

Groups: Registered
Joined: 20/02/2023(UTC)
Posts: 6
Japan

I have attached a mathcad file.. and the moment diagram at the end doesn't match
with expcted output.. it should have gone smoothly to end with x coordinate 5m.
but at certain point it has jumped to postive rigion.

Please help fix it.
Thanks

Capture.PNG 00Two Overhang Beam with UDL.xmcd (645kb) downloaded 7 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 20 February 2023 23:05:51(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,129
Turkey

Was thanked: 510 time(s) in 340 post(s)
I have no idea why mathcad plots that segment faulty.
But it is possible to plot correct graphic in SMath.
However SMath integration is not very good and fast.
It will take much more time than mathcad, and zig-zagy.
You can improve plot by increasing Integrate: Accuracy.
It is in Tools>Options>Calculation.

Regards

PS: I increased accuracy to 500 to get a decent plot.
It took 50 seconds to plot in the picture!!
Integration should really be improved.

UDL.sm (19kb) downloaded 20 time(s).

2023-02-20_22-50.png
Offline mkraska  
#3 Posted : 21 February 2023 00:14:20(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1127 time(s) in 723 post(s)
In the interactive handbook you can find examples for beam analysis.

They use symbolic integration and equation solving with Maxima. This is very fast, except for the Maxima restart at the beginning of the sheet (can be removed if all works well).



example maxima beam.sm (42kb) downloaded 10 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline yoswos  
#4 Posted : 21 February 2023 08:35:40(UTC)
yoswos

Rank: Newbie

Groups: Registered
Joined: 20/02/2023(UTC)
Posts: 6
Japan

Sorry but I have problem again

with M(5m)=-0.2083 kN m
it should have been
M(5m)=0
Offline yoswos  
#5 Posted : 21 February 2023 08:42:21(UTC)
yoswos

Rank: Newbie

Groups: Registered
Joined: 20/02/2023(UTC)
Posts: 6
Japan

Originally Posted by: yoswos Go to Quoted Post
Sorry but I have problem again

with M(5m)=-0.2083 kN m
it should have been
M(5m)=0



My sorry it is correct.. since it is overhang it should have moment at the end;;

Offline overlord  
#6 Posted : 21 February 2023 08:49:22(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,129
Turkey

Was thanked: 510 time(s) in 340 post(s)
Though it should be smaller. Probably zero by the way.
Result can be reduced with integral accuracy set to 10000.
SMath integral algorithms are not good enough.

Regards

2023-02-21_08-45.png
Offline Razonar  
#7 Posted : 21 February 2023 10:46:08(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,365
Uruguay

Was thanked: 824 time(s) in 522 post(s)
Hi. Remembering that solving an ODE is also told to integrate it:


UDL.sm (23kb) downloaded 11 time(s).

int.png

The domain can also be restricted to M(x) by multiplying it by the corresponding inequalities.

Best regards.
Alvaro.

Edited by user 21 February 2023 11:08:57(UTC)  | Reason: Update the ode solver.

thanks 2 users thanked Razonar for this useful post.
on 21/02/2023(UTC),  on 21/02/2023(UTC)
Offline Jean Giraud  
#8 Posted : 21 February 2023 16:02:18(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: yoswos Go to Quoted Post
My sorry it is correct.. since it is overhang it should have moment at the end;;

Finite Differences [FD] is a very good yardstick insensitive to noise.
It that what you mean moment at the end ?
Cheers ... Jean.

Page2 FD.sm (58kb) downloaded 3 time(s).
Offline overlord  
#9 Posted : 21 February 2023 17:29:30(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,129
Turkey

Was thanked: 510 time(s) in 340 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi. Remembering that solving an ODE is also told to integrate it:
The domain can also be restricted to M(x) by multiplying it by the corresponding inequalities.

Best regards.
Alvaro.

This is a marvelous solution.
I learned a new thing today.
Thanks Razonar.

Maybe I am wrong but I think formula should be like this.
Huge kN*m values appear if calculated as in the picture above.

Regards

2023-02-21_17-24.png
thanks 1 user thanked overlord for this useful post.
on 21/02/2023(UTC)
Offline Jean Giraud  
#10 Posted : 21 February 2023 18:55:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
ODE integrator(s) range from exact [rarely]
approx. 4 decimals ... to glorious freak !
64 bits Smath does not have 32 bits Matlab ODE.
Recently checked on my PC2 this damned bug.
Cheers ... Jean.

ODE 0 TEST [17].sm (46kb) downloaded 2 time(s).

Revisit from few months ago.
Offline Razonar  
#11 Posted : 21 February 2023 20:51:56(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,365
Uruguay

Was thanked: 824 time(s) in 522 post(s)
Originally Posted by: overlord Go to Quoted Post
Maybe I am wrong but I think formula should be like this.
Huge kN*m values appear if calculated as in the picture above ...


Hi overlord. You're absolutely right. Thanks for catching that error. Only 3 orders of magnitude. Who could worry about that? The Mathcad block can also be used, although I don't know if this is the best way to deal with the units, using an intermediate function Mo.

int.png

UDL.sm (27kb) downloaded 12 time(s).

Best regards.
Alvaro.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.