c_exact


c_exact, a C code which evaluates exact solutions to a few selected examples of ordinary differential equations (ODE) and partial differential equations (PDE).

These exact solutions can be used to test out the correctness of a solution algorithm.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

c_exact is available in a C version and a MATLAB version and an Octave version.

Related Data and codes:

burgers_exact, a C code which evaluates exact solutions of time-dependent 1D viscous Burgers equation.

fisher_exact, a C code which returns an exact solution of the Kolmogorov Petrovsky Piskonov Fisher partial differential equation (PDE) ut=uxx+u*(1-u).

flame_exact, a C code which returns the exact solution of an ordinary differential equation (ODE) which models the growth of a ball of flame in a combustion process. The exact solution is defined in terms of the Lambert W function.

kdv_exact, a C code which evaluates an exact solution of the Korteweg-deVries (KdV) partial differential equation (PDE).

navier_stokes_2d_exact, a C code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 2D.

navier_stokes_3d_exact, a C code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 3D.

sine_gordon_exact, a C code which returns an exact solution of the Sine-Gordon equation, a partial differential equation (PDE) of the form uxy=sin(u).

spiral_exact, a C code which computes a 2D velocity vector field that is an exact solution of the continuity equation.

stokes_2d_exact, a C code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.


Last revised on 11 May 2024.