A discrete packing model of granular material confined in a vertical column