A fast simulation method for damaged ship dynamics