Computer-Aided Design & Manufacturing (CAD/CAM)

Chapter 7
Engineering Analysis and Design Optimization

Bachelors Program in Mechnical Engineering
Computer-Aided Design & Manufacturing (CAD/CAM)   •   Bachelor

Engineering Analysis and Design Optimization

Introduction and Context

Computer-aided design (CAD) is no longer limited to producing geometric drawings. In modern mechanical engineering, the digital model is also the basis for predicting structural performance, motion, temperature, manufacturability, cost, and product life. Engineering analysis connects geometry and material data to physical behavior, while design optimization uses analysis results to improve a design subject to technical and practical constraints.

A typical digital engineering workflow proceeds from requirements to concept geometry, detailed CAD, analysis, design modification, verification, manufacture, testing, and feedback. The important principle is that analysis is not a substitute for engineering judgment. A simulation is a mathematical representation of reality, and its usefulness depends on appropriate assumptions, accurate inputs, suitable numerical methods, and validation against evidence.

This chapter examines the integration of CAD with finite element analysis (FEA), kinematic analysis, thermal analysis, computational fluid dynamics (CFD), sensitivity studies, optimization, verification and validation, and design-for-X evaluation.

Learning Objectives

By the end of this chapter, the reader should be able to:

  1. Explain how CAD geometry is integrated with engineering analysis tools.
  2. Formulate basic structural, kinematic, thermal, and computational models.
  3. Distinguish verification from validation and identify common sources of simulation error.
  4. Perform basic sensitivity and design-optimization studies.
  5. Evaluate designs using design-for-manufacture, assembly, reliability, sustainability, and cost criteria.
  6. Communicate assumptions, results, uncertainty, and engineering decisions professionally.

1. The Digital Engineering Model

A CAD model contains geometry, but an analysis model requires additional information:

  • material properties such as Young’s modulus, density, yield strength, thermal conductivity, and specific heat;
  • loads, constraints, contacts, heat sources, or motion drivers;
  • idealizations such as symmetry, beams, shells, rigid bodies, or simplified joints;
  • mesh or discretization parameters;
  • operating environments and failure criteria; and
  • measurable performance objectives.

The CAD model and analysis model are related but are not always identical. Small fillets, embossed lettering, cosmetic holes, and other details may be removed if they do not affect the physical response. Conversely, a small notch or contact surface may be essential because it controls stress or motion. Simplification must therefore be justified physically rather than performed merely to reduce computation time.

Integrated CAD analysis and optimization workflow Requirementsloads • limits • targets CAD modelgeometry • materials AnalysisFEA • motion • thermal Decisionverify • optimize design iteration informed by results Closed-loop digital engineering
Integrated CAD analysis and optimization workflow
Figure: Integrated CAD analysis and optimization workflow

Figure: A closed-loop workflow linking CAD, analysis, verification, and design improvement.

2. Structural Analysis with the Finite Element Method

2.1 Fundamental idea

The finite element method divides a continuous body into a finite number of elements connected at nodes. Within each element, the unknown displacement field is approximated using interpolation or shape functions. The governing differential equations are converted into algebraic equations.

For a linear static structural model, the assembled system is commonly written as:

[K]{u} = {F}

where [K] is the global stiffness matrix, {u} is the vector of unknown nodal displacements, and {F} is the vector of applied nodal forces. The equation assumes small deformation, linear elastic material behavior, fixed or properly defined boundary conditions, and loads that do not change with deformation. Units must be consistent; for example, using newtons and millimetres requires stiffness units compatible with those choices.

Once displacements are obtained, strains are calculated from displacement gradients and stresses from the constitutive relation. For a one-dimensional linear elastic member:

σ = Eε

where σ is normal stress in pascals, E is Young’s modulus in pascals, and ε is dimensionless normal strain. This relation is valid only within the elastic, small-strain range of an isotropic material. More complex materials require an appropriate constitutive law.

2.2 Boundary conditions, loads, and contacts

Boundary conditions are among the largest sources of error. A real bolted joint is not necessarily equivalent to a fully fixed face, and a bearing load is not always represented correctly by a point force. Over-constraining a model can create artificial stresses and prevent realistic deformation. Under-constraining produces rigid-body motion or a mathematically singular stiffness matrix.

