Skip to content

CAE (ANSYS, etc.) Interoperability and Mesh Creation ​

This explains how DXF is used in CAE (Computer-Aided Engineering), especially analysis software like ANSYS and Abaqus, and its relationship with mesh creation.

Role of DXF in CAE ​

In analysis software, DXF is mainly imported as "geometric boundary conditions (2D)" or "cross-sectional shapes".

Analysis SoftwareMain UseDXF Handling
ANSYS (SpaceClaim / DesignModeler)Fluid/Structural AnalysisImport 2D cross-sections, base for 3D modeling
AbaqusStructural AnalysisImport as sketch
COMSOLMultiphysicsImport 2D shapes

Process of Creating Mesh from DXF ​

To perform analysis, imported geometric shapes need to be divided into "meshes (finite elements)." When creating meshes directly from DXF, follow these steps.

  1. 2D Shape Import: Read outer contours from DXF.
  2. Cleanup (Important): Delete DXF-specific "tiny gaps" or "duplicate lines." If these remain, mesh generation will fail.
  3. Face Creation: Define areas surrounded by lines as "faces."
  4. Mesh Generation: Divide into triangular or quadrilateral elements by the software's auto mesher.

Advantages and Disadvantages of DXF in CAE ​

Advantages ​

  • Optimal for 2D Analysis: Lightweight and easy to handle for analyses that can be completed with cross-sections alone, such as electromagnetic field analysis or 2D structural analysis.
  • Utilizing Old Assets: Can directly use past 2D drawing assets for analysis.

Disadvantages (Traps) ​

  • Lack of Topology Information: DXF is just a "collection of lines" and doesn't have information about which are "closed areas." Therefore, manual work to recreate faces after import often occurs.
  • Not Suitable for 3D Analysis: When importing 3D solids via DXF, "leaks (gaps)" occur during mesh generation, and the probability of errors is very high.

Techniques to Improve Compatibility ​

When passing DXF to CAE software, note the following points.

  1. Polyline Conversion: Instead of scattered LINE, use LWPOLYLINE with closed loops, making it easier for software to recognize faces.
  2. Avoid R12 Format: In R12, curves are divided into short line segments, causing meshes to become unnecessarily fine or shapes to distort. R2000 (AC1015) and later is recommended.
  3. Utilize Layers: Separate analysis target shapes and auxiliary lines like dimensions into different layers, and have analysis software ignore unnecessary layers.

Recommendations for CAE Engineers ​

  • For 2D Analysis: DXF is a strong option. However, always check for "line duplicates" and "gaps" on the CAD side before output.
  • For 3D Analysis: Instead of DXF, use STEP (.step) or Parasolid (.x_t) formats. These maintain topology (connection relationships), dramatically reducing errors during mesh creation.

MIT License