Quantcast
Channel: PTC Community : All Content - Programming & Extending Mathcad
Viewing all articles
Browse latest Browse all 680

Plotting a family of curves

$
0
0

I am trying to plot the curves of the properties of monoethylene glycol solutions in water, working from the parametric equations given in M. Conde Engineering "Properties of Working Fluids - Brines" (http://www.mrc-eng.com/Downloads/Brine%20Properties.pdf). Ultimately, I want to show the curves cut off properly at the freezing point line, as in the Conde document, and also to be able to show index lines for a specific temperature and glycol concentration. But I am struggling to get even the curves to plot correctly. If I set up the equations using range variables for glycol concentration and temperature I get the right sort of graph but with 'flyback' lines between each curve. Here's an example, for the dynamic viscosity; the various curves are for 0%, 10%..60% glycol in water.

 

 

I have found the various discussions here on plotting families of curves and waterfall curves. I am trying to follow the method illustrated by Valery Ochkov in his example sheet 2D_Plot_y_x_a.xmcdz, but I am not getting it to work for me. I am getting error messages like 'These array dimensions do not match' and 'All evaluations resulted in either an error or a complex result'.

 

I am using Mathcad 15 (M005), but I am not very experienced in using Mathcad for matrix manipulation; I am not sure I am even reading the example sheet correctly. Can anyone help?

 

Gerard


Viewing all articles
Browse latest Browse all 680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>