Contact models may be bonded, frictionless, rough, or frictional. The choice affects load transfer, separation, sliding, and stress distribution. Contact problems are usually nonlinear because the contact status changes during loading.

2.3 Mesh quality and convergence

A mesh must represent geometry and response gradients. Finer elements are needed near holes, fillets, contacts, and load application regions. A single result from one mesh is not evidence of numerical accuracy. A mesh-convergence study compares a result of interest, such as displacement or averaged stress, as element size decreases.

For a quantity Q, a practical relative change between two meshes may be expressed as:

δQ = |Qfine − Qcoarse| / |Qfine| × 100%

Here Q_fine and Q_coarse are results from successively refined meshes. The formula is a decision metric rather than a universal proof of convergence. Local singular stresses at sharp re-entrant corners may continue increasing as the mesh is refined; in such cases, displacement, structural stress, or a physically averaged stress may be more meaningful.

2.4 Strength and safety factors

For a ductile material under a uniaxial allowable-stress approach, a simple factor of safety is:

n = Sy / σeq

where n is the factor of safety, S_y is yield strength, and σ_eq is an equivalent stress, often von Mises stress. This approach assumes that the selected failure criterion, material data, loading condition, and environment are appropriate. Fatigue, creep, fracture, buckling, corrosion, and impact may govern even when static yielding does not occur.

3. Kinematic and Dynamic Analysis

Kinematic analysis studies motion without initially considering forces. A CAD assembly can represent rigid links, joints, prescribed motions, and interference. Typical outputs include position, velocity, acceleration, range of motion, and interference conditions.

For a point moving along a straight line, velocity and acceleration are:

v = ds/dt
a = dv/dt = d²s/dt²

where s is displacement, v is velocity, and a is acceleration. In rotational motion, angular velocity is ω = dθ/dt and angular acceleration is α = dω/dt, where θ is angular position.

Dynamic analysis adds mass, inertia, damping, and applied forces. A standard linear multi-degree-of-freedom model is:

[M]{ü} + [C]{u̇} + [K]{u} = {F(t)}

where [M] is the mass matrix, [C] the damping matrix, [K] the stiffness matrix, {u} the displacement vector, and {F(t)} the time-dependent force vector. The model assumes linear behavior unless nonlinear terms are included.

Kinematic simulation is useful for checking assembly feasibility and transmission ratios, but it does not automatically prove that components have adequate strength. A mechanism may move correctly while experiencing excessive acceleration, joint force, vibration, or wear.

4. Thermal and Computational Analysis

4.1 Thermal analysis

Heat transfer occurs by conduction, convection, and radiation. For steady one-dimensional conduction through a plane wall, Fourier’s law is:

q = −kA dT/dx

where q is heat-transfer rate in watts, k is thermal conductivity in W/(m·K), A is area in m², and dT/dx is the temperature gradient in K/m. The negative sign indicates heat flows down the temperature gradient.

For a simplified lumped thermal resistance model:

Q̇ = ΔT / Rth

where Q̇ is heat-transfer rate, ΔT is temperature difference, and R_th is thermal resistance in K/W. This model is appropriate when the thermal path can be represented by known resistances and temperature variation within each lump is acceptably small.

Temperature fields can create thermal expansion. For unconstrained, uniform, isotropic expansion:

εth = αΔT

where ε_th is thermal strain, α is the coefficient of linear thermal expansion in K⁻¹, and ΔT is temperature change in kelvins. If expansion is restrained, thermal stresses develop. Coupled thermo-mechanical analysis is required when temperature affects stiffness, strength, deformation, or contact.

4.2 Computational fluid dynamics

CFD discretizes conservation equations for mass, momentum, and energy. For an incompressible fluid, conservation of mass is represented by:

∇·v = 0

where v is the velocity vector. The Navier–Stokes equations also depend on density, viscosity, pressure, body forces, turbulence modeling, and boundary conditions. CFD results are sensitive to mesh quality, near-wall treatment, inlet and outlet specifications, and convergence criteria.

CFD is valuable for pressure drop, cooling, mixing, aerodynamic forces, and flow distribution. It should not be used without checking whether the selected model captures the relevant physics, such as compressibility, transient behavior, turbulence, heat transfer, or multiphase flow.

5. Verification, Validation, and Uncertainty

