Skip to content

Physics

The registered models of skcomplex.models.physics. The page of each shows its factory, its component types with their states, parameters, and laws as written, and, for the forms that have them, its equations as SymbolicAnalysis returns them, so it serves as the pattern for a model of your own.

Active matter

Celestial mechanics

  • N-body and solar system: Bodies in the plane that attract each other pairwise by Newtonian gravity.
  • Restricted three-body problem: A light body moving in the plane of two primaries on circular orbits, in the frame that rotates with them.
  • Sitnikov problem: A light body moving on the axis through the centre of mass of two equal primaries, normal to their orbit.
  • Störmer charge in a dipole field: A charged particle moving in the magnetic dipole field of a planet, the Störmer problem.
  • Two-body orbit: A light planet orbiting a heavy star under Newtonian gravity, as the Kepler problem of their separation.

Climate

Cosmology

  • Friedmann expansion: The scale factor of a homogeneous universe of matter and dark energy, after Friedmann and Lemaître.

Criticality

Fluids

  • BGK: The BGK equation of the Sod shock tube over one position and one velocity axis.
  • Boltzmann: The Boltzmann equation of Maxwell molecules over one position and two velocity axes.
  • Burgers: The inviscid Burgers equation on a periodic interval of length 2 pi, whose sine steepens into a shock.
  • Bénard-Marangoni convection with a free, thermocapillary surface: The order-parameter equation of Bénard-Marangoni convection, which forms hexagonal cells.
  • Decaying turbulence: Decaying two-dimensional turbulence from a random vorticity field on a periodic square of side 2 pi.
  • Discrete-velocity Boltzmann gas of Carleman: The Carleman discrete-velocity Boltzmann equation on a periodic line, from a pulse of right movers.
  • Enskog equations: The local Enskog equation, the Boltzmann equation with the contact value of the pair correlation of disks.
  • FHP lattice gas: The FHP-I lattice gas on a periodic triangular lattice, with a dense disc that spreads into the gas.
  • Kuramoto-Sivashinsky: The Kuramoto-Sivashinsky equation u_t = -u u_x - u_xx - u_xxxx, spatiotemporally chaotic.
  • Rayleigh-Bénard: Rayleigh-Bénard convection between free-slip walls, from a small perturbation of the critical mode.
  • Shallow-water dam break: The shallow-water dam break: still water at two depths that a removed dam separated at the middle.
  • Vlasov: The Vlasov-Poisson equation of electrons over a neutralizing background, on a periodic position axis.
  • Wave-number conservation and wave breaking: The kinematic wave equation of deep-water wave trains on a periodic interval of length 2 pi.

Heat

  • Cooling coffee: A cup of coffee whose temperature relaxes to that of the room, T' = -k (T - T_room).
  • Heat diffusion: Heat diffusing on a plate from a hot square in its middle, du/dt = D laplacian(u).
  • Heat on an L-shaped domain: Heat on the L-shaped domain with fixed boundary temperatures, discretised by linear finite elements.

Mechanics

  • Ballistic pendulum: A bullet that sticks in the block of a pendulum at rest, which then swings up.
  • Bouncing ball: A ball that falls under gravity and bounces off the floor, losing speed by a coefficient of restitution.
  • Circular billiard: A particle moving freely inside a circle and reflecting specularly off its wall.
  • Coupled pendulums: Two pendulums whose bobs are joined by a spring, which pass their energy back and forth.
  • Double pendulum: A double pendulum, a pendulum hanging from the bob of another, written as its two Lagrange equations.
  • Driven damped oscillator: A mass on a spring with damping and a periodic force, m x'' = -k x - c x' + F cos(ω t).
  • Gyroscope in a gimbal: A gyroscope in a gimbal: a rotor in an inner ring that turns in an outer ring about a fixed axis.
  • Harmonic oscillator: A particle on a spring, optionally damped.
  • Huygens clocks and pendulums on coupled supports: Pendulum clocks on supports joined by springs, which synchronize through the motion of the supports.
  • Magnetic pendulum: A magnetic bob on a string swinging above magnets on a circle, which comes to rest at one of them.
  • Newton's cradle: Newton's cradle: pendulum balls in a row that pass momentum along by elastic collisions.
  • Parametric pendulum: A pendulum whose suspension point oscillates vertically, θ'' + c θ' + (g / l)(1 + ε cos Ω t) sin θ = 0.
  • Particle in the well k x^2 e^-x: A particle moving without friction in the potential U(x) = k x² e^-x.
  • Pendulum: A pendulum, whose angle follows Newton's second law m l θ'' = -m g sin θ.
  • Pendulum on a sliding cart: A pendulum hanging from a cart that slides without friction along a horizontal track.
  • Projectile: A particle launched under uniform gravity, optionally slowed by linear drag.
  • Rotating balls on rods: Two balls on rods that turn about a vertical axis and conserve their angular momentum.
  • Rotating swing: A rotating swing: chairs on chains hanging from the rods of a stand that turns about a vertical axis.
  • Two-mass spring-damper between walls: Two masses between two walls, tied to the walls and to each other by springs, with dampers and forces.

