🧄Verification of the Divergence Theorem for a Rotating Fluid Flow (DT-RFF)

The mass flux out of the closed cylindrical surface is zero, a result confirmed by both the application of the Divergence Theorem and the direct summation of the fluxes through the individual surfaces. The Divergence Theorem revealed that the volume integral of the mass flux is zero because the velocity field $v$ has a zero divergence ( v=0\nabla \cdot v=0 ), indicating that the fluid is incompressible and mass-conserving within the volume. This zero net flux was verified by the surface calculations, where the flux out of the top cap ( Φ1=+ρ0v0πr02\Phi_1= +\rho_0 v_0 \pi r_0^2) was perfectly balanced by the flux into the bottom cap (Φ2=ρ0v0πr02\Phi_2=-\rho_0 v_0 \pi r_0^2), while the flux through the curved side wall (Φ3\Phi_3) was also zero due to the specific anti-symmetric nature of the velocity field components on that surface.

🪢The Mechanics of Fluid Divergence and Vorticity Dynamics

🎬Resulmation: 7 demos

7 demos: Across these six demonstrations, we have bridged the gap between vector calculus and physical fluid behavior, focusing on the concepts of flux, density evolution, and vorticity. Our first set of demos validated the Divergence Theorem, illustrating how zero divergence characterizes incompressible helical flow while a positive divergence indicates a mass source where fluid expands outward. The second set applied the Continuity Equation to visualize density as a dynamic variable, showing that fluid "thins out" in source regions (v>0\nabla \cdot \vec{v} > 0) and compresses in sink regions (v<0\nabla \cdot \vec{v} < 0), causing visible shifts in particle concentration. Finally, the vorticity simulations utilized "paddlewheel" indicators to distinguish between types of circular motion; we proved that rigid body rotation possesses true local "spin" (non-zero curl), whereas an irrotational vortex orbits a center without local rotation because the velocity gradient cancels the orbital curvature. Together, these simulations provide a holistic view of how divergence and curl define the essential properties of a flow field—expansion, mass conservation, and rotation.

🎬A Unified Computational Study of Flux Continuity and Vorticitychevron-right

📎IllustraDemo: Visualizing Fluid Dynamics: How Vector Calculus Explains Flow

The illustration, titled "Visualizing Fluid Dynamics: How Vector Calculus Explains Flow," provides a visual bridge between abstract mathematical operators—divergence and curl—and their physical manifestations in fluid behavior. It is divided into two primary sections that illustrate how these concepts define expansion, compression, and local rotation.

1. Divergence: Expansion and Compression

This section uses color-coded vector fields to explain the movement of mass within a region:

  • Positive Divergence (v>0\nabla \cdot \mathbf{v} > 0): Depicted as an orange "mass source," where fluid particles and arrows expand and flow outward from a central point.

  • Negative Divergence (v<0\nabla \cdot \mathbf{v} < 0): Shown as a purple/blue "mass sink," where fluid compresses and flows inward, leading to an increased concentration of particles at the center.

  • Zero Divergence (v=0\nabla \cdot \mathbf{v} = 0): Represented by steady, parallel streamlines flowing through a channel, this characterizes incompressible flow, where the fluid maintains a perfectly constant density.

2. Curl: Local Rotation

The right side of the illustration uses the paddlewheel analogy discussed in our previous narrative to distinguish between different types of circular motion:

  • Rotational Flow: Characterized by non-zero curl, this is illustrated as "Rigid Body Rotation" in a green and yellow spiral. In this scenario, the entire fluid mass spins like a solid object, causing the small paddlewheel icons to rotate on their own axes as they orbit.

  • Irrotational Flow: Shown as an "Irrotational Vortex" in a blue spiral, this flow has zero curl. While the fluid particles still orbit a central point, they do not spin locally; consequently, the paddlewheels remain in a fixed orientation and do not rotate.

This visual summary reinforces the concepts from our earlier discussion, specifically how the local "spin" and "expansion" of a fluid are captured by these fundamental vector calculus operations.

📢How Divergence and Curl Define Flowchevron-right

