clipped from: www.wikihow.com   
Steps

Plan the right meal for the trip.

Cooking on your car's engine is essentially the same as braising food, and cooking times are generally a bit longer than in a conventional oven and shorter than in a slow cooker. If you're taking a long road trip, you can cook just about anything--roasts, complete meals with potato side dishes, etc.--but even a quick commute affords you enough time to heat up a pre-cooked breakfast sandwich, for example, or make some hot dogs. You can find carbecue recipes by searching for "engine block cooking," for example, or you can try to find a copy of Manifold Destiny, the definitive book on the subject.

Prepare the food as you would if you were going to put it in your oven.

Wrap the food in aluminum foil.

Find a suitable cooking surface on your engine.

Check the height of your cooking spot.

Make sure your food will fit snugly in the cooking spot.

Secure the food package on the engine.

Drive until the food is done.

Remove the food carefully and enjoy.