Free (in all senses of the word) and open source software for modelling atmospheric plasmas using finite elements. This application is built on top of the MOOSE framework, which can be found at http://mooseframework.org
The best documentation so far for this project is in Chapter 3 of the thesis located at
doc/Lindsay_thesis_coupling_of_plasmas_and_liquids.pdf. Some notes on
understanding existing chemistry kernels and/or implementing new ones in
Zapdos/MOOSE are given in doc/Chemical_Reactions.ipynb.
Instructions for installing Zapdos:
- Follow the getting started instructions for setting up the MOOSE environment. Note that Zapdos can be used with MOOSE installed in its own directory, or as a submodule within Zapdos. The latter option allows for a version of MOOSE that is guaranteed to work with the current version of Zapdos. If using MOOSE as a submodule is desired, proceed to Step 3, otherwise continue to Step 2.
- Using MOOSE in its own directory: After installing the MOOSE environment execute the following commands in
the directory above your MOOSE directory. E.g. if MOOSE is in
~/projects/moose, then these commands should be executed from the~/projectsdirectorygit clone https://github.com/shannon-lab/zapdoscd zapdosgit submodule init squirrel cranegit submodule update squirrel cranemake -jnwhere "n" is the number of logical processors on your computer
- Using MOOSE as a submodule: After installing the MOOSE environment execute the following commands in
the directory in which you are installing Zapdos (we recommend
~/projects/to stay consistent with MOOSE conventions)git clone https://github.com/shannon-lab/zapdoscd zapdosgit submodule initgit submodule updatecd moosescripts/update_and_rebuild_libmesh.shcd testmake -jnwhere "n" is the number of logical processors on your computerrun_tests -jn- If all tests pass,
cd ../../to get back to thezapdosdirectory. make -jn
- To make sure the installation is working correctly, execute
./run_tests -jn, substituting 'n' with your number of processors. All tests should pass with 'OK' - If everything checks out, you should now be able to run input files using the
zapdos-optexecutable in the~/projects/zapdosdirectory. Input files demonstrating the capabilities of zapdos can be found in the sub-directories of~/projects/zapdos/tests. If you want to start modifying an input file, a good one to choose ismean_en.iin~/projects/zapdos/problems. I typically run an input file likemean_en.iusing the following command: cd ~/projects/zapdos/problems; ../zapdos-opt -i mean_en.i --color off 2>&1 | tee log.txt- The above command will parse information of the iterative solution process to both the console and to the log file
log.txt - The above command will also create an output file named
mean_en_out.econtaining all the solution variable values. These results are best viewed using a visualization tool like Paraview, downloadable here - Important note: Many of the existing input files in the
problemsdirectory requirefileName.msh. In order to create the requisite.mshfile, you must run the commandgmsh -d fileName.geowheredis the dimension of the mesh andfileName.geois the source file for the mesh.gmshcan be installed on Ubuntu usingsudo apt-get install gmshor it can be downloaded here. Some of the*.mshfiles can also be found in thetestsdirectory. - In general the
problemsdirectory is meant to be the user work-space. S/he should feel welcome to modify any files in that directory. Thetestsdirectory, on the other hand, is meant to be a showcase and provide examples of the capabilities already established in zapdos. As zapdos is developed (by you hopefully!) and more capabilities are added, the tests directory will continue to grow. If you feel that you have added important new functionality, please create a test for it, such that any future changes will not break that capability.
Please do not hesitate to contact the zapdos google-group list if you have any questions about using or contributing to this software.
Email: zapdos-users@googlegroups.com
Google group: https://groups.google.com/forum/#!forum/zapdos-users