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 AndreasH  
#1 Posted : 25 April 2019 10:35:25(UTC)
AndreasH

Rank: Newbie

Groups: Registered
Joined: 25/04/2019(UTC)
Posts: 2
Norway

test.sm (8kb) downloaded 14 time(s).


Dear all. I am trying to solve an equation, eq. See attached .sm file. The equation does not have the variable directly, but via other definitions. I can't make this work. Anyone out there able to help quickly?


-Andreas-

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

Offline Davide Carpi  
#2 Posted : 25 April 2019 12:28:57(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hello Andreas,

there are several issues in your worksheet.

  • The shear stress must be Tau(F) or Tau - at your choice - both in definition and in Von Mises equation;
  • Once you fix it you can see that units of Tau are wrong, it's a force while should be a stress - F/(b*L) I guess;
  • Then you should handle the unit of F; use eq(F) to define the Von Mises yeld criterion and set the unit in the first argument of solve, like eq(F*'kN) or eq(F*'N);
  • Finally give a range to solve, otherwise the default of the program you are running it is used;


test - r1.sm (12kb) downloaded 21 time(s).

Edited by user 25 April 2019 12:33:03(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 25/04/2019(UTC)
Offline AndreasH  
#3 Posted : 25 April 2019 14:23:38(UTC)
AndreasH

Rank: Newbie

Groups: Registered
Joined: 25/04/2019(UTC)
Posts: 2
Norway

Thank you Davide.

Sloppy mistake on my part on the shear stress definition Tau. By the way, can the solve-function return with a unit number or does it have to return a unitless answer?

I can easily fix it of course by writing F:=solve(eq(F*'kN),F,0,1000)*'kN


-Andreas-
Offline Davide Carpi  
#4 Posted : 25 April 2019 15:03:45(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: AndreasH Go to Quoted Post
Thank you Davide.

Sloppy mistake on my part on the shear stress definition Tau. By the way, can the solve-function return with a unit number or does it have to return a unitless answer?

I can easily fix it of course by writing F:=solve(eq(F*'kN),F,0,1000)*'kN


-Andreas-


Yes I forget it, that's the way to set the output units (solve as for now can't handle automatically input/output units of unknowns). Good

Edited by user 25 April 2019 15:07:36(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Similar Topics
units and user functions issue (Bugs & Problems)
by Davide Carpi 09/07/2012 12:04:08(UTC)
IsString() and user functions (Bugs & Problems)
by Davide Carpi 08/07/2012 03:49:08(UTC)
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.