Nonlinear oscillators

  • Adler equation: The Adler equation Δφ' = Δω + ε sin Δφ for the phase difference of an oscillator and its drive.
  • Duffing: The forced Duffing oscillator x'' = -delta x' - alpha x - beta x^3 + gamma cos(omega t), chaotic here.
  • Dynamical billiards of Sinai and mushroom shapes: A particle moving freely on a billiard table and reflecting specularly off its walls.
  • Forced Van der Pol: The Van der Pol oscillator driven by a periodic force, x'' = μ (1 - x²) x' - x + A cos(ω t).
  • Hénon-Heiles: The Hénon-Heiles model of a star in a galactic potential, whose motion is chaotic at higher energies.
  • Stuart-Landau: The Stuart-Landau oscillator z' = (μ + i ω) z - (1 + i β) |z|² z, the normal form of a Hopf bifurcation.
  • Van der Pol: The Van der Pol oscillator x'' = μ (1 - x²) x' - x, which settles on a limit cycle for μ > 0.

Oceanography

Pattern formation

Seismology

Soft matter

Statistical mechanics

  • Asymmetric exclusion process with open boundaries: The asymmetric simple exclusion process on an open line, in continuous time.
  • Bouchaud trap model: The Bouchaud trap model, walkers that escape from traps of exponentially distributed depths.
  • Contact process: The contact process on a periodic lattice, which survives above a critical infection rate near 1.65.
  • Continuum percolation: Overlapping disks at uniform positions in a square, whose clusters percolate near a filling of 1.13.
  • Diffusion-limited aggregation: Diffusion-limited aggregation on a periodic grid, where random walkers stick to a seed at the center.
  • Discrete master equation: The discrete-time master equation of states on a ring, which relaxes to the Boltzmann distribution.
  • Dissipative zero-range process on a tree: The dissipative zero-range process on a tree, with energy injected at the root and lost at the leaves.
  • Edwards-Anderson spin glass: The Edwards-Anderson spin glass on a periodic square lattice, with quenched random bonds.
  • Ehrenfest urn model of two boxes: The Ehrenfest urn model, balls moved one at a time between two boxes, which relaxes to equal counts.
  • Fully connected Ising model with Glauber dynamics: The fully connected Ising model with Glauber dynamics, ordered below the critical temperature T_c = J.
  • Fully connected branching and annihilation: The fully connected branching and annihilation process, active above kappa = nu until it dies out.
  • Ideal gas: An ideal gas of non-interacting molecules in a reflecting box.
  • Ising: The two-dimensional Ising model on a torus, ordered below the critical temperature 2 / ln(1 + sqrt 2).
  • Ising on a graph: The Ising model on a graph, ordered below a critical temperature set by the degrees of the nodes.
  • Landau mean-field relaxation: The relaxation of a Landau order parameter, to sqrt(a (Tc - T) / b) below Tc and to 0 above it.
  • Lennard-Jones fluid: Lennard-Jones particles in a periodic square box, optionally held at a temperature by a thermostat.
  • Mattis spin glass: The Mattis spin glass on a periodic square lattice, with couplings J_ij = J xi_i xi_j of a pattern xi.
  • Potts: The q-state Potts model on a torus, ordered below the critical temperature 1 / ln(1 + sqrt q).
  • Q2R reversible Ising automaton: The Q2R automaton, a reversible, energy-conserving Ising dynamics on a periodic lattice of even sides.
  • Quantum Heisenberg model: A chain of spins one half with the XXZ Hamiltonian, a field, and optional dephasing.
  • Random energy model: The random energy model, 2^N quenched Gaussian energies of variance N / 2 at a temperature.
  • Sherrington-Kirkpatrick spin glass: The Sherrington-Kirkpatrick spin glass with Glauber dynamics, frozen below the temperature T_c = J.
  • Site percolation: Site percolation probed by a fire lit along the top row, which spans the lattice above p_c = 0.5927.
  • TASEP: The totally asymmetric simple exclusion process with parallel update, on an open line or a ring.
  • Two-phase zone exchange: Independent zones of a two-phase apparatus, each exchanging particles with the rest of the apparatus.
  • XY: The XY model of planar spins on a torus, with vortices that bind below the Kosterlitz-Thouless point.
  • Zero-range process: The zero-range process on a ring, which condenses above the critical density 1 / (b - 2) for b > 2.

Synchronization

Waves