Import CAD Files and Prepare Them for Analysis
The CAD Import Module add-on to COMSOL Multiphysics® has two basic functions for assisting your modeling workflow. First, for importing geometries created in CAD software, the CAD Import Module supports the import of a variety of different file formats, including the Parasolid® and ACIS® formats, standard formats like STEP and IGES, and native file formats of various CAD systems. Second, for ensuring the imported geometry is ready for analysis, you can repair, defeature, or apply virtual geometry operations to your geometry to fix discrepancies during import or to simplify the geometry. All of these features are available to ensure your geometry import process is painless.
If you are a CAE engineer who does not use CAD software, the CAD Import Module will help you work with the CAD user to ensure a smooth transition when working together. If you are a CAE engineer who also uses CAD software, COMSOL provides several add-on products that connect COMSOL Multiphysics® to each of the major CAD software packages, using a specialized LiveLink™ technology. You can read more about this in the interfacing section.
Importing CAD Files
All CAD software supports the export of Parasolid®, ACIS®, STEP, and IGES file formats, which can then be readily imported into COMSOL Multiphysics®. In addition, the CAD Import Module allows you to import the native file formats of a number of CAD systems, such as SOLIDWORKS®, Inventor®, PTC® Creo® Parametric™, NX™, and AutoCAD®. The separate File Import for CATIA® V5 provides support for importing the native file format for this system. When you have installed the CAD Import Module, all CAD files are automatically converted to a Parasolid® geometry using the Parasolid® geometry engine that is included with the module. These geometries can subsequently be changed by the tools within COMSOL Multiphysics® and the CAD Import Module, including, for instance, a conscious change to the geometry. An example of this is creating a model domain around a CAD design, such as an enclosure for use in, for example, a CFD, acoustics, or electromagnetics analysis. Most CAD models are geometries of the objects to be manufactured, and simulation may be used to model the phenomena around this object, such as the flow of air. When these changes have been made, the CAD Import Module can export them in the IGES, STEP, Parasolid® or ACIS® file formats for import into other tools.
Supported Formats for File Import/Export
Note that not all file formats are supported on all operating systems; for details, see the system requirements.
|ACIS®||.sat, .sab, .asat, .asab||up to 2020 1.0 (import),
R4, R7, 2016 1.0 (export)
|IGES||.igs, .iges||up to 5.3||Yes||Yes|
|Inventor® assemblies||.iam||11, 2008-2020||Yes||No|
|Inventor® parts||.ipt||6-11, 2008-2020||Yes||No|
|NX™||.prt||up to 1872||Yes||No|
|Parasolid®||.x_t, .xmt_txt, .x_b, .xmt_bin||up to V32.0||Yes||Yes|
|PTC® Creo® Parametric™||.prt, .asm||1.0-6.0||Yes||No|
|PTC® Pro/ENGINEER®||.prt, .asm||16 to Wildfire® 5.0||Yes||No|
|STEP||.step||AP203, AP214 (import),
Processing Geometry for Analysis
Repair a Geometry on Import
The goal of building the CAD model is to obtain a digital representation of the real product. This digital version contains the 3D geometry of the product together with the information needed for manufacturing it. While a 3D CAD geometry is usually true to the real object it represents, small and hardly noticeable anomalies can occur throughout the geometry. This may be due to numerical limitations in the computer's ability to represent complex shapes, limitations of some older CAD file format, human errors, or translation of the data between file formats. These small anomalies may result in, for example, faces that do not meet exactly at the edges or inconsistent face normals and edge directions. In turn, this may lead to problems with forming valid, watertight geometric objects when generating a mesh within COMSOL Multiphysics®. Therefore, geometry repair is always performed by default during the import process to get you started with your simulations.
In addition to the automatic repair that occurs on import, the CAD Import Module provides features that allow you to manually repair your CAD models after import. You can, for example, manually select faces and knit them together to form a solid using a specified tolerance to close gaps. Alternatively, you can automatically locate the edges of gaps and use these edges as input to generate a new face that covers the gap and forms a solid.
Defeature a Geometry for Analysis
Once the CAD model has been properly repaired, it may still be difficult to use in a simulation due to the complexities of the geometry and the number of small geometric features in the model. If not removed from the geometry before meshing, these features may lead to an overly inflated number of mesh elements, and therefore, require more computational resources than necessary.
While some features, such as fillets, grooves, threads, and holes, are required for an eventual manufacture, they may not always be relevant to an overall simulation of the CAD model. The CAD Import Module has the tools to remove them and simplify the geometry. You can delete fillets and chamfers; fill holes; and delete groups of faces, replacing them with a uniform surface through filling or patching.
Other unwanted features may have resulted from the CAD modeling and import process itself, like small faces, sliver faces, spikes, and short edges, for instance. For these unintentional features, you can select their type in an interface and specify a tolerance value to identify and remove all occurrences of this geometric feature. Defeaturing can also be performed automatically as part of the import process, utilizing the same tolerances specified for repairing.
Perform Virtual Geometry Operations to Simplify Mesh
Performing virtual geometry operations is similar to the defeaturing process, except that the imported geometry remains unchanged. Instead of changing the geometry, the virtual geometry operations instruct the mesher to ignore certain features that either do not influence the simulation greatly or are not particularly relevant to the desired simulation. The meshing subsequently takes place on a virtual geometry. Such operations involve ignoring vertices, edges, and faces; forming composite edges and faces; collapsing edges and faces; and more.
There are two ways to employ virtual geometry operations. The faces, edges, and vertices to be ignored can be manually selected, but there is also an automatic Remove Details operation to automatically recognize and remove small features by using a sequence of virtual operations (which can then be edited as necessary).
These operations are included in the base package, COMSOL Multiphysics®, and are a great complement to the defeaturing tools of the CAD Import Module. This functionality is particularly useful when the features of the geometry cannot be easily removed through defeaturing or repair, or when the simulation requires you to keep the curvature of the geometry intact.
Every business and every simulation need is different. In order to fully evaluate whether or not the COMSOL Multiphysics® software will meet your requirements, you need to contact us. By talking to one of our sales representatives, you will get personalized recommendations and fully documented examples to help you get the most out of your evaluation and guide you to choose the best license option to suit your needs.
Just click on the "Contact COMSOL" button, fill in your contact details and any specific comments or questions, and submit. You will receive a response from a sales representative within one business day.