That's can be a pretty involved problem, depending on how complicated the geometry is. You should be able to do it using some standard equations, but anything complicated will need CFD. The easiest thing to calculate is the outlet air temperature: Air temperature rise = (heat added to air)/ [ (volumetric flow rate) x (air density) x (specific heat of air)
One of the better information sources I've seen for equations dealing with heatsink cooling is on R-Theta's web page (
go to product info, then Extrusion, then download the first part of the catalog.) A lot of equations in there, but if you go through all the technical stuff it will tell you what you need to know.
Some tips: the fan rating's quoted by fan manufacturers is for the fan working in open air, with no restrictions. You are going to have to look at the pressure drop of your system (which depends on the heatsink geometry, and where the air enters and exits the system) to figure out actual fan speed based on fan pressure vs CFM charts.
For a 1st cut, ignore the effects of radiation and natural convection (which are usually negligible if you have a forced flow from a fan in the temperature ranges seen by electronics.) Also, you will need to assume some type of thermal resistance between your electronic components and the heatsink, depending on how you are physically connecting them.
Hope this helps - there are some simpler approximation methods out there then using the full equations, but I've not had much success with those (especially when trying to estimate pressure drops, and thus fan performance). If you have some specific questions, feel free to post them and we can try to help you out.