Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Entropy equation plot

  1. Jun 25, 2012 #1
    Hi everybody, I have a problem with this equation:
    it represents the motion of a gas in a duct with friction (Fanno flow). I need to plot this function in a T-s plot, do you have any ideas? the Mach number changes along the curve...

    R=constant
    S2-S1=R*(M2-1)*log(T2/T1)$
     
  2. jcsd
  3. Jun 26, 2012 #2

    Mute

    User Avatar
    Homework Helper

    What exactly do you want to plot? S2-S1 vs. T2, or vs. T2/T1?

    What variables does M (the Mach number?) depend on? Is it just a function of T? S and T?

    If it depends on both you'll need to do a contour plot. (The brute force way of doing a contour plot is basically to generate a grid of S and T points and then plot a point for every pair of values (T,S) that satisfy the equation).
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Entropy equation plot
  1. Researching plots (Replies: 7)

  2. Plots in Mathematica (Replies: 1)

Loading...