Experimentally validated numerical model of thermal and flow processes within the permanent magnet brushless direct current motor