<?php if($_product->getTypeId() == "configurable"):
$products = $_product->getTypeInstance()->getUsedProductIds();
foreach($products as $p):
$productSimple = Mage::getModel('catalog/product')->load($p);
endforeach;
endif;
?>