I hope you will let me explain what I was meaning when I made my statements. It's not the hydrogen burning but the double ended cylinders.
Two cylinders of the same size is not a way that works. Look at any two stage compressor. The first stage is larger diameter, it takes atmosphere and compresses it to the first point, say 10:1. Now if you transfer that to a second cylinder that is the same size the air will expand in that cylinder to fill the space, then again compress to 10:1. The first compression only heated the air by compression. If that first cylinder compresses its air into a cylinder that is smaller and just big enough to accept it, it will then be compressed further.
Secondly why even use a spark when you are in the realm of diesel/compression ignition?
And I meant no disrespect to you in my first post. From the way it sounded to me this was going to be your first machining job, and didn't want it to be a bad experience for you.