I'm trying to figure out the theoretical calculations for a Stirling Engine system so I can determine optimal piston size, optimal piston displacement and number of pistons. I want to calculate which configuration has the most amount to torque to turn something else, and the highest amount of RPM's.
What I have managed to achieve:
(1) Internal energy = Thermal difference + Work
$$ΔU = Q + W$$
(2) Work = Rotational Kinetic Energy
$$W = \dfrac{1}{2}Iw^2$$ (3) Assuming that Inertia is standard wheel
$$I = \dfrac{1}{2}Mr^2$$
(4) Equation I have so far
$$\dfrac{1}{4}Mr^2w^2 = ΔU - Q$$
I am unsure on how I can relate the equation to the pistons. According to HyperPhysics
Internal energy is defined as the energy associated with the random, disordered motion of molecules.
That sounds like pressure to me, and I know that:
Pressure = Force / Area
But I think I need a better way to express the physics of pistons.
The Q component of internal energy is also difficult for me to find, because a heat source (like a candle flame), will be creating a heat differential on the piston. This heat differential in Joules, will be a little difficult to find as well.