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 overlord  
#1 Posted : 14 November 2020 22:54:23(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 507 time(s) in 338 post(s)
Reduction calculation according to EuroNorm.
Prepared and printed with build 7610.
Don't care if it doesn't work with older builds.
Tested on Linux, should work on Windows too (with 7610).

PS: If you have a suggestion for iteration please write it.
I couldn't single command solve() beta without an iteration.
I know how to use solve, at least I think so. (swh)
But the way I use it, solve() produces different result than iteration.

Regards

reduction.png

reduction.sm (150kb) downloaded 27 time(s).
reduction.pdf (463kb) downloaded 31 time(s).

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

Offline overlord  
#2 Posted : 15 November 2020 02:34:13(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 507 time(s) in 338 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
1. reduction.sm document is empty [wrong format]
2. reduction.PDF the while loop you wrote does not iterate
Search Samples for Golden ratio, Dichotomy under my name [Jean Giraud]
to see iterative while loops. Can't help more from nothing to crunch.

1 - Document is not empty. It is not my problem if your ancient SMath build 6179 is not opening it.
2 - Iteration works on latest build. I don't care if your SMath build doesn't.

Down there you can see iteration is working well also with different variables.
And results are correct if you had checked the provided beta graph.

2020-11-15_02-27.png
Offline Razonar  
#3 Posted : 15 November 2020 03:29:31(UTC)
Razonar


Rank: Advanced Member

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

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: overlord Go to Quoted Post
...
PS: If you have a suggestion for iteration please write it.
I couldn't single command solve() beta without an iteration.
...


Hi. I guess that you aren't using the correct function for solve nor root commands. It seems that is something like this

Clipboard01.jpg

Best regards.
Alvaro.

Edited by user 15 November 2020 03:40:21(UTC)  | Reason: Not specified

Offline Razonar  
#4 Posted : 15 November 2020 08:49:04(UTC)
Razonar


Rank: Advanced Member

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

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Razonar Go to Quoted Post
PS: If you have a suggestion for iteration please write it.
I couldn't single command solve() beta without an iteration.

You seem solving for a single e.con ?
There are multiple ways to solve recursively for more e.con


Hi. e.con it's only one, and I use it just as the guess value for solving for e.j. As the diagram indicates, e.con it's the minimum thickness for the pipe reduction at the discharge which give safety parameters according to the material strengths values, welding efficiency and safety factor for the pressure operation value (or pressure design, I'm not sure). e.j is lately used for calculate the values for the e.1 and e.2, which are indicates in the reduction diagram, adding the corrosion factor, which it's function of the material but the environment too. I'm not sure which environment it is, because the outside pressure is 2 bar (and 1 atm is more or less 1 bar). Notice that all of those values later must to be rounded to the usual nominal pipe schedule sizes.

Best regards.
Alvaro.
Offline overlord  
#5 Posted : 15 November 2020 10:48:46(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 507 time(s) in 338 post(s)
Usually the pipes are burried with concrete or layed under ground and covered with rolled-compacted earth. Outside pressure is either concrete injection or rolled earth pressure. It is used for reinforcement ring calculations. I have forgetten to remove it, it is not used for this stage of design. Sorry.

Regards
Offline Razonar  
#6 Posted : 15 November 2020 14:37:56(UTC)
Razonar


Rank: Advanced Member

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

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: overlord Go to Quoted Post
Usually the pipes are burried with concrete or layed under ground and covered with rolled-compacted earth. Outside pressure is either concrete injection or rolled earth pressure. It is used for reinforcement ring calculations. I have forgetten to remove it, it is not used for this stage of design. Sorry.

Regards


Hi overlord. Don't warry, thanks for the explanation. I just don't see where the environment is in the model, except for the corrosion correction factor. And sure, isn't at any other place just because it goes to be introduced later. Also, I guess that this is the reason for not take normal schedules, and wait for the new thinness values in the next stages of the calculations.

Your worksheet it's very useful and shows hot to implement standards in SMath, which is an ideal tool for ISO, ASME, API, IEEE, ANSI and many others.

BTW, the above function f(e.j) works for substituting your iteration with a root command?

Best regards.
Alvaro.

Edited by user 15 November 2020 14:42:01(UTC)  | Reason: Not specified

Offline overlord  
#7 Posted : 16 November 2020 16:31:35(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 507 time(s) in 338 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi overlord. Don't warry, thanks for the explanation. I just don't see where the environment is in the model, except for the corrosion correction factor. And sure, isn't at any other place just because it goes to be introduced later. Also, I guess that this is the reason for not take normal schedules, and wait for the new thinness values in the next stages of the calculations.

Your worksheet it's very useful and shows hot to implement standards in SMath, which is an ideal tool for ISO, ASME, API, IEEE, ANSI and many others.

BTW, the above function f(e.j) works for substituting your iteration with a root command?

Best regards.
Alvaro.

Well many thanks to you Razonar, I had completely forgotten the roots.
It works with with either functions method you provided or my way of using roots.
Now this method works fine but I will stick with iteration I guess.
I was just looking out of curiosity for solving the beta in single line.
And decided iteration looks better, usually I would thought other way.

Many Regards

2020-11-16_16-27.png
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.