Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mathcad help finding variable value

Status
Not open for further replies.

martin26

Mechanical
Joined
Apr 8, 2011
Messages
1
Location
GB
I have a set of results from a simulation, in the form of a velocity along with the corresponding distance from the pipe centre. There are about 20 points.

I also have an equation that tries to model this, so i can enter in the same distances from the pipe centre and i want the output to be as close as possible to the simulation velocities.

To do this i have added some variables (at the moment 1 ("b") but i may progress to have 2 variables) to my formula which i wish mathcad to define for me...

How do i go about this, i have tried but, very, unsuccessful

Thanks in advance,
 
MathCad does units REALLY well. Not using them is totally irresponsible. In your sheet you define R:0.1524. Well if you'll let it, MathCad will call "R" "temperature in degrees Rankine".

If I can puzzle out where you started, it looks like
"d" is density and if I assume water, then it is in kg/m^3
"v" is viscosity (I'll assume 20C) in N*s/m^2
"R" is radius and I'll guess it is in m
"Vm" by process of eliminiation it must be mean velocity in m/s

Those assumptions get to the Reynolds Number you calculated.

Given that, I couldn't get the solve block to converge. Why are you trying to use "find" instead of "genfit"? I don't think that MathCad will do a "find" with an imbeded array.

David
 
IRstuff,
That answer gives you a different "b" for every "r". He's looking for a single "b" that generates a data set that matches "v".

David
 
Dang, that is what I told him 2 days ago.

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top