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 Joki720  
#1 Posted : 11 March 2020 17:40:16(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

For a long time I can't solve the problem in this program, I can't find the roots

issue.png

Project

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode.sm (1,478kb) downloaded 19 time(s).

Please help, I know you can

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

Offline Jean Giraud  
#2 Posted : 11 March 2020 21:01:10(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Joki720 Go to Quoted Post
For a long time I can't solve the problem in this program, I can't find the roots

The first error message is in Function_Prop
It says "must be a real number" ?
Offline Jean Giraud  
#3 Posted : 11 March 2020 21:04:25(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
The first error message is in Function_Prop
It says "must be a real number" ?

... collapsed area are locked ! password.
Offline Joki720  
#4 Posted : 11 March 2020 21:27:21(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Jean Giraud Go to Quoted Post
The first error message is in Function_Prop
It says "must be a real number" ?

... collapsed area are locked ! password.


Password 2153
But it`s not effect to my Issue
Offline Joki720  
#5 Posted : 11 March 2020 21:32:11(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

It`s file without first error, you can use it.
Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode.sm (1,477kb) downloaded 13 time(s).
Offline Jean Giraud  
#6 Posted : 12 March 2020 01:23:58(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Joki720 Go to Quoted Post
It`s file without first error, you can use it.

... does not either SS 6179.
You may replace Function_prop(P,T,M) by the Spline Matrix
Collapsed in red ... try some suite from there.
Watch unit system [not my cup of tea !]

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode (1).sm (1,558kb) downloaded 10 time(s).
Offline Jean Giraud  
#7 Posted : 12 March 2020 04:22:58(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Joki720 Go to Quoted Post
It`s file without first error, you can use it.

Still red top2bottom
As it looks, you are attempting to integrate kg/m³ over 'p'
for the given 293 °K ... done otherwise finite differences.
In your solve block, vary many things are constants that could
be simplified but so many are undefined.
What should this solve bloc should do wrt the integration ?
find an intersection wrt some 'P' or else ?
The meaning of the cumulative integration reads like this:
"for °K 293, accumulate the kg/m³ over the 'p' range'
In other words: the cumulative mass-flow kg/m³over 'p' range

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode (1).sm (1,570kb) downloaded 13 time(s).

Offline Joki720  
#8 Posted : 12 March 2020 14:40:48(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Joki720 Go to Quoted Post
It`s file without first error, you can use it.

Still red top2bottom
As it looks, you are attempting to integrate kg/m³ over 'p'
for the given 293 °K ... done otherwise finite differences.
In your solve block, vary many things are constants that could
be simplified but so many are undefined.
What should this solve bloc should do wrt the integration ?
find an intersection wrt some 'P' or else ?
The meaning of the cumulative integration reads like this:
"for °K 293, accumulate the kg/m³ over the 'p' range'
In other words: the cumulative mass-flow kg/m³over 'p' range

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode (1).sm (1,570kb) downloaded 13 time(s).



I don't understand you. What should I do? Or, if You can, please correct it

This is the correct response to the variable that should be obtained in the Solve function
InkedRaschet propusknojj sposobnosti truboprovoda s drosselem na vykhode_LI.jpg (1,053kb) downloaded 13 time(s).

Edited by user 12 March 2020 14:42:30(UTC)  | Reason: Not specified

Offline Jean Giraud  
#9 Posted : 12 March 2020 18:26:51(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Function_prop(P,T,M) does not work.
Use the Spline Matrix in lieu
I understand nothing in there.
Hope Collabs read and have some ideas !

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode (20200312).sm (1,579kb) downloaded 13 time(s).
Offline Joki720  
#10 Posted : 13 March 2020 01:56:35(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: Jean Giraud Go to Quoted Post
Function_prop(P,T,M) does not work.
Use the Spline Matrix in lieu
I understand nothing in there.
Hope Collabs read and have some ideas !

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode (20200312).sm (1,579kb) downloaded 13 time(s).


I don`t understand too. May be anyone have any idea?
Offline mkraska  
#11 Posted : 13 March 2020 10:43:39(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Joki720 Go to Quoted Post
For a long time I can't solve the problem in this program, I can't find the roots

The first error message is in Function_Prop
It says "must be a real number" ?

I fixed Function_Prop using InterpBilinear() from the Statistical Tools plugin. Note that the definition without line operator behaves buggy, because you even won't get the usual storage preview when hovering over the definition. This is strange and indicates something really bad under the hood.

Yet fixing the function doesn't solve any of the problems downstream. But given the strange error messages and bugs I'd say build 7251 can't be used safely anyways.

BTW, instead the if-else cascades I'd recommend using the selection index as index of a vector of options.

