Skip to main content
Ctrl+K
physicskit logo physicskit logo
  • Subpackages
  • History
  • Examples
  • API
  • GitHub
  • PyPI
  • Subpackages
  • History
  • Examples
  • API
  • GitHub
  • PyPI

Section Navigation

  • physicskit.astro
    • Cosmic-web formation
    • Galactic dynamics
    • N-body dynamics
    • Orbital mechanics
    • Stellar convection and the magnetic dynamo
    • Stellar structure
  • physicskit.chaos
    • Advanced: Building Custom Systems
    • Billiards
    • Chaos Metrics
    • Continuous Systems
    • Interactive and Animated Visualizers
    • Discrete Maps
    • Quantum Chaos
  • physicskit.classical
    • Coupled lattice chains
    • Hamiltonian phase space
    • Integrators
    • Lagrangian mechanics
    • Newtonian mechanics
    • Rigid-body rotations
    • Visualizers
  • physicskit.condensed
    • Anderson Localization
    • Correlated Electrons
    • Ginzburg-Landau Theory
    • Landau Levels
    • Laughlin’s Wavefunction and the Fractional Quantum Hall Effect
    • Tight-Binding
    • Topology
  • physicskit.fields
    • Electrodynamics
    • Gauge confinement
    • Quantum fields
    • Solitons
  • physicskit.fluids
    • Compressible Flow
    • Instabilities
    • Navier-Stokes and Turbulence
    • Potential Flow
    • Viscous Flow
    • Vortex Dynamics
  • physicskit.optics
    • Diffraction
    • Gaussian beams
    • Quantum optics
    • Ray optics
  • physicskit.particle
    • Collider pipeline
    • Detector signatures
    • Electroweak theory
    • Flavor physics
    • The neutral kaon system
    • Relativistic kinematics
    • Nuclear physics
    • Quantum chromodynamics
    • Radioactivity
    • Resonance discovery
    • The weak interaction
  • physicskit.plasma
    • Particle acceleration
    • Kinetic theory (particle-in-cell)
    • Magnetohydrodynamics
    • Single-particle motion
    • Drift-wave turbulence
    • Cold-plasma waves
  • physicskit.quantum
    • Entanglement and topology
    • Harmonic oscillator
    • Hydrogen orbitals
    • Measurement
    • Perturbation and Floquet driving
    • Potentials
    • Wave packets
  • physicskit.relativity
    • Cosmology
    • Gravitational waves
    • Interactive Plotly visualizations
    • Kerr black holes
    • Gravitational lensing
    • Neutron stars
    • Schwarzschild black holes
    • Spacetime geometry
  • physicskit.rmt
    • Paper replications
  • physicskit.semiclassical
    • The Gutzwiller trace formula
    • Feynman paths and the classical limit
    • Semiclassical propagators
    • Quantum scars
    • WKB and Bohr-Sommerfeld quantization
  • physicskit.statphys
    • Ehrenfest urn
    • Interactive Plotly visualizations
    • Ising model
    • Interface growth
    • Landau mean-field theory
    • Molecular dynamics
    • Nonequilibrium work relations
    • Percolation
    • Potts model
    • Quantum statistics
    • Random walks
    • Renormalization group
    • Self-organized criticality
    • Spin glasses
    • XY model
    • Partition function zeros
  • Examples
  • Examples
  • Navier-Stokes and Turbulence

Navier-Stokes and Turbulence#

The general-purpose engine behind this package’s instability simulations: a doubly periodic, pseudo-spectral solver for the full 2D incompressible vorticity-transport equation, exact up to machine precision and aliasing in space and 4th-order accurate in time. The first example shows its most basic signature – a vortex patch’s peak vorticity bleeding away under viscous diffusion, at a rate no inviscid simulation could reproduce. The second pushes the same solver into a genuinely turbulent regime: many vortices of mixed sign interacting nonlinearly, cascading kinetic energy from the large scales they were seeded at down to small scales where viscosity finally dissipates it. Watch, in the energy spectrum plot, how a real inertial range lines up with Kolmogorov’s predicted -5/3 power law over more than a decade of wavenumber – one of the most-tested predictions in classical physics, reproduced here from nothing but the bare incompressible equations.

Viscous decay under the Navier-Stokes equations

Viscous decay under the Navier-Stokes equations

The Kolmogorov -5/3 cascade in decaying 2D turbulence

The Kolmogorov -5/3 cascade in decaying 2D turbulence

previous

Rayleigh-Taylor plumes from a heavy-over-light interface

next

Viscous decay under the Navier-Stokes equations

Show Source

© Copyright 2026, physicskit contributors.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.21.0.