Verification asks, “Was the model solved correctly?” It includes checking units, equations, element formulation, solver convergence, mesh quality, residuals, and implementation. Hand calculations, benchmark problems, and conservation checks support verification.

Validation asks, “Does the model represent the real system adequately for its intended use?” It requires comparison with experiments, trusted reference data, or field measurements. A model can be numerically converged but physically wrong if its loads, constraints, material properties, or failure criteria are inappropriate.

Important quality checks include:

  • equilibrium of applied and reaction forces;
  • plausible deformation shape and stress distribution;
  • mesh and time-step sensitivity;
  • comparison with analytical limiting cases;
  • sensitivity to uncertain inputs;
  • experimental correlation where risk justifies it; and
  • documented model version, solver settings, and assumptions.

Uncertainty may arise from material variation, manufacturing tolerances, unknown loads, measurement error, geometry simplification, and model-form error. Results should therefore not be reported with unjustified precision. A displacement of 2.347891 mm is not meaningful if the load is known only to approximately 5%.

6. Sensitivity Studies and Design Optimization

6.1 Sensitivity

A sensitivity study investigates how outputs change when inputs vary. If y is a performance measure and x is a design variable, the local sensitivity is approximated by:

Sy,x ≈ [y(x + Δx) − y(x)] / Δx

The units are units of y per unit of x. A normalized, dimensionless sensitivity is often more useful:

S^*y,x ≈ [Δy/y] / [Δx/x]

Sensitivity does not by itself identify the best design. It identifies influential variables and helps prioritize measurement, refinement, or optimization effort.

6.2 Optimization formulation

A general engineering optimization problem can be expressed as:

minimize f(x)
subject to gi(x) ≤ 0, i = 1, …, m
hj(x) = 0, j = 1, …, p
xL ≤ x ≤ xU

Here x is the vector of design variables, f(x) is the objective function, g_i are inequality constraints, h_j are equality constraints, and x_L and x_U are lower and upper bounds. Examples include minimizing mass, maximizing stiffness, reducing cost, or minimizing temperature while requiring stress, displacement, frequency, manufacturability, and safety limits to be satisfied.

Common optimization approaches include:

  • Parametric optimization: changes dimensions such as thickness, diameter, or angle.
  • Topology optimization: redistributes material within a design space according to loads and constraints.
  • Shape optimization: modifies boundaries while retaining the overall concept.
  • Size optimization: adjusts member sizes or section properties.
  • Design of experiments: samples combinations systematically to identify effects and interactions.
  • Response-surface methods: approximate expensive analysis results with a fitted surrogate model.

An optimum is meaningful only relative to its objective, constraints, variable bounds, and model assumptions. A mathematically light design may be impossible to cast, inspect, repair, or certify.

6.3 Multiobjective decisions

Engineering design commonly involves conflicting objectives. Lower mass may reduce stiffness; lower cost may reduce durability; increased cooling may require greater pumping power. A Pareto-optimal design cannot improve one objective without worsening at least one other objective within the considered design space. Engineers often select a compromise using weighted objectives, constraint priorities, lifecycle cost, and stakeholder requirements.

7. Design-for-X Evaluation

Design-for-X (DfX) evaluates a design according to a selected lifecycle objective. Important forms include:

DfX perspectiveQuestions asked
Design for manufactureCan the part be produced with available processes, tolerances, and tooling?
Design for assemblyCan it be assembled quickly, safely, and with minimal error?
Design for serviceCan inspection, repair, replacement, and lubrication be performed?
Design for reliabilityWill it meet its required function over the intended life?
Design for costWhat are material, processing, tooling, labor, energy, and warranty costs?
Design for sustainabilityCan material, energy, emissions, waste, and end-of-life impacts be reduced?
Design for safetyAre hazards controlled through inherently safe design and protective measures?

DfX should be applied early, when design changes are inexpensive. Examples include reducing the number of fasteners, selecting standard components, avoiding inaccessible welds, specifying realistic tolerances, designing for one-way assembly, and separating incompatible materials to reduce corrosion.

Tolerance analysis is especially important because nominal CAD geometry does not represent every manufactured part. A simple worst-case linear stack-up is:

Ttotal = ∑|Ti|

