This package contains libraries for performing various kinds of numerical analysis tasks.
This library contains various numerical solvers for partial differential equations (soon to include hyperbolic solvers, as well).
This struct
uses finite difference methods to solve elliptical PDEs numerically.
For usage, please have a look at some of the examples in the EllipticalPDETests.
This struct
implements the Crank-Nicolson method to solve parabolic PDEs numerically.
For usage, please have a look at some of the examples in the ParabolicPDETests.
Not yet implemented, but this will provide solvers for hyperbolic PDEs.
This library provides utilities for generating various visualizations based on solutions to numerical analysis problems. Currently, this is limited to generating 2D images representing cross-sectional heat maps in any of the x
-, y
-, or z
-directions.
Use the framework to generate heat maps indicating scalar values at various points in space. For example, the below rendering shows what a solution to Laplace's equation on a fine rectangular mesh would look like, subject to certain Dirichlet boundary conditions (in this example, a thin sheet is held at 100ºC on one edge, and 0ºC on the other three; interior temperatures are pictured, with cooler temperatures indicated in blue, gradually increasing towards hotter temperatures in red):
Using the same physical conditions as in the above exampe, we can similarly render a time-dependent (unsteady-state) solution to the Heat Equation for a sequence of discrete time steps (in this case, stitched together into an animated GIF):
This last example illustrates how heat maps can be used to visualize solutions u(x,y,z)
over 3D rectangular regions in space. Laplace's equation is solved on a 15cm x
15cm x
15cm cube, with spatial step size h
= 0.5 cm; each face is held at a different temperature, starting with 0ºC, and stepping upward in 20º-increments, up through 100ºC. Temperatures u
are known at all grid points within the 3D mesh. Each of the following images represent a specific 2D cross-sectional heat map, taken from a specific location along the x-
, y-
, or z-
axis.