I have conducted research using vermicompost and animal waste compost in vegetable production. Since B-Hoppy provided a publication that gives the carbon to nitrogen ratio of the spent grain, I can give a little information as to what is going on and maybe a couple pointers.
Microbes utilize carbon for energy and nitrogen for growth (DNA). Therefore, a proper carbon to nitrogen (C:N) ratio is needed for composting. Nitrogen becomes unavailable to plants as it is absorbed by decomposers. The C:N range at which available and unavailable nitrogen tend to intersect are 20:1. Ratios lower than 20:1 net available nitrogen while ratios higher than 20:1 net a loss of nitrogen, generally speaking of course.
With C:N ratios of spent grain ranging from 12:1 to 17:1, an overall release of nitrogen can be expected. Personally, I would balance the grain out with 'brown materials' (shredded newspaper, leaves) and produce a balanced, well aerated compost to amend the soil and give the plants a little supplemental fertilizer as some of the nutrients will still be bound up by the microbes.
The publication said that little amounts of phosphorus and potassium are supplied by spent grain, at least for the first few years. Picking up some balanced fertilizer like 12-12-12, or Miracle Grow for tomatoes (18-18-21) can quickly supply the plant with nitrogen, phosphorus, and potassium.
Smells coming from compost piles are generally due to anaerobic conditions created by too much water. Fermentation reactions occur in anaerobic conditions (as we all know here) and methane gas is formed by certain microorganisms. Remember to keep your piles moist but not wet, and keep them well aerated by turning them and utilizing materials that will provide adequate air spaces.
Here are some general C:N ratios of common products:
spruce sawdust: 600:1
hardwood sawdust: 400:1
newspaper: 120:1
wheat straw: 80:1
bluegrass - fertilized: 31:1
finished household compost: 20:1
alfalfa hay: 13:1
hairy vetch cover crop: 11:1
Most of this came from The Nature and Properties of Soil, 13th Edition, by Brady and Weil (2002).
If you have any questions ask away or feel free to PM me.