Optical pattern simulations for closed cylinders of liquid crystals