where T_i are individual dimensional tolerances. This conservative relation assumes all deviations combine in the direction that maximizes the assembly variation. Statistical methods may predict a smaller variation, but they require justified independence and distribution assumptions and do not eliminate the need to consider worst-case functional limits.

8. Worked Example: Optimizing a Lightweight Cantilever Bracket

Consider an illustrative rectangular cantilever bracket of length L = 0.20 m, width b = 0.04 m, and thickness t = 0.010 m. It carries a downward tip load F = 1000 N. Assume a homogeneous, isotropic, linear-elastic material with E = 70 GPa. The model is a preliminary screening calculation, not a certification analysis; the connection, local stress concentration, shear deformation, and fatigue are not fully represented.

For a rectangular section bending about the appropriate axis:

I = bt³/12

The second moment of area is:

I = (0.04 × 0.010³)/12 = 3.33 × 10⁻⁹ m⁴.

For a cantilever with a tip load, the Euler–Bernoulli tip deflection is:

δ = FL³/(3EI)

Substitution gives:

δ = (1000 × 0.20³)/(3 × 70 × 10⁹ × 3.33 × 10⁻⁹) ≈ 0.00571 m = 5.71 mm.

The fixed-end bending moment is M = FL = 200 N·m. The maximum nominal bending stress is:

σmax = Mc/I

where c = t/2 = 0.005 m. Thus:

σ_max = (200 × 0.005)/(3.33 × 10⁻⁹) ≈ 300 MPa.

Suppose the allowable design stress is 160 MPa and the allowable deflection is 3 mm. The preliminary design fails both requirements. Increasing width alone improves both stiffness and stress performance linearly, whereas increasing thickness has a stronger effect: I varies with t³, while bending stress varies approximately with 1/t². However, thickness may be limited by bending, casting, welding, packaging, or mass requirements.

If thickness is increased to 0.012 m while width remains 0.04 m, the new second moment is:

I_new = (0.04 × 0.012³)/12 = 5.76 × 10⁻⁹ m⁴.

The predicted deflection is approximately 3.30 mm, and nominal bending stress is approximately 173.6 MPa. This improves the design but does not satisfy either stated limit. A subsequent optimization could vary thickness and width while imposing δ ≤ 3 mm, σ_max ≤ 160 MPa, a mass limit, and manufacturing bounds. FEA would then be used to examine fillets, bolt holes, local contact, and realistic boundary conditions.

The example demonstrates why a CAD optimizer should not blindly minimize volume. The feasible design must satisfy all functional, structural, manufacturing, and lifecycle constraints.

9. Applied Case: Illustrative Pump-Mount Redesign

Background

A fictional industrial equipment manufacturer experiences cracking in a cast pump-mount bracket. The bracket is modeled in CAD and connected to a motor, pump casing, and baseplate. Field loading includes motor vibration, pipe-induced forces, thermal gradients, and assembly preload.

Problem

The original design passes a simplified static FEA, but cracks appear near a sharp internal corner after several months. The analysis used a fully fixed mounting face and a single static load. It did not include fatigue, contact, thermal expansion, or the local geometry of the corner.

Analysis and approach

The engineering team first verifies the CAD model, material specification, and measured dimensions. They replace the sharp corner with a controlled fillet, model bolt pretension and contact, and use measured vibration loads. A modal analysis identifies a natural frequency close to an operating excitation, so the support geometry is modified to increase stiffness. A transient or frequency-response study is then used for the dominant vibration range. Thermal expansion from the pump casing is included as a coupled load case.

A mesh-convergence study is performed around the fillet, while stress results at the theoretical sharp corner are not treated as physically meaningful singular values. Fatigue assessment uses the measured stress range and the material’s appropriate S–N data. Manufacturing engineers review casting thickness, draft, fillet radius, inspection access, and machining requirements.

Outcome

The redesigned bracket has a larger fillet, a local rib, improved load transfer, and a mounting interface that accommodates thermal movement. Its mass increases slightly, but predicted fatigue life improves substantially and the first natural frequency moves away from the dominant excitation. Prototype testing confirms the predicted deformation trend and eliminates cracking in the qualification test.

Learning points

  1. Static strength alone did not describe the failure mechanism.
  2. Boundary conditions and excitation data were more important than simply refining the mesh.
  3. Geometry, analysis, manufacturing, and testing had to be developed as one system.
  4. A small mass increase was acceptable because reliability and lifecycle cost improved.
  5. Validation through physical testing was essential before release.