🧣Ex-Demo: Flowchart and Mindmap

The Dance of the Helix: Unveiling the Hidden Laws of Fluid Motion

Imagine a fluid trapped within a transparent cylinder. Instead of sitting still, this fluid is alive with motion, performing a complex choreography where every particle follows a precise, screw-like path. This derivation sheet explores the physics of this "helical flow" and how we can predict its behavior without ever looking inside the container.

The Balanced Flow: A Perfect Helix

At the heart of our first demonstration is a fluid that both swirls and rises. Imagine the fluid particles as tiny red dots moving in a circular motion around a central axis while being pushed steadily upward. The result is a helical trajectory, much like the threads of a screw.

In this scenario, the fluid is "incompressible". This means that as the particles rise and rotate, the spacing between them remains perfectly constant. When we look at the cylinder as a whole, we see a perfect balance: the amount of fluid entering through the bottom disc is exactly equal to the amount exiting through the top disc. Because the fluid is swirling parallel to the cylinder's walls, no fluid ever pushes "out" through the sides. Because what goes in must come out, the net "flux"—or total movement of mass across the entire closed surface—is exactly zero.

When the Balance Breaks: Sources and Sinks

But what happens if we change the rules? In our next demonstration, we introduce a "source". Now, as the particles spiral upward, they are also pushed outward from the center. Visually, the helix expands like a growing fountain.

This change has a profound physical effect. Because fluid is now being "created" or pushed out from the central axis, there is more fluid leaving the cylinder's surface than entering it. This illustrates a fundamental principle: the "divergence" of the flow acts as a bridge between what is happening locally (expansion) and what is happening at the boundaries (net outward flow).

We can also see this through the lens of density. Imagine the particles are color-coded: bright yellow for high density and fading to purple as they thin out. In our "source" demo, as the fluid expands into a larger volume, the particles "thin out" and fade, representing a drop in density. Conversely, if we create a "sink"—where fluid is sucked toward the center—the particles crowd together and brighten, showing that the fluid is becoming more concentrated.

The Spinning Paddlewheel: Understanding Rotation

Even when a fluid isn't expanding or thinning, it can still have a hidden "spin" called vorticity. To visualize this, imagine dropping a tiny paddlewheel into the swirling fluid.

In our original helical flow, the fluid moves like a "rigid body"—much like a solid record spinning on a turntable or a carousel. If you placed a paddlewheel here, it would spin on its own axis while it orbits the center. This indicates that the fluid has a true local "spin".

Contrast this with an irrotational vortex, which mimics the flow of water down a bathtub drain. Here, the particles still move in circles, but the fluid closer to the center moves much faster than the fluid further out. If you dropped a paddlewheel into this flow, it would orbit the drain, but it would not spin on its own axis. The faster inner current pushes against the paddle in a way that perfectly cancels out the rotation of the circular path, keeping the wheel pointing in the same direction the entire time.

By watching these demos—the expanding helices, the fading densities, and the spinning paddlewheels—we gain a holistic view of how simple local motions define the essential properties of a fluid: its expansion, its conservation of mass, and its rotation.

Flowchart: The flowchart illustrates a structured workflow for the Verification of the Divergence Theorem for a Rotating Fluid Flow. It maps out how various fluid dynamics demonstrations are implemented through code and how they link to specific mathematical principles.

Structure of the Flowchart

The diagram is organized into five main columns that represent the progression from a central example to its underlying mathematical theory:

  • Example: The starting point is the verification of the Divergence Theorem in the context of rotating fluid motion.

  • Implementation Pathways: The flowchart identifies two programming routes for these demonstrations: Python (represented by orange dashed lines) handles the majority of the fluid simulations, while HTML (cyan dashed lines) is used specifically for the final Divergence Theorem visualization.

  • Demo: This central section lists several interactive simulations, including:

    • Sources and Sinks: Visualizing "Diverging Fluid Flow" and how density increases or fades based on the Continuity Equation.

    • Vorticity: Differentiating between "Rigid Body Rotation" (vorticity) and an "Irrotational Vortex" where no local rotation occurs.

    • Helical Motion: Representing the core "Helical Fluid Flow" concept.

  • Velocity Field Equation: Each demo is mapped to a specific mathematical equation. For instance, helical flow is defined by a vector equation involving unit vectors (ex,ey,eze_x, e_y, e_z), while rotational properties are defined by equations for divergence (v\nabla \cdot \vec{v}) and curl (×v\nabla \times \vec{v}).

  • Mathematical Concept: The final column provides the physical interpretation of the equations, such as Non-zero Divergence (Source), Incompressible Flow, Flux Balance, and Vorticity (The 'Curl').

