Samir Khan

1489 Reputation

15 Badges

13 years, 77 days

My role is to help customers better exploit our tools. I’ve worked in selling, supporting and marketing maths and simulation software for all my professional career.

I’m fascinated by the full breadth and range of application of Maple. From financial mathematics and engineering to probability and calculus, I’m always impressed by what our users do with our tools.

However much I strenuously deny it, I’m a geek at heart. My first encounter with Maple was as an undergraduate when I used it to symbolically solve the differential equations that described the heat transfer in a series of stirred tanks. My colleagues brute-forced the problem with a numerical solution in Fortran (but they got the marks because that was the point of the course). I’ve since dramatized the process in a worksheet, and never fail to bore people with the story behind it.

I was born, raised and spent my formative years in England’s second city, Birmingham. I graduated with a degree in Chemical Engineering from The University of Nottingham, and after completing a PhD in Fluid Dynamics at Herriot-Watt University in Edinburgh, I started working for Adept Scientific – Maplesoft’s partner in the UK.

MaplePrimes Activity


These are replies submitted by Samir Khan

There's no "Stop" button in Flow just yet. Right now, you'll have to stop Maple Flow via the Task Manager (Ctrl+Alt+Delete).

Instead of minimize (which is a symbolic minimizer), try using Optimization:-Minimize instead. This is what you should see.

@T K Burch I recreated @Carl Love's code in Maple Flow, and it works perfectly. Here's a screenshot, and I've also attached a Flow worksheet as well

In the in-product Application Gallery, there are several examples that demonstrate how you can plot data and curves. One example is Thermodynamics and Thermal Engineering > Adiabatic Mixing of Humid Air.

 

primes.zip

@rquirt The recorded webinar is here

@ Page layout and print are in an update to be released in May

@mmcdara

Have you seen the demo video on the Maple Flow website?

Some of this is repeating information, but Maple Flow

  • has a whiteboard-style interface. Click your mouse anywhere on a canvas and type your math
  • lets you use the Maple programming language to solve and analyze your equations (you can use nearly every command available in standard Maple)
  • only allows 2D math on the canvas, and has a deliberately simpler equation editor than Maple
  • allows you to write 1D Maple language procedures in a code edior, and call those procedures on the canvas.
  • isn't an alternative or an extension to MapleSim. Both tools solve different kinds of problems.
  • needs Maple 2021 to run. You can use toolboxes like Global Optimization, but that isn't necessary
  • is specifically designed for the professional engineering market for simpler problems that are engineering-focussed, not math-focussed (but I certainly think Maple Flow will find an audience in academic math - think of a mathematically-live whiteboard in which you can sketch out and evaluate mathematical concepts)

Hope this sheds some light, but let me know if it doesn't. I'd be happy to clarify further.

 

 

 

 

Could you send an email to support@maplesoft.com with details of the problem?

@Steve Roper In that case, could you email the worksheet to support@maplesoft.com and let them know you want to submit it to the Application Center (and that the online submission isn't working).

This would make a great addition to the Maple Application Center. Have you thought about posting it there?

When you say you want to calculate the absolute humidity, do you mean

  • the weight of water per cubic meter of wet air,
  • or the weight of water per cubic meter of dry air?

@9009134 For some reason, I can't send you a private message on MaplePrimes. Could you try sending me a private message (otherwise I have no way of contacting you)

@9009134 What does the software do? What problem are you trying to solve?

@9009134  Describing in detail how to import and parse the data file isn't something I have the bandwidth to do.

You'll need to (i) understand the format of the data file, (ii) read in the data file line by line, (iii) interpret what the data on each line means.

The format of the data file appears to be describe here

Could you please describe *why* you want the seven parameter version of the polynomials. What are you trying to do with them?

A quick Google search gives you a data file with the coefficients for the 7-parameter Nasa polynomials: https://shepherd.caltech.edu/EDL/PublicResources/sdt/thermo.html. You'll need to parse the data file into a format that Maple understands, though.

Why *specifically* do you want the 7 parameter coefficients, and not the 9 parameter coefficients?

 

Maple already has similar thermodynamic correlations for about 2000 chemicals built into the ThermophysicalData package

For example, here's the molar specific heat capacity, enthalpy and entropy of Jet-A (sorry about the illegible pictures, but the commands should be visible).

   

species:="Jet-A(g)":

cp := ThermophysicalData:-Chemicals:-Property(Cpmolar,"Jet-A(g)",temperature=T,explicit)

cp := 8.314510*piecewise(273.150 < T and T <= 1000.000, -606869.5590/T^2+8328.259590/T-43.12321270+.2572390455*T-0.2629316040e-3*T^2+1.644988940*10^(-7)*T^3-4.645335140*10^(-11)*T^4, 1000.000 < T and T <= 6000.000, 1.858356102*10^7/T^2-76772.19890/T+141.9826133-0.7437524530e-2*T+5.856202550*10^(-7)*T^2+1.223955647*10^(-11)*T^3-3.149201922*10^(-15)*T^4)

(1)

h:=ThermophysicalData:-Chemicals:-Property(Hmolar,species,temperature=T,explicit)

h := 8.314510*T*piecewise(273.150 < T and T <= 1000.000, 606869.5590/T^2+8328.259590*ln(T)/T-43.12321270+.1286195228*T-0.8764386800e-4*T^2+4.112472350*10^(-8)*T^3-9.290670280*10^(-12)*T^4-76069.62760/T, 1000.000 < T and T <= 6000.000, -1.858356102*10^7/T^2-76772.19890*ln(T)/T+141.9826133-0.3718762265e-2*T+1.952067517*10^(-7)*T^2+3.059889118*10^(-12)*T^3-6.298403844*10^(-16)*T^4+422198.9520/T)

(2)

s:=ThermophysicalData:-Chemicals:-Property(Smolar,species,temperature=T,explicit)

s := 8.314510*piecewise(273.150 < T and T <= 1000.000, 303434.7795/T^2-8328.259590/T-43.12321270*ln(T)+.2572390455*T-0.1314658020e-3*T^2+5.483296467*10^(-8)*T^3-1.161333785*10^(-11)*T^4+279.4305937, 1000.000 < T and T <= 6000.000, -9.291780510*10^6/T^2+76772.19890/T+141.9826133*ln(T)-0.7437524530e-2*T+2.928101275*10^(-7)*T^2+4.079852157*10^(-12)*T^3-7.873004805*10^(-16)*T^4-898.6061040)

(3)

@nm You're not the first person to suggest built-in plot themes :)

1 2 3 4 5 6 Page 1 of 6