cantera/apps/bvp
Ray Speth a6f939c2fe Applied consistent formatting to all C++ code
Done using astyle:
astyle --style=kr --add-brackets --indent=spaces=4 --indent-col1-comments --unpad-paren --pad-header --align-pointer=type --lineend=linux
2012-02-10 17:24:00 +00:00
..
AxiStagnBVP.cpp Applied consistent formatting to all C++ code 2012-02-10 17:24:00 +00:00
AxiStagnBVP.h Applied consistent formatting to all C++ code 2012-02-10 17:24:00 +00:00
blasius.cpp Applied consistent formatting to all C++ code 2012-02-10 17:24:00 +00:00
BoundaryValueProblem.h Applied consistent formatting to all C++ code 2012-02-10 17:24:00 +00:00
README initial import 2006-10-10 16:02:57 +00:00
stagnation.cpp Applied consistent formatting to all C++ code 2012-02-10 17:24:00 +00:00

This example program solves the Blasius boundary value problem for the
velocity profile of a laminar boundary layer over a flat plate. It
uses class BoundaryValueProblem, which provides a simplified interface
to the boundary value problem capabilities of Cantera.

To build this example, type "ctnew" to generate a demo c++ program and
a makefile (demo.mak) that is correctly configured for your Cantera
installation. It it is not on your path, you can find the ctnew script
in the "bin" directory of your Cantera installation directory. 

First make sure the Cantera demo works by typing "make -f demo.mak",
then "./demo". Assuming this works, now edit demo.mak and change the
line "OBJS = demo.o" to "OBJS = blasius.o". You can optionally change
the program name too. Now when you rebuild the executable and run it,
it will solve the blasius boundary layer problem.