Pre-Processing Best Practices for Accurate CAE Results

pre-processing best practices

Table of Contents

The Unsung Hero: Why Pre-Processing is Critical for Engineering Success

In the world of Computer-Aided Engineering (CAE), we often marvel at the intricate simulation results – colorful stress plots, dynamic flow visualizations, and compelling deformation animations. Yet, the journey to these insights begins long before the solver even kicks in. It starts with pre-processing, the crucial phase where you prepare your model for analysis. Think of it as laying the foundation for a skyscraper; without a solid base, the entire structure is compromised, no matter how elegant the design.

For engineers working in FEA, CFD, structural integrity, or FFS Level 3 analysis, mastering pre-processing isn’t just a good skill – it’s fundamental. It’s where you translate a physical problem into a mathematical model, defining geometry, materials, mesh, loads, and boundary conditions. Get it wrong, and you risk inaccurate results, wasted computational time, and flawed design decisions. Get it right, and you unlock reliable, actionable insights.

Finite element mesh of a mechanical component

Image courtesy of Wikimedia Commons

A Comprehensive Guide to Pre-Processing Best Practices

This article dives deep into the best practices for pre-processing, offering practical, engineer-to-engineer advice to help you achieve accurate, robust, and efficient simulations. We will cover everything from CAD cleanup to advanced meshing techniques and automation, ensuring your CAE projects stand on solid ground.

Geometry Preparation: Clean CAD for Clean Results

Your simulation is only as good as the geometry it’s based upon. Imperfect CAD models are a leading cause of pre-processing headaches and solver failures. The goal here is to create a ‘watertight’ and ‘analysis-ready’ model.

Initial CAD Import & Review

  • File Formats: Understand the pros and cons of different formats. Native CAD files (e.g., CATIA, SolidWorks) offer the most fidelity. Neutral formats like STEP and IGES are widely compatible but can sometimes introduce translation errors. Parasolid often provides the most robust geometry transfer between different CAE tools.
  • Scaling & Units: Always verify the imported geometry’s scale and units immediately. A model designed in millimeters imported as meters will yield wildly incorrect results. Tools like Abaqus/CAE, ANSYS Mechanical, and MSC Patran allow explicit unit definitions during import.
  • Initial Visual Inspection: Look for obvious gaps, overlaps, duplicate entities, or inverted normals (especially common with complex imports).

Geometry Cleanup Techniques

