SIMULATING THE COOLING FLOW OF COOL-CORE CLUSTERS