Skip to main content
5-Regular Member
February 17, 2014
Solved

Orifice Plate - Plotting 3D or Contour Plot

  • February 17, 2014
  • 11 replies
  • 5657 views

Hello,

As the title suggests, I'm looking at trying to plot the flow rate or diameter for an orifice plate for a range of temperatures and pressures. I'd like to get a contour or 3D plot. However, whenever I do try the 3D or contour plots, I can't seem to get them to work unless I drop all units before hand and remember as I do the inputs, what my scale is. When dealing with anything temperature wise, this is rather frustrating.

Attached is my worksheet, of which I'm looking to get the plot working for a range of Temps & Pressures. I'm currently looking at sonic flows, and am wondering to what extent does the temperature and the pressure have an impact on the flow rate that will be produced for a given diameter, or vise versa. I'd also be curious, if say temperature over a range isn't very impactful, the graph of the mass flow rate vs. Pressure and Diameter. I'm interested in plotting it this way as a jet engine will change its output of T&P, and the mass flow you get out will vary over that range for a given diameter.

I can get 2D plots of the data to work out alright, just not the 3D or contour. I must be missing something either trivial or just not seeing it currently.

There are two functions in the sheet, one for calculating the Diameter as a function: D(m,T,P) and the Mass Flow as a function: M(D,T,P).

Would it be wiser to attempt some sort of demensional analysis?

Best answer by Werner_E

There is no multiplication sign between T.g and °C. You have to enter (or copy) it the same way as the 300 °C in the call of m.cr410(...). °C is not a normal unit which is just a factor.

11 replies

Werner_E
25-Diamond I
February 17, 2014

If you want to do a contourplot of a function and don't want to bother with CreateMesh(), you can define a dummy function with unitless parameters for T and P. You will then have to set the limits manually (or you could also use variables) in the plot.

17.02.png

jroth5-Regular MemberAuthor
5-Regular Member
February 17, 2014

Oddly enough, it won't work with °C, but it will work with Kelvin. Is there a reason why it wouldn't work with Deg C as you have it in your solution. I did try just inserting °C, but it would then make the entire selection of Tg°C as either a variable or a unit.

Pic.png

I feel like I may be missing something simple here.

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
February 18, 2014

There is no multiplication sign between T.g and °C. You have to enter (or copy) it the same way as the 300 °C in the call of m.cr410(...). °C is not a normal unit which is just a factor.