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 midas  
#1 Posted : 16 March 2014 20:21:17(UTC)
midas

Rank: Newbie

Groups: Registered
Joined: 05/11/2011(UTC)
Posts: 5

Hi,

Not sure if it is a bug or a usage error on my side, please kindly move if not posted correctly.
I am using a formula to compute a breaking tension and a safety factor. So far so good, now as a penultimate step I want to go through multiple materials.
As a last step I, redefine the computation method for the tension and go again through all materials. However the results are the SAME as before. I checked manually and they should be different. When I use a vector for all materials, the correct values are shown.

attached are the two minimal examples

Edit: win7x64 and SMath 0.97.5154

Edited by user 16 March 2014 20:26:50(UTC)  | Reason: Not specified

File Attachment(s):
minimal_vect.sm (13kb) downloaded 19 time(s).
minimal_novect.sm (16kb) downloaded 16 time(s).

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

Offline mkraska  
#2 Posted : 16 March 2014 20:41:57(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)
If you let the mouse hover over the definition of S, then you see that there is no reference to σ_v any more, because it has been replaced by the already known numerical value.

What you can do is
  • either shift the definition of S above the definition σ_v or
  • switch the definition of S to numeric optimization in the context menu.


You might wonder why the formula is stored as it is if you request numeric evaluation and all known values are stored if you request symbolic optimization. The reason is, that numeric optimization fails due to σ_b not defined and no optimization is done at all -> the formula is stored as it was input.

BTW, you might consider replacing names like σ_v by σ,v using literal subscipts. You get them by typing a dot.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline midas  
#3 Posted : 21 March 2014 02:29:47(UTC)
midas

Rank: Newbie

Groups: Registered
Joined: 05/11/2011(UTC)
Posts: 5

thank you, I will try your suggestions.
on a side note, it seems the "thank" function is not working.
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.