Contents
This is a two-hour course to provide an overview of SOLVCON by doing examples contained in SOLVCON. The course contains:
Follow the direction at http://solvcon.net/guide.html for installation.
Make sure all the dependencies are met. Use:
$ python -c "import sys; print sys.version"
to check the version of your Python (must be 2.6).
Install to your home directory. See http://solvcon.net/guide.html#rebuild-reinstall.
Use:
$ python -c "import solvcon; print solvcon; print solvcon.__version__"
to check your installation. There must be a + in the version number.
Perform unit tests with the two approaches specified at http://solvcon.net/guide.html#unit-test.
Let $SCSRC be the location of the cloned SOLVCON.
What is PYTHONPATH environment variable: http://docs.python.org/tutorial/modules.html#the-module-search-path
Use:
$ PYTHONPATH=$SCSRC python -c "import solvcon; print solvcon"
to demonstrate the effect.
Examples locate at $SCSRC/examples.
Examples are categorized as:
Driver script go in each sub-directory.
Obtain example data by executing:
scons --get-scdata
in $SCSRC.
Install ParaView with:
$ sudo apt-get install paraview
The simplest example: located at $SCSRC/examples/euler/hbnt/.
Objective:
Course:
Run the code:
$ PYTHONPATH=../../.. ./go run
Simulation results are stored in the sub-directory result/. Use ParaView to load the VTK files.
Code organization:
Customization goes into the creation function:
SOLVCON modules to hack:
Located at $SCSRC/examples/euler/obrefl/.
Objective:
Question:
Course:
Located at $SCSRC/examples/elastic/grpv/.
Objective:
Questions:
Course:
Located at $SCSRC/examples/visout/pvtk/.
Objective:
Questions:
Course:
Mailing list at http://groups.google.com/group/solvcon
Where I make announcement and you ask questions.
Blessed repository at https://bitbucket.org/yungyuc/solvcon/wiki/Home
Wiki (collaborating documentation) is hosted here too.
API document at http://solvcon.net/
The up-to-dated API doc is generated nightly.
Issue tracker at https://bitbucket.org/yungyuc/solvcon/issues?status=new&status=open
Hosted with the repository. Report and discuss bug, improvement, and any other issues related to the code.
Buildbot at http://solvcon.net/buildbot/
For monitoring the building and testing of the code.
IRC chat room #solvcon at http://freenode.net/