Even well-built CAD models often require cleanup for simulation. Small geometric features, while insignificant to the overall design, can drastically complicate meshing.

  • Healing & Stitching: Address small gaps between surfaces (typically < 10^-3 of the model's characteristic length). Use tools like ANSYS SpaceClaim's 'Fill' or Abaqus/CAE's 'Stitch' to create a watertight solid.
  • Sliver Surfaces: These are extremely thin or narrow faces that can cause poor mesh quality. Merge them with adjacent faces or suppress them if they’re non-critical.
  • Duplicate Entities: Remove redundant points, curves, or surfaces. Most pre-processors have a ‘cleanup geometry’ or ‘tolerance’ function to automatically identify and remove these.

Simplification & Idealization

This is where engineering judgment comes into play. Not all geometric features need to be explicitly modeled for every analysis.

  • De-featuring: Remove small holes, fillets, chamfers, or small protrusions that have minimal impact on the overall structural or fluid behavior but would generate a highly refined and computationally expensive mesh.
  • Mid-Surfacing: For thin-walled structures (thickness < 1/10th of other dimensions), create a mid-surface to represent the geometry with 2D shell elements. This significantly reduces element count and computational cost while maintaining accuracy for bending and in-plane loads. Essential for aerospace structures or pressure vessel components.
  • Beam Idealization: For slender components (length > 10-20 times cross-sectional dimension), represent them with 1D beam elements. Define the cross-section properties separately. Ideal for trusses, frames, and piping in oil & gas applications.

Common Geometry Mistakes & Troubleshooting

  • Non-Manifold Edges: An edge shared by more than two faces. This often indicates poor geometry or an open body, preventing proper solid meshing.
  • Open Edges/Free Edges: Gaps in your model that prevent it from being a solid body. These will fail solid meshing.
  • Small Features Causing Mesh Failure: The most common issue. Tiny holes or very narrow regions might be too small for the global mesh size, leading to element quality warnings or failures. Suppress them or locally refine the mesh.

Meshing Strategies: Quality In, Accuracy Out

Meshing is arguably the most artful part of pre-processing. A high-quality mesh is paramount for accurate and stable simulation results.

Choosing the Right Element Type

  • 1D Elements (Beams/Trusses): Use for slender components where only axial, bending, and torsional stiffness are critical (e.g., framework, piping).
  • 2D Elements (Shells/Membranes): Ideal for thin-walled structures (e.g., sheet metal, aerospace skins, pressure vessel walls) where thickness is small compared to other dimensions. Shells carry bending, membranes carry in-plane loads.
  • 3D Elements (Solids/Tetrahedra/Hexahedra): For bulky components where stresses vary significantly through the thickness, or for complex geometries. Hexahedra (bricks) are generally preferred for accuracy and efficiency but are harder to generate. Tetrahedra (tets) are robust for complex shapes but often require more elements for similar accuracy.
  • Linear vs. Quadratic Elements: Quadratic (higher-order) elements have mid-side nodes, allowing them to capture bending and stress gradients more accurately with fewer elements. Linear elements are faster but can be too stiff, especially for bending. For contact or non-linear analyses, quadratic elements are usually recommended.
  • FEA vs. CFD Considerations: FEA often benefits from higher-order elements for stress. CFD, especially around boundary layers, requires highly anisotropic, structured meshes (hexahedra) to resolve gradients efficiently (e.g., in Fluent/CFX, OpenFOAM).

Mesh Density & Refinement

  • Critical Areas: Refine the mesh in regions of high-stress gradients (stress concentrations, fillets, holes in FEA), or high-flow gradients (boundary layers, wakes, recirculation zones in CFD).
  • Global Mesh Size: Start with a coarse global mesh and progressively refine it.
  • Mesh Convergence Studies: This is a non-negotiable best practice. Perform several simulations with progressively finer meshes in critical regions. The simulation is considered ‘converged’ when the key result (e.g., max stress, displacement, pressure drop) changes by less than a predefined tolerance (e.g., 5%) between two successive refinements.

Mesh Quality Metrics

Always check mesh quality. Poor quality elements can lead to solver convergence issues or inaccurate results. Most pre-processors (Abaqus/CAE, ANSYS Meshing, HyperMesh, Patran) provide tools for this.

MetricDescriptionIdeal ValueWarning/Failure ThresholdImpact on Simulation
Aspect RatioRatio of the longest edge to the shortest edge.1 (equilateral)>5 (2D), >10 (3D)Poor accuracy, hourglassing, convergence issues.
SkewnessHow close to equilateral or equiangular an element is.0>0.8 (FEA), >0.95 (CFD)Poor accuracy, particularly in flow regions for CFD.
JacobianDeviation from an ideally shaped element.1<0.1 or >10Element inversion, non-physical results, solver failure.
Orthogonal QualityMeasures orthogonality of faces and cells (CFD).1 (perfect)<0.01-0.1Poor CFD convergence, inaccurate flow predictions.
Warpage (Shells)Deviation of a quad element from a planar shape.0>10-15 degreesCan cause spurious stresses, accuracy issues.

Best Practices for Different Applications

  • FEA (Stress Concentration): Use structured, fine hex meshes if possible, or high-quality tet meshes with local refinement. Pay attention to element order (quadratic for accurate bending).
  • CFD (Boundary Layers): Absolutely critical to have highly structured, high aspect ratio hex elements perpendicular to walls to capture velocity and temperature gradients (e.g., 10-20 layers, first layer height calculated for y+). Tools like Fluent and OpenFOAM depend heavily on this.
  • Fatigue/FFS Level 3 Analysis: Requires extremely fine and high-quality meshes in areas prone to crack initiation or propagation. Use quadratic elements for better stress capture.

Material Properties & Interactions: Defining Reality

Accurate material models and contact definitions are crucial for simulating real-world behavior.

Accurate Material Data Sourcing

  • Reliable Data: Source material properties (Young’s Modulus, Poisson’s Ratio, Density, Yield Strength, Thermal Conductivity) from trusted sources like material handbooks, industry standards (e.g., ASTM, ASME), or validated test data.
  • Temperature Dependence: For analyses involving significant temperature changes, ensure material properties account for temperature dependency.
  • Linear vs. Non-linear: Determine if linear elastic models are sufficient or if non-linear behavior (plasticity, hyperelasticity, creep) needs to be included. This is vital for FFS Level 3 assessments.
  • Isotropic vs. Anisotropic: Most metals are isotropic. Composites, wood, or some additive manufacturing materials are anisotropic and require more complex material definitions.

Contact Definition & Interaction

Contact modeling is a common source of simulation errors and convergence issues, especially in structural and biomechanics applications.

  • Contact Types: Carefully select the appropriate contact type:
    • Tied/Bonded: Elements are permanently joined (e.g., welds).
    • Frictionless: Surfaces can slide without resistance but cannot penetrate.
    • Rough/Frictional: Accounts for friction between surfaces.
    • Separation/No Separation: Allows for separation or prevents it.
  • Contact Algorithms: Understand the difference between ‘Node-to-Surface’ and ‘Surface-to-Surface’ contact. Surface-to-Surface generally offers better accuracy and stability for complex interactions.
  • Contact Parameters: Define contact stiffness, penetration tolerance, and friction coefficients realistically.
  • FEA Structural Integrity: Correctly defining contact for bolted joints, interference fits, and assemblies is paramount for accurate load transfer and stress distribution.

Boundary Conditions & Loads: Simulating the Environment

Boundary conditions (BCs) and loads represent the interface between your model and its environment. They define how the system is constrained and what forces or inputs it experiences.

Applying Realistic Constraints

  • Fixed Constraints (Encastered): Restrict all degrees of freedom (DOF) at specified nodes/surfaces. Use sparingly and thoughtfully.
  • Displacement Constraints: Apply prescribed displacements or rotations.
  • Symmetry Conditions: Utilize symmetry to reduce model size and computational effort. Ensure loads and geometry are also symmetric.
  • Over-Constraining vs. Under-Constraining: Over-constraining can lead to artificially high stresses and inaccurate results. Under-constraining (rigid body motion) will cause the solver to fail. Use judicious constraints to prevent rigid body motion without over-restricting actual movement.
  • Support for Oil & Gas/Aerospace: For components like pressure vessels (Oil & Gas), proper support conditions that allow for thermal expansion are critical. In Aerospace, fixture constraints for wing boxes or fuselage sections must reflect actual aircraft attachment points.

Defining Loads Accurately

  • Load Types: Apply forces, pressures, moments, temperatures, heat fluxes, acceleration, or prescribed velocities/flow rates.
  • Load Distribution: Apply loads realistically – point loads, distributed loads, hydrostatic pressure, body forces (gravity).
  • Transient vs. Static: Determine if your loads are static (constant over time) or transient (varying over time).
  • Oil & Gas Applications: Pressure loads are often applied to internal surfaces of pipes or vessels. Thermal loads from hot fluids must also be considered.
  • Aerospace Applications: Aerodynamic pressure distributions (from CFD or experimental data) and inertial loads from maneuvers are common.

Practical Pre-Processing Workflow: A Step-by-Step Guide

A systematic approach minimizes errors and improves efficiency.

Workflow Outline

  1. Import CAD: Bring in your geometry, verify units and scale.
  2. Geometry Cleanup & Simplification: Heal gaps, de-feature, mid-surface/beam idealize.
  3. Assign Material Properties: Define all necessary material data.
  4. Define Interactions (Contact): Set up contact pairs with appropriate parameters.
  5. Apply Boundary Conditions & Loads: Define constraints, forces, pressures, temperatures.
  6. Mesh Generation: Generate a global mesh, then refine locally in critical areas. Perform quality checks.
  7. Review & Verify: Visual inspection, sanity checks.

CAD-CAE Integration

Modern CAD-CAE integration, like in ANSYS Workbench or Dassault Systèmes’ 3DExperience platform (CATIA-Abaqus), allows for parametric associativity. Changes in the CAD model can automatically update the FEA/CFD model, greatly speeding up design iterations. Leverage this where possible.

Automation with Scripting

For repetitive tasks, complex geometries, or parametric studies, automation is a game-changer. Python and MATLAB are powerful tools for this.

  • Python: Abaqus/CAE has a robust Python API for scripting geometry creation, meshing, load/BC application, and even job submission. ANSYS Workbench also supports Python scripting for various tasks. OpenFOAM is also heavily scriptable.
  • MATLAB: Useful for generating complex input decks, post-processing data, or interfacing with custom solvers.
  • Benefits: Automation reduces human error, drastically cuts pre-processing time for similar models, and enables rapid design exploration.

Pro-Tip: Explore our downloadable Python/MATLAB scripts for common pre-processing tasks on EngineeringDownloads.com! They can provide a head start for automating your workflows.

Verification & Sanity Checks: Trust, but Verify

Before hitting ‘Solve’, it’s imperative to perform a series of checks. This isn’t just about catching errors; it’s about building confidence in your model.

Visual Inspection

  • Model Orientation & Scale: Ensure the model is oriented correctly and is of the expected size.
  • Mesh Patterns: Look for unexpected mesh transitions, distorted elements, or areas of excessively coarse mesh in critical regions.
  • Load Arrows & BC Symbols: Confirm that forces, pressures, and constraints are applied in the correct locations and directions with the expected magnitudes.
  • Contact Regions: Visually confirm contact pairs are defined in the right areas.

Small Load/Displacement Checks

Apply a very small, simple load (e.g., a slight pressure or displacement) and run a quick solver iteration. Check for:

  • Expected Deformation: Does the model deform in the logical direction?
  • Rigid Body Motion: If parts fly off or show unnaturally large displacements with minimal load, you likely have an under-constrained model.

Energy Checks (FEA)

If your solver output provides energy summaries, check the ratio of artificial strain energy to total strain energy. A high ratio (e.g., >10-15%) can indicate element distortion or hourglassing issues, especially with reduced integration elements.

Troubleshooting Common Pre-Processing Errors

  • Solver Aborts: Often due to poor mesh quality (inverted elements), gross contact errors (initial over-closures), or rigid body motion.
  • Zero Pivot Warnings: Indicates a singular matrix, almost always due to rigid body motion (missing constraints).
  • Excessive Penetration in Contact: Contact parameters might be too loose, or initial contact conditions are problematic.
  • Unphysical Stresses/Deformations: Incorrect material properties, wrong units, or incorrectly applied boundary conditions.

Common Pitfalls to Avoid

  • Over-Complicating Geometry: Including every small bolt and fillet can make meshing impossible and analysis overly complex. Idealize!
  • Poor Mesh Quality in Critical Areas: This is a recurring theme. Don’t sacrifice quality for speed in regions that matter most.
  • Ignoring Unit Consistency: A simple mistake with huge consequences. Double-check units for geometry, materials, loads, and results.
  • Assuming Contact Works Flawlessly: Contact is tricky. Always verify its definition and initial state.
  • Lack of Verification: Never trust a model blindly. Always perform sanity checks.

Conclusion

Pre-processing is far more than just clicking a few buttons in your CAE software. It’s a foundational engineering discipline that demands attention to detail, sound engineering judgment, and a systematic approach. By adopting these best practices – from meticulous CAD cleanup and intelligent meshing to diligent verification and leveraging automation – you empower your simulations to deliver accurate, reliable, and actionable insights. This proactive approach not only prevents costly errors but also significantly enhances your design and analysis capabilities across disciplines like FEA, CFD, structural engineering, and advanced FFS.

Mastering pre-processing truly is the key to unlocking the full potential of CAE and driving innovation in your engineering projects. Keep learning, keep refining your skills, and let your simulations guide you to smarter decisions.

Further Reading

FEA Pre-Processing Best Practices – ANSYS Blog

Ready-to-use model: How to partition and use the Abaqus meshing module

See what is included, the software version and the full model details on the product page. Also useful: Introductory Abaqus Course. Need help with your own project? Talk to our simulation team.

Related reading: Mastering Boundary Conditions for Engineering Simulations · Mastering Simulation Post-Processing for Engineers

Leave a Reply

Your email address will not be published. Required fields are marked *

Related  articles

Abaqus Integration Point vs Nodal Stress: Why Peaks Differ
Compare integration-point, element-nodal and unique-nodal stress in Abaqus, and check whether a contour peak depends on extrapolation, averaging or mesh size.
Abaqus Linear Perturbation vs General Step: What Actually Changes
Abaqus Linear Perturbation vs General Step: What Actually Changes

You run a frequency extraction after a static step and the frequencies come out the same whether or not the part had yielded. You run a static linear perturbation step and the reaction force is a fraction of what you

Harmonic Response Analysis in ANSYS Workbench: A Practical Guide
Harmonic Response Analysis in ANSYS Workbench: A Practical Guide
How to set up harmonic response analysis in ANSYS Workbench: modal link, frequency range, solution method, damping, loads and results, plus the common mistakes.

See more

Related  Products

See more