flame_exact


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.

Graphic output of the results is created using gnuplot().

Licensing:

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

Languages:

flame_exact is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and codes:

flame_exact_test

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

gnuplot_test, a C++ code which writes data and command files so that gnuplot() plots the results.

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.

persistence, a C++ code which demonstrates how to initialize, get, or set data stored within a function, using static/persistent/saved/local memory.

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.

References:

  1. Guy Rouleau,
    Guy on Simulink: Why do we need stiff ODE solvers?,
    "https://blogs.mathworks.com/simulink/2012/07/03/why-do-we-need-stiff-ode-solvers/?s_tid=srchtitle",
    Posted 03 July 2012.
  2. Cleve Moler,
    Cleve's Corner: Stiff Differential Equations,
    MATLAB News and Notes,
    May 2003, pages 12-13.
  3. Cleve Moler,
    Cleve's Corner: Ordinary Differential Equations, Stiffness,
    "https://blogs.mathworks.com/cleve/2014/06/09/ordinary-differential-equations-stiffness/?s_tid=srchtitle",
    Posted 09 June 2014.

Source Code:


Last revised on 29 April 2024.