10. Professional Practice, Ethics, and Contemporary Tools

Engineering analysis affects safety, cost, and public welfare. Analysts must report assumptions, limitations, units, mesh information, load cases, material sources, and uncertainty. Results must not be altered to obtain a desired conclusion. If a model is outside its validated range, that limitation must be communicated clearly.

Simulation software increasingly includes cloud computing, automated meshing, generative design, machine-learning surrogates, and digital twins. These tools can reduce design-cycle time, but automation can also hide inappropriate constraints, poor mesh quality, or invalid material data. AI-generated geometry or recommendations should be treated as candidate solutions requiring engineering verification, intellectual-property review, cybersecurity controls, and human approval.

Best practices include:

  • define requirements and acceptance criteria before optimization;
  • use consistent units and controlled material databases;
  • retain traceability between CAD revisions and analysis files;
  • simplify geometry only with documented justification;
  • test mesh, time-step, and solver convergence;
  • compare with hand calculations and experiments;
  • investigate sensitivities rather than reporting only one result;
  • review manufacturability, serviceability, safety, and sustainability; and
  • archive assumptions, input files, solver versions, and decisions.

Challenges and Limitations

Integrated CAD/CAE workflows face several limitations. Geometry exchange can introduce gaps, sliver surfaces, or mismatched topology. Nonlinear contact, plasticity, large deformation, fracture, turbulence, and transient multiphysics may require substantial expertise and computation. Optimization can exploit weaknesses in the model, creating designs that satisfy numerical constraints but fail in manufacture or service. Correlation data may be scarce, expensive, or unavailable. Finally, no simulation eliminates uncertainty; it only provides a structured prediction based on stated assumptions.

Chapter Summary

Engineering analysis extends CAD from geometric representation to prediction of structural, motion, thermal, and flow behavior. FEA converts a continuous problem into a discrete system and requires physically appropriate materials, loads, constraints, contacts, and meshes. Kinematic and dynamic analyses determine motion and force response, while thermal and CFD models address heat transfer and fluid behavior.

Verification checks whether a model is solved correctly; validation checks whether it represents the real system adequately. Mesh convergence, hand calculations, sensitivity studies, and experiments improve confidence but do not remove uncertainty. Optimization varies design variables to improve objectives while satisfying constraints. Parametric, topology, shape, size, and multiobjective methods are useful only when their design spaces and assumptions are appropriate.

Design-for-X evaluation ensures that an optimized design can be manufactured, assembled, serviced, operated safely, sustained, and economically justified. Professional engineering requires traceability, honest reporting, lifecycle thinking, and human review of automated or AI-assisted results.

Key Terms

Finite element method: Numerical method that approximates a continuous physical system using discrete elements.

CAD model: Digital geometric representation of a component, assembly, or product.

Boundary condition: Constraint or prescribed condition defining how a model interacts with its environment.

Mesh convergence: Demonstration that a result changes acceptably as discretization is refined.

Stiffness matrix: Matrix relating nodal displacements to forces in a structural model.

Equivalent stress: Scalar stress measure used to compare multiaxial stress with a failure criterion.

Kinematic analysis: Analysis of position, velocity, and acceleration without initially considering forces.

Dynamic analysis: Analysis including mass, inertia, damping, and time-dependent forces.

Thermal strain: Deformation caused by temperature change.

Computational fluid dynamics: Numerical analysis of fluid flow and related heat or mass transfer.

Verification: Checking whether the mathematical model has been implemented and solved correctly.

Validation: Checking whether a model represents the physical system adequately for its intended use.

Sensitivity analysis: Study of how outputs respond to changes in inputs.

Design variable: Quantity intentionally varied during design exploration or optimization.

Objective function: Quantity that an optimization seeks to minimize or maximize.

Constraint: Requirement that limits an acceptable design.

Pareto-optimal design: Design for which improvement in one objective requires deterioration in another.

Design for X: Systematic evaluation according to a lifecycle objective such as manufacture or reliability.

Digital twin: Data-connected digital representation updated using information from a physical system.

Review Questions

Short Answer Questions

  1. Why is an analysis model not always identical to the CAD model?
  2. Distinguish verification from validation.
  3. State two causes of inaccurate FEA results.
  4. What is the purpose of a sensitivity study?
  5. Name four forms of design-for-X evaluation.

Long Answer Questions

  1. Explain the finite element workflow from CAD geometry to interpretation of stress results. Include the roles of material data, boundary conditions, mesh quality, and convergence.
  2. Compare kinematic, dynamic, thermal, and CFD analyses in terms of inputs, outputs, and typical engineering applications.
  3. Explain the general mathematical structure of an engineering optimization problem and discuss objective functions, constraints, bounds, and design variables.
  4. Discuss why a numerically converged simulation may still be physically invalid. Use examples involving loads, contacts, material behavior, or boundary conditions.
  5. Describe how design-for-manufacture, assembly, reliability, sustainability, and serviceability can influence an apparently optimal CAD design.

Analytical / Application Questions

  1. A cantilever carries a fixed tip load. Explain qualitatively how increasing width and increasing thickness affect bending stress and deflection. Which change is more powerful for a rectangular section, and why?
  2. A bracket passes static FEA but fails after repeated vibration. Propose a verification and validation plan that includes modal, fatigue, experimental, and manufacturing considerations.
  3. Formulate an optimization problem for a heat sink or machine bracket. Identify at least two design variables, one objective, three constraints, and the evidence needed to validate the final design.

Multiple Choice Questions with Answers

Question 1

In a linear static FEA model, what does [K]{u} = {F} represent?

A. Mass, acceleration, and damping balance

B. Stiffness, displacement, and force relationship

C. Thermal conductivity and temperature relationship

D. Fluid pressure and velocity relationship

Correct Answer: B. Stiffness, displacement, and force relationship

Question 2

Which activity primarily addresses verification?

A. Comparing predicted displacement with a prototype measurement

B. Checking whether units and boundary conditions are correctly implemented

C. Interviewing users about product satisfaction

D. Estimating market demand

Correct Answer: B. Checking whether units and boundary conditions are correctly implemented

Question 3

For a rectangular beam section, the second moment of area about the bending axis is expressed as:

A. I = bt²/2

B. I = b²t/12

C. I = bt³/12

D. I = 12bt³

Correct Answer: C. I = bt³/12

Question 4

A sensitivity study is mainly used to determine:

A. Which inputs most strongly affect an output

B. Whether a product has a patent

C. The exact manufacturing cost without data

D. The color of a CAD model

Correct Answer: A. Which inputs most strongly affect an output

Question 5

Which is an inequality constraint in an optimization problem?

A. Minimize mass

B. Thickness is a design variable

C. Stress ≤ allowable stress

D. Select a material database

Correct Answer: C. Stress ≤ allowable stress

Question 6

For a uniform temperature increase in an unconstrained isotropic material, thermal strain is:

A. ε_th = αΔT

B. ε_th = E/ΔT

C. ε_th = kAΔT

D. ε_th = ρcΔT

Correct Answer: A. ε_th = αΔT

Question 7

What is a likely consequence of over-constraining an FEA model?

A. Artificial reactions and unrealistic stresses

B. Automatic validation against experiments

C. Removal of all material uncertainty

D. Guaranteed fatigue safety

Correct Answer: A. Artificial reactions and unrealistic stresses

Question 8

Which design is Pareto-optimal in a multiobjective problem?

A. A design that violates every constraint

B. A design that can improve every objective simultaneously

C. A feasible design for which improving one objective worsens another

D. A design selected without considering objectives

Correct Answer: C. A feasible design for which improving one objective worsens another

Question 9

Which activity best represents design for assembly?

A. Increasing turbulence-model complexity

B. Reducing fastener count and improving access for installation

C. Refining a CFD boundary layer mesh only

D. Changing a material database identifier

Correct Answer: B. Reducing fastener count and improving access for installation

Question 10

Why should a sharp-corner peak stress be interpreted cautiously in FEA?

A. It may be a mathematical singularity that increases with mesh refinement

B. Stress can never occur near a corner

C. Mesh refinement always reduces stress to zero

D. Sharp corners automatically imply plastic failure

Correct Answer: A. It may be a mathematical singularity that increases with mesh refinement

Computer-Aided Design & Manufacturing (CAD/CAM)
Chapter 7 of 15