Quick start
VisualPDE is a web-based set of tools for solving partial differential equations (PDEs) via an interactive, easy-to-use simulation. To get started, try playing with some of the linear examples, or read on for some quick tips for using the solver.
Interacting with the simulation
Clicking/pressing on the simulation draws values right onto the domain. You can customise exactly what this does under → Brush For example, the default settings in the heat equation example allow you to paint ‘heat’ of value 1 onto the domain, which acts like an initial condition for the rest of the simulation. If you have another mouse button to press, you can use it to remove ‘heat’.
The equations panel
Pressing
opens up the equations panel.Here you can:
- See the equation being simulated, here
. - Set the named functions in the equations, here
and , under Definitions. These can be functions of any of the unknowns, space, and time (here , , , and ), and of any parameters that will be defined further down the panel. - Set the value of any extra parameters.
- Set the boundary conditions.
- Set the initial conditions.
- Set the number and type of equations to be solved.
Domain shape
The default domain for solving PDEs is a 2D rectangle,
You can force the domain to be a square,
Boundary conditions
The following boundary conditions are available to allow you to set the value of the function, or the value of its derivative, along the boundary
You can swap between boundary conditions by choosing and selecting from the list for each variable. → Boundary conditions
Initial conditions
You can specify the values to which the unknowns (
Changing the equations
The simplest system VisualPDE can solve is a single PDE,
where
The most complicated type is a coupled system of PDEs in four unknowns,
where
- You can change the number of unknowns by choosing → Advanced options → Num. species
- In systems of multiple unknowns, you can include terms representing cross-diffusion (e.g.
, ) by toggling → Advanced options → Cross diffusion - In systems of multiple unknowns, you can choose between a differential or algebraic equation for some of the species (e.g. ‘
’ or ‘ ’) by toggling → Advanced options → Algebraic w (or v or q)
More VisualPDE
For a comprehensive list of all the options that you can set in VisualPDE, check out the Advanced documentation, or discover what VisualPDE can solve in our brief summary.