I was wondering if anyone with knowledge could tell me about relations between the military and aid and development agencies and NGOs on the ground in Iraq and Afghanistan.

Here, btw. is a link to the UN Department of Peacekeeping Operations lessons learned website, interesting stuff on disarmament, working with NGOs and rule-of-law. Worth a look: