An example of simile in technical writing:
"For example, in an acutely ill patient, it may be necessary to order many tests simultaneously in the hope that an answer will be found to speed diagnosis and therapy. A linear, ordered, sequential approach to test ordering may be a fine way to approach a stable outpatient with a mild anemia versus a patient in the intensive care unit whose hematocrit is falling by five points a day, whose caregivers require the timely acquisition of as much data as possible using more of a 'shotgun' approach."
Quesenberry, Matthew, Huang, Alina & Schiffman, Fred J. (2018) The Clinical Approach to the Patient with Anemia, in Edward J. Benz, Nancy Berliner, & Fred J. Schiffman, Anemia. Pathophysiology, Diagnosis, and Management, Cambridge University Press, 19-22.
Read about examples of science similes