An example of metaphor in popular science writing:
"The essence of the treatment was to bring about an epileptic fit in the man or woman suffering from psychiatric illness. John knew about convulsive therapy from his days at Beechworth. There, such fits were brought about by injecting a chemical into the patient's bloodstream and waiting until the brain, irritated and prodded by such a foreign intrusion, launched into a full-blown epileptic convulsion."
de Moore, G., & Westmore, A. (2016). Finding Sanity. John Cade, lithium and the taming of bipolar disorder. Allen & Unwin.
Read about metaphor in science
Read about examples of science metaphors
Many examples of science metaphors are listed in 'Creative comparisons: Making science familiar through language. An illustrative catalogue of figurative comparisons and analogies for science concepts'. Free Download.