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 Gerjan  
#1 Posted : 12 April 2012 13:04:41(UTC)
Gerjan

Rank: Newbie

Groups: Registered
Joined: 12/04/2012(UTC)
Posts: 4
Location: Netherlands

Hello,

My compliments for SMath, it's a great program!

I've a question about the possibility of solving an iteration equation with SMath.
To calculate a pressure drop of air flow in a part a calculation is set up.
The equation tries to solve the speed.
A lot of different friction factors are involved, all dependent on Reynolds (and therefore speed).
I don't think the calculations itself are very hard, but there will be a lot of variables.
A friend of mine did something similar in Excel with Macros.

Is it possible to solve complex iteration equations in SMath? (and is it easier/better than Excel)
Are there any examples of iteration equations in SMath? (or with the same structure as SMath)

The exact equation is not yet finished.
I'm also a new user in SMath (I've a few hours experience in Mathcad 2001)

Thanks in advance,
Gerjan

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

Offline omorr  
#2 Posted : 12 April 2012 16:58:20(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Gerjan,

Try to look in the "Civil Engineering Hydraulics/Fluid Mechanics" under Examples section on SMath Wiki.

Regards,
Radovan

Edited by user 12 April 2012 19:21:32(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 1 user thanked omorr for this useful post.
on 13/04/2012(UTC)
Offline Gerjan  
#3 Posted : 13 April 2012 11:56:34(UTC)
Gerjan

Rank: Newbie

Groups: Registered
Joined: 12/04/2012(UTC)
Posts: 4
Location: Netherlands

Thanks for your reply. Didn't see the Wiki page before.
I found this example, and I think it will help me.
I'm happy SMath can do this kind of calculations!
I think further questions will arise as soon as I start with the model.
Thanks for your help so far, I'll keep you guys informed.
Gerjan

Offline Gerjan  
#4 Posted : 16 April 2012 17:20:07(UTC)
Gerjan

Rank: Newbie

Groups: Registered
Joined: 12/04/2012(UTC)
Posts: 4
Location: Netherlands

I want to calculate pressure losses over a part with different friction factors, length and hydraulic diameter.
For each of these factors I want to give a view values.
I've tried to put these values in a matrix but I don't know how to define each variable.
I also put a serie of data in one matrix, but it has to be square...

dp(v)=0,5*rho*[(f*L)/Dh]*v^2

Pressure loss should be calculated first with f1, L1 and Dh1.
And then f2, L2 and Dh2 and so on.
A summation should be done to calculate the total pressure losses.

Can anyone give me tips or an example how to do this?
Offline omorr  
#5 Posted : 16 April 2012 19:04:10(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Gerjan,



file - dp.sm

You should read some tutorials on the Wiki - Tutorials

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Gerjan  
#6 Posted : 15 May 2012 15:08:51(UTC)
Gerjan

Rank: Newbie

Groups: Registered
Joined: 12/04/2012(UTC)
Posts: 4
Location: Netherlands

After some practice with help of the tutorials i've completed the calculation.
Thanks for your tips!

I made several smath files. Now i want to summarize these.
Is there an option to collect variables of different files on one sheet?
Offline omorr  
#7 Posted : 15 May 2012 21:37:10(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Gerjan,

Read this file Data files in order to figure out how to exchange data between SMath files.
Read also this post - ImportData. ImportData() function has been implemented and I hope the exportData() will be in the next release.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
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.