2020-03-13 08_26_21-SMath Studio 0.99.7251 - [Raschet%20propusknojj%20sposobnosti%20truboprovoda%20s.png
Raschet%20propusknojj%20sposobnosti%20truboprovoda%20s%20drosselem%20na%20vykhode_Kr.sm (1,479kb) downloaded 20 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Joki720  
#12 Posted : 14 March 2020 22:19:30(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: mkraska Go to Quoted Post
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Joki720 Go to Quoted Post
For a long time I can't solve the problem in this program, I can't find the roots

The first error message is in Function_Prop
It says "must be a real number" ?

I fixed Function_Prop using InterpBilinear() from the Statistical Tools plugin. Note that the definition without line operator behaves buggy, because you even won't get the usual storage preview when hovering over the definition. This is strange and indicates something really bad under the hood.

Yet fixing the function doesn't solve any of the problems downstream. But given the strange error messages and bugs I'd say build 7251 can't be used safely anyways.

BTW, instead the if-else cascades I'd recommend using the selection index as index of a vector of options.

2020-03-13 08_26_21-SMath Studio 0.99.7251 - [Raschet%20propusknojj%20sposobnosti%20truboprovoda%20s.png
Raschet%20propusknojj%20sposobnosti%20truboprovoda%20s%20drosselem%20na%20vykhode_Kr.sm (1,479kb) downloaded 20 time(s).


Perfect, may be you can solve "SOLVE" function in this program???
Offline Jean Giraud  
#13 Posted : 15 March 2020 03:26:36(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Joki720 Go to Quoted Post
Perfect, may be you can solve "SOLVE" function in this program ???

1. Up to this point: NO ... μ.др is undefined
2. If μ.др has a value: plug it in this document.
3. Please, don't re-post your original, so I can do more
from this document.
4. Units don't match in this project.

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode (20200314).sm (1,567kb) downloaded 6 time(s).
Offline Jean Giraud  
#14 Posted : 15 March 2020 15:29:47(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
... look closely at the point we are.
Define the base viscosity μ.др
The complex term is most puzzling ?
Cheers ... Jean

Raschet propusknojj [20200315].sm (1,565kb) downloaded 14 time(s).
Offline Joki720  
#15 Posted : 15 March 2020 21:25:18(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: Jean Giraud Go to Quoted Post
... look closely at the point we are.
Define the base viscosity μ.др
The complex term is most puzzling ?
Cheers ... Jean

Raschet propusknojj [20200315].sm (1,565kb) downloaded 14 time(s).


Sorry. I understand you, I didn’t write it down. instead of μ.др . -> μ.тр
Offline Jean Giraud  
#16 Posted : 17 March 2020 03:51:00(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Joki720 Go to Quoted Post
Sorry. I understand you, I didn’t write it down. instead of μ.др . -

... now that we have the base viscosity, we can plot/tabulate "Bloc".
From there, given some value in "Bloc" we can solve for the pressure
that creates this value .
Cheers ... jean
Does it make you progress in your project ?

Raschet propusknojj [20200316].sm (1,590kb) downloaded 15 time(s).
Offline Joki720  
#17 Posted : 17 March 2020 17:04:05(UTC)
Joki720


Rank: Member

Groups: Registered
Joined: 12/02/2020(UTC)
Posts: 12

Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Joki720 Go to Quoted Post
Sorry. I understand you, I didn’t write it down. instead of μ.др . -

... now that we have the base viscosity, we can plot/tabulate "Bloc".
From there, given some value in "Bloc" we can solve for the pressure
that creates this value .
Cheers ... jean
Does it make you progress in your project ?

Raschet propusknojj [20200316].sm (1,590kb) downloaded 15 time(s).


The answer does not match, it might be better if I attach a file from MathCad. I have to translate the program from MathCad to SmathStudio, but sometimes I get errors like this.

Raschet propusknojj sposobnosti truboprovoda s drosselem na vykhode.xmcd (488kb) downloaded 8 time(s).

Here is the answer, sorry, that in Russian

Offline Jean Giraud  
#18 Posted : 17 March 2020 20:48:43(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Joki720 Go to Quoted Post
I have to translate the program from MathCad to SmathStudio

... then check if the "Bloc" you have constructed is OK.
Tabulate the Mathcad "Bloc" that you have translated Smath.
My working Mathcad is 11 not connected to Internet,
My XP Pro. has no AV . If the two MCD/Smath blocs don't
agree/tabulate same: then your translation is in doubt.
Cheers ... Jean
Offline Jean Giraud  
#19 Posted : 20 March 2020 18:11:57(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Your Smath ρ vs pressure [p] does not correspond to MCD.
I can't help more from so much not clear.
Check with Viacheslav, he is with MCD ... Maybe Radovan too.
Cheers, best ... Jean
Users browsing this topic
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.