CAD Import Module
CAD Import Module
For Effective Simulation and CAD Integration
Removing the innocuous sliver makes meshing and solving more efficient without changing the simulation results.
CAD Import Module Supports Both Import and Export of CAD Files
The CAD Import Module supports the import of a variety of different file formats including the Parasolid® and ACIS® formats, and standard formats like STEP and IGES. These file formats are supported by basically all CAD packages, and you can readily import your files into COMSOL Multiphysics by saving in any of these formats. On top of that, the CAD Import Module allows you to import the native file formats of a number of CAD systems, such as Inventor®, PTC® Creo Parametric®, and SolidWorks®. The optional 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 a number of tools within COMSOL Multiphysics and the CAD Import Module. This can include geometry repair or defeaturing (both explained below), or a conscious change to the geometry. An example of this is creating a model domain around a CAD design. 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 Parasolid or ACIS file formats for import into other tools.
Simulation and CAD Integration for Successful Product Development
The first step of product development often involves the creation of a CAD or simulation model. The simulation model provides the understanding and optimization of the desired part, component, or device, while the CAD model provides the detailed information required for accurate manufacturing. In order to have a complete understanding, both models must be created. It then becomes essential to integrate the simulation and CAD modeling processes because information and data from one model affects the other and can often be directly passed between them. To facilitate this integration, COMSOL provides you with a robust tool: the CAD Import Module.
- Geometries brought in from CAD tools can subsequently be changed to remove features that are insignificant to the overall simulation, such as the groove and hole in this example.
- Repairing a sliver reduces the required meshing while smoothing the surrounding geometry to fill the gap.
- Defeaturing in this example involves removing the fillets from the geometry. All fillets are chosen and removed in the one action.
- Capping faces allows you to fill in a domain, and perform a simulation on that domain such as for fluid flow through a manifold.
- Holes or faces can be deleted and filled (shown) or detached and filled, depending upon whether you want to the feature to have the properties of the surrounding faces, or not.
- Virtual Operations allow a geometric feature (thin band) with a concentration of mesh to be ignored by the mesher for a sparser mesh.
Defeaturing Streamlines the Simulation Process
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. Some of these may have resulted from the CAD modeling process itself, like small faces, slivers, spikes, and short edges, for instance. Other features may be required for eventual manufacture, such as fillets, grooves, threads, and holes, but are basically irrelevant to an overall simulation of the CAD model. In both cases, the presence of these small features will usually lead to a concentration of the mesh to adequately resolve them. For the sake of saving on computational resources, they should be removed and replaced by a uniformity in the geometry to reduce the required meshing.
The CAD Import Module provides features to assist with this defeaturing through identifying them, and either automatically or manually removing them to streamline the simulation process. For unintentional features, such as slivers, you select their type in an interface, specify a tolerance value, causing all occurrences of this geometric feature to be identified in your geometry. From here, you can manually specify the features to be defeatured. The CAD Import Module will then remove them, generating a smooth or uniform geometry for better meshing. Defeaturing can also be performed automatically as part of the import process, utilizing the same tolerances specified for repairing.
For intentional features that would still require a lot of mesh resolution, such as holes and grooves, you can manually select their geometric position in the geometry, and choose to fill, cap, patch, or delete them. That prompts the CAD Import Module to replace them with a uniform surface, through filling or patching.
Virtual Operations Concentrate Simulations to Regions that Matter
For other geometric features that you wish to avoid or remove from the meshing and simulation processes, you can apply Virtual Geometry Operations to concentrate your simulation activity to regions that matter. These allow you to select entities in regions of your model that do not influence the simulation greatly, or are not particularly relevant to the desired simulation, and request the mesher to ignore them. The meshing subsequently takes place on a virtual geometry. Such operations involve ignoring vertices, edges, and faces, forming composite edges and faces, and collapsing edges and faces. 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 is very useful functionality particularly 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.
Geometry Repair Gets Your Simulations Started
Producing CAD models is a robust, while not exact, science. Often the goal of creating the CAD model is visualization and specification of tolerances and materials to be read off by the manufacturing team or engineer tasked with changing an existing device or process. It is quite common that the CAD model is not exact with respect to adjacent faces meeting at the same exact point in space. Very small and hardly noticeable anomalies can occur throughout the CAD model, creating non-physical objects or regions that can lead to difficulties when meshing within COMSOL Multiphysics. Therefore, geometry repair is always performed by default during the import process to get you started with your simulations.
The CAD Import Module provides features that allow you to automatically detect and, either manually or automatically, repair your CAD models. While it may be preferable for the design engineer to perform some of the repair job in his or her CAD tool, the CAD Import Module will identify where these anomalies exist as they may not be immediately discernible from within the CAD program. Alternatively, you can manually select adjacent faces within the CAD Import Module and knit them together to form a solid, or specify tolerances in the import process, allowing the CAD Import Module to perform this automatically.
LiveLink™ Products Provide Further Functionality
The CAD Import Module provides all the tools you need to adequately communicate data between your CAD model and your COMSOL geometry. All of the functionality is also available in the LiveLink™ products, which provide you with an even tighter integration of CAD design and simulation. With the LiveLink products you can optimize the CAD model geometry from within your simulation model.
The key feature enabled by the LiveLink products is the synchronization between COMSOL Multiphysics and your CAD system. Not only does it allow for the import and export, geometry repair, and defeaturing of CAD models, but also the geometric associativity between a geometry in COMSOL Multiphysics and a CAD model in your CAD system. This means that changes in one immediately result in the update of the other, through the synchronization feature. You avoid the import/export and re-importing of the entire CAD model once you have identified a change to be performed in the CAD model due to a change in your simulation. Additionally, parametric sweeps can automatically be run based on a geometric entity such as the length of an edge. Any definitions of physics in your geometric domains or on your boundaries are retained irrespective of the changes that have occurred in the geometries.
The capabilities mentioned here are available in LiveLink™ for AutoCAD®, LiveLink™ for Creo™ Parametric, LiveLink™ for Pro/ENGINEER®, LiveLink™ for Solid Edge®, and LiveLink™ for SpaceClaim®. LiveLink™ for Inventor® and LiveLink™ for SolidWorks® have an added functionality that allows for you to perform your COMSOL Multiphysics simulations from within the GUI of these two respective CAD tools.
All trademarks listed herein are the property of their respective owners, and COMSOL AB and its subsidiaries and products are not affiliated with, endorsed by, sponsored by, or supported by those trademark owners. For a list of such trademark owners, see http://www.comsol.com/tm.
Shift into gear
This model demonstrates the ability to simulate Multibody Dynamics in COMSOL. It comprises a multilink mechanism that is used in an antique automobile as a gearshift lever. It was created out of curiosity to find out how large forces are on the individual components. The model uses flexible parts, i.e. the Structural Mechanics Module was used ...