Skip to main content
1-Visitor
Aug 22, 2022 3:46 AM UTC
Question

Help with plotting a iterative value

I want to plot the adiabatic flame temperature of a mixture, given the excess air present but I don't know how to tell/write the program to find the value given the excess air.

 

I'm using Coolprop's fluid properties libraries to get the enthalpy of the mixture and mathcad prime 7.

 

 

9 replies

terryhendicott
21-Topaz II
Aug 22, 2022 6:17 AM UTC

Hi,

Have downloaded the Coolprop for Prime and set it up.

I use Prime 8 so will use images to show you what I did.  Perhaps some one in the community can change it to Prime 7.

A) Move all the function definitions in the solve block to above the solve block and change the equal sign.

Can you check some of the formulas?

Capture.JPG 

B) Define only one ex2 . Turned the solve block into a parametrized function in ex2.  One equation one unknown T.

Capture2.JPG

C) Defined a range variable ex and used it to calculate R at every ex and plotted it

Capture3.JPG

Cheers

Terry

Translate
terryhendicott
21-Topaz II
Aug 22, 2022 6:37 AM UTC

Hi,

Have made a small change that is needed.

Put definition of ex2 above the solve block.

This gives a more believable graph.

Capture.JPG

Capture2.JPG

Cheers

Terry

Translate
23-Emerald V
Aug 22, 2022 10:13 AM UTC

Prime6 translation.

 

Success!
Luc

Translate