...Both are hardcoded in the code and must be changed if you want to use it otherwise.
Now it can be used only 1 bar and 1 piston, for future it will be changed.
Video of textcase: http://www.youtube.com/watch?v=TLYVSWkhXBI
Software is tested and runs stable with up two 5000 SPH particles.
Known Problems:
If there are more than 15000-20000 SPH particles, after some simulationssteps the calculation slows down and gains all memory. Currently I have no idea why!