Key Relationships

The flowchart highlights critical scientific connections:

  • Divergence and Density: It links positive or negative divergence equations directly to the Continuity Equation, showing how a "Source" or "Sink" affects fluid density.

  • Rotation and Curl: It distinguishes between a general definition of Vorticity (as the curl of velocity) and the specific case of an Irrotational Flow, where the curl is zero.

  • Flux and Theorem: The "Divergence Theorem Visualization" demo connects to equations for Flux Balance, illustrating the core principle that the net flow through a surface equals the expansion or contraction within the volume.

Mindmap: The mindmap, titled Fluid Dynamics and Divergence Theorem, serves as a comprehensive visual framework for understanding the interplay between mathematical analysis and physical fluid behaviour. It is structured into five primary branches:

1. Velocity Field Analysis

This branch focuses on the mathematical foundations for describing fluid motion. It categorises analysis into Cartesian and Cylindrical forms, specifically highlighting Helical Motion, which serves as the core case study for the earlier narrative on swirling and rising fluids.

2. Divergence Theorem

The mindmap splits this theorem into two distinct perspectives:

  • Mathematical Proof: Outlines the technical components, such as Zero Divergence, Volume Integral Results, and Surface Flux Summation.

  • Physical Interpretation: Connects these equations to real-world concepts like Incompressibility (where fluid spacing remains constant), Mass Conservation, and Steady State conditions.

3. Continuity Equation

This section explains how fluid density changes over time based on flow patterns:

  • Source Field: Characterised by Positive Divergence, leading to Radial Expansion and a Density Decrease—visually represented in the demos as particles "thinning out" as they move away from the centre.

  • Sink Field: Defined by Negative Divergence, causing Fluid Compression and a Density Increase as particles crowd together.

4. Vorticity and Curl

This branch details the "hidden spin" within a fluid:

  • Rigid Body Rotation: Associated with Constant Vorticity and Local Spin, where a Paddlewheel placed in the flow would rotate on its own axis.

  • Irrotational Vortex: Contrasts this by showing a flow with Zero Curl and No Local Spin, where Shear Cancellation prevents a paddlewheel from spinning even as it orbits the centre.

5. Visual Simulations

The final branch lists the interactive elements used to demonstrate these principles, including Helical Tracer Particles for path tracking, Color-Coded Density Fading to visualize sources/sinks, and Interactive Flux Controls to manipulate the net flow through surfaces.

🧣The Mechanics of Helical Flow and Fluid Dynamics (HF-FD)chevron-right

🍁Divergence and Curl Analysis

chevron-rightDescriptionhashtag

The flowchart delineates a structured workflow for verifying the Divergence Theorem, mapping computational implementations in Python and HTML to specific simulations like helical motion and vorticity. Complementing this, the mindmap organises the theoretical landscape, categorising velocity field analysis, the physical interpretations of mass conservation via the continuity equation, and the critical distinctions between rigid body rotation and irrotational vortices. Finally, the infographic illustration bridges abstract mathematical operators with observable physical behaviours. It visually defines divergence ($\nabla \cdot \mathbf{v}$) as a measure of expansion and compression—where positive divergence indicates a mass source and negative divergence a mass sink—and curl ($\nabla \times \mathbf{v}$) as the measure of local rotation. By contrasting rotational flow (non-zero curl) with irrotational vortices (zero curl) through the paddlewheel analogy, these tools collectively demonstrate how vector calculus precisely explains complex flow field properties.


⚒️Compound Page

Last updated