Course Forums

Ask questions, search for answers and collaborate with fellow students and instructors. - Don't wait for a support Engineer or Instructor to reply in the forum, any students can reply and make it interactive. - Please note that on weekends support Engineers are not available and there could be a delay in response - Some issues that cannot be resolved in forum discussions, like installation or technical issues will be moved to a zoom call

  • about assignment 5

    Posted by Hagop on September 19, 2026 at 8:58 pm

    Hello all:

    in the assignment i didnt understand clearly how to interpret the plot of the stream function , i couldnt find a clear explanation using frank white book on fluid mechanics

    could flowthermolab point out how to interpret stream function plots

    and could flowthermolab provide referencesfor future readings

    best regards

    Hagop

    Krishnendu G S replied 1 month, 3 weeks ago 2 Members · 6 Replies
  • 6 Replies
  • Hagop

    Member
    September 19, 2026 at 9:34 pm

    also have problem with plotting the figures on the same page as you all the plots came out not on the same figure each plot with its own figure

    • Krishnendu G S

      Member
      September 21, 2026 at 8:49 am

      This usually happens because a new figure is created inside the loop. To get all C values on one page:

      Create the figure once, before the loop (figure in MATLAB, fig, ax = plt.subplots() in Python).

      In MATLAB, add hold on so curves don’t erase each other.

      Draw every curve inside the loop, without calling figure or plt.show() there.

      In Python, call plt.show() once, after the loop.

      An even simpler way is to use a contour plot of ψ = Kxy (contour in MATLAB, ax.contour in Python), which draws all the streamlines at once. Adding streamplot (Python) or streamslice (MATLAB) puts the direction arrows on the same plot.

      Check that your loop doesn’t divide by zero at x = 0. Plot the x > 0 and x < 0 branches separately, or use the contour method.

  • Krishnendu G S

    Member
    September 21, 2026 at 8:44 am

    Hi Hagop,

    The key idea: no fluid crosses a streamline. So, you can imagine any streamline as a solid wall, and the flow on either side stays the same. The plot is a “menu” of possible real flows.

    To interpret it:

    1. Draw the streamlines with arrows (use the signs of u and v).
    2. Find the special points and lines: the stagnation point (u = v = 0) and any straight streamlines, like our x-axis and y-axis.
    3. Ask: “If I make this streamline a wall, what does the fluid do?”

    For our problem:

    • x-axis as a wall, keep the upper half: fluid comes down, stops at the origin, and spreads sideways. This is a jet hitting a flat plate.
    • Both axes as walls, keep quadrant 1: fluid flows down along one wall, turns, and leaves along the other. This is flow around a 90° corner.
    • No walls, whole plane: two streams from above and below collide at the origin and leave sideways.
    • Just look at the arrows near the origin: the fluid is stretched along x and squeezed along y. This is called straining flow.

    Always check with the arrows: does the fluid approach the wall, slow to zero at the stagnation point, and leave along the wall? If yes, the interpretation makes sense.

    Try this yourself: pick the curve xy = 1 as a wall and describe what the flow looks like in the region between it and the axes.

    Best regards,
    Flowthermolab Support Team

  • Krishnendu G S

    Member
    September 21, 2026 at 8:54 am

    For further reading: Çengel & Cimbala, Fluid Mechanics: Fundamentals and Applications, Chapter 4 (Fluid Kinematics), Section 4-2 (Fundamentals of Flow Visualization).

  • Hagop

    Member
    September 21, 2026 at 8:38 pm

    thanks for explanation

    are you saying that this function represent 2 fluids ? colliding in the center , but this is only 1 velocity field there is no v1(u1,v1,w1), v2(u2,v2,w2) ? it is just v(u,v,w)

    • This reply was modified 1 month, 4 weeks ago by  Hagop.
    • Krishnendu G S

      Member
      September 22, 2026 at 9:10 am

      Hi Hagop,

      You’re right, and I should have been clearer.

      There is only one velocity field.

      “Colliding” was a poor choice of word on my part. What I meant was fluid on both sides is heading toward the origin, but it’s one formula producing that on both sides, not two different flows meeting.

      So, to directly answer your question: it is just V (u, v, w), one field, exactly as you said. My wording was misleading, not the math.

      Best Regards,
      Flowthermolab Support Team

Log in to reply.

Select your currency