AI Tools3 min read

10 ChatGPT Prompts Every Mechanical Engineer Should Know

A
Alex Mercer
·

When ChatGPT first launched, most engineers dismissed it as a toy for writing emails. I was skeptical too. But after months of experimentation, I've found that the right prompts can turn an LLM into a genuinely useful engineering assistant.

The key is specificity. Vague prompts produce vague answers. Engineering prompts need to include context, constraints, and the desired output format.

Prompt 1: GD&T Interpretation

One of the most common tasks in a corporate engineering environment is interpreting geometric dimensioning and tolerancing (GD&T) callouts on legacy drawings.

"You are a senior mechanical engineer with expertise in ASME Y14.5-2018. I have a drawing callout that specifies a position tolerance of 0.25 mm at MMC on a through-hole with a nominal diameter of 10 mm +/- 0.1 mm. Calculate the virtual condition, the resultant condition, and explain the bonus tolerance available."

This prompt consistently returns accurate calculations that I can verify in seconds, saving me from flipping through the standard.

Prompt 2: Material Selection Guidance

When starting a new design, material selection is often a time-consuming research task.

"I need to select a material for a structural bracket that will be exposed to temperatures between -40°C and 85°C, must resist salt spray corrosion, and needs a yield strength above 250 MPa. The bracket will be manufactured via CNC machining in quantities of 500 per year. Suggest three candidate materials with their key properties and trade-offs."

Prompt 3: Python Script Generation

Need a quick script to process test data or convert units? LLMs excel at this.

"Write a Python script that reads a CSV file containing columns 'Time_s', 'Force_N', and 'Displacement_mm'. Calculate the stiffness (N/mm) from the linear region of the force-displacement curve using a least-squares fit. Plot the data with the fitted line and annotate the stiffness value on the chart."

Prompt 4: Failure Mode Brainstorming

Before a formal DFMEA session, I use this prompt to prepare:

"Act as a reliability engineer. I am designing a plastic snap-fit latch for an outdoor electronics enclosure. The latch will be cycled approximately 1,000 times over its lifetime and exposed to UV radiation and temperatures from -20°C to 60°C. List 10 potential failure modes, their likely causes, and suggested design mitigations."

Prompt 5: Technical Writing Assistance

For those of us who would rather be in CAD than in Word:

"Rewrite the following paragraph for a formal engineering design review document. The tone should be professional and concise. Ensure all claims are qualified with data references. [Paste your draft paragraph]."

The Remaining Five

The other five prompts I use daily cover tolerance stack-up analysis, fastener selection, thermal management calculations, design-for-manufacturing feedback, and generating test plans. Each follows the same principle: provide the LLM with specific context, clear constraints, and a defined output format.

A Word of Caution

LLMs are tools, not oracles. Every output must be verified by a qualified engineer. I treat LLM-generated calculations the same way I treat a junior engineer's work: I review it thoroughly before it goes into any official document.

The mechanical advantage here isn't blind trust in AI. It's the speed of iteration.

ChatGPTPromptsProductivityGD&T