This repository contains the code and manuscript for research done on Comparison of SPH schemes for solid mechanics.
This requires pysph to be setup along with automan. See the
requirements.txt
. To setup perform the following:
-
Setup a suitable Python distribution, using edm or conda or a virtualenv.
-
Clone this repository:
$ git clone https://gitlab.com/pypr/rfc.git
- Run the following from your Python environment:
$ cd rfc
$ pip install -r requirements.txt
The paper and the results are all automated using the automan package which should already be installed as part of the above installation. This will perform all the required simulations (this can take a while) and also generate all the plots for the manuscript.
To use the automation code, do the following::
$ python automate.py
# or
$ ./automate.py
By default the simulation outputs are in the outputs
directory and the
final plots for the paper are in manuscript/figures
.
The manuscript is written with LaTeX and if you have that installed you may do the following:
$ cd manuscript
$ pdflatex paper.tex
$ bibtex paper
$ pdflatex paper.tex
$ pdflatex paper.tex