there are several games that allow units to flee a battle without resorting to autocalc. if you can get your units far enough away from enemy units, and not take any damage/ill effects, those units should be able to take no damage when you flee from battle.

P.S. also if there are negative things for losing a battle, you shouldn't have considered to have lost it if none of your units die.