Adding function to write input for JSR experiment

Only works for steady state systems in which the volume is known.