An historical example of simile in science writing:
"if a loadstone [lodestone] be anointed with garlic, or if a diamond be near, it does not attract iron…the errors have been sedulously propagated, and have gained ground (like ill weeds that grow apace) coming down even to our own day…"
William Gilbert
Gilbert, W. (1600/1900). On the Magnet, Magnetick Bodies also, and on the great magnet of the earth; a new physiology, demonstrated by many arguments & experiments (S. P. Thompson, Trans.; Project Gutenberg ed.).
Read about examples of science similes
Many examples of science similes are listed in 'Creative Comparisons: Making Science Familiar through Language. An illustrative catalogue of figurative comparisons and analogies for science concepts'. Free Download.