Skip to main content
1-Visitor
August 22, 2022
Question

Help with plotting a iterative value

  • August 22, 2022
  • 1 reply
  • 2990 views

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.

 

 

1 reply

21-Topaz II
August 22, 2022

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

21-Topaz II
August 22, 2022

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

23-Emerald IV
August 22, 2022

Prime6 translation.

 

Success!
Luc