Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • VisualPDE simulation

    Playing with VisualPDE

    10 December, 2024

    What is as hypnotising as a beautiful goldfish circling its bowl, but can help you understand the way a virus can spread? The answer is one of the beautiful interactive simulations produced by VisualPDE !

    In this podcast we talk to Benjamin Walker from University College London, and to Adam Townsend and Andrew Krause from Durham University, who together created this online solver of partial differential equations.  Such equations describe how quantities change over space and time and therefore used throughout science to describe processes that play out in the real world — from the transmission of airborne viruses to the flow of water during a flood. Ben, Andrew and Adam tell us about their motivation for building VisualPDE and what they can do with it.

    We met Ben, Andrew and Adam through the Mathsci-comm network for people who communicate maths and data science to non-expert audiences. As you can see by playing with the simulation below, VisualPDE  is a great tool for communicating maths research to non-experts, as well as allowing mathematicians to quickly simulate what their mathematical models can tell them.

    Adam is also part of the team behind the brilliant Chalkdust, a magazine for the mathematically curious. Why not order the latest issue for a Christmas gift?

    Play with the simulations!

    Suppose that lots of people are sitting in a sealed room and one of them is infectious. We'll assume that the infectious person is constantly producing virus-laden particles that spread out around them and lose their potency over time. The simulation below shows what this might look like. The colour corresponds to the concentration or amount of the virus in the air.

    With VisualPDE, we're not just limited to watching a simulation: we can interact with it too. Clicking in the room will introduce some viral particles to the air, as if someone with an infection had coughed (coughing is actually a lot more complicated and is the focus of lots of research). Try clicking to see what difference a cough can make.

    Though each cough introduces some virus to the room, it looks like it quickly decays away until we can't even tell it was there. So, does this mean we shouldn't be worried about a cough?

    To explore this further, let's look at the probability (or chance) of getting an infection, which is related but not equal to the virus concentration. Specifically, we'll look at the chance of catching the virus assuming that you'd been in the same location for the duration of the simulation. With VisualPDE, we can do this by switching to the Probability View by pressing and choosing "Probability".

    Now for the goldfish. People don't always stay still in the middle of rooms. Unsurprisingly, the movement of an infected individual can have a big impact on the spread of a virus. The next simulation is set up so that the source of the infection moves around the room, as if they were a waiter going between tables in a restaurant, perhaps. The air conditioner is turned off, so that the air in the room is still.

     

    The Probability View shows the build-up of a ring of likely infections as the infectious person circles the room. A quick look at the Concentration View shows their circular path, leaving a trail of viral particles behind them.

    To find out more about this simulation and how to explore it, go to the VisualPDE site.

    The two scientific papers mentioned in the podcast are:

    • Predicting the spatio-temporal infection risk in indoor spaces using an efficient airborne transmission model by Zechariah Lau, Ian M. Griffiths, Aaron English and Katerina Kaouri

    • Turing Instabilities are Not Enough to Ensure Pattern Formation by Andrew L. Krause, Eamonn A. Gaffney, Thomas Jun Jewell, Václav Klika and Benjamin J. Walker 

     

    • Log in or register to post comments
    You can listen to the podcast using the player above, and you can listen and subscribe to our podcast through Apple Podcasts, Spotify and through most other podcast providers via podbean.

    Read more about...

    differential equation
    epidemiology
    mathematical modelling
    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms