Documentation

CAD Preparation and Upload

Preparing, uploading, and adapting your CAD model for simulation is the first step in setting up a simulation. Some tips for CAD preparation are outlined below:

CAD Upload/Import

To upload a CAD file on to the SimScale workbench:

  1. Open an existing project or create a new one.
  2. To open the upload dialog, click the “+” next to Geometries in the simulation setup tree.
  3. Drag and drop your CAD file or click to open the file selection dialog.
SimScale cad upload dialog
SimScale CAD upload dialog. Either upload files directly from your machine or import via Onshape.

Alternatively, choose the import via Onshape to directly pull a design from your Onshape library.

Supported CAD Formats

SimScale supports the following CAD formats:

  • Parasolid (*.x_t)
  • Soliworks (*.SLDPRT, *.SLDASM)
  • Autodesk Inventor (*.3ds, *.iam)
  • Rhino (*.3DM)
  • CATIA (*.CATPart, *.CATProduct)
  • ACIS (*.SAT)
  • STEP (*.STEP / *.step / *.stp / *.STP)
  • IGES (*.IGES / *.iges / *.IGS / *.igs)
  • BREP (*.BREP / *.brep)
  • STL (*.stl)

This list is sorted in the preferred order of formats. Generally it is recommended to upload the model in the native format of the tool it was created with. (e.g. as *.SLDPRT if modelled in Solidworks). SimScale natively uses the Parasolid CAD kernel. In order to have all CAD manipulation functionality available within SimScale, the CAD model needs to be successfully translatable into the Parasolid format.

Assembly Upload

To upload a Solidworks or Autodesk assembly file, please collect all the related part files along with the assembly file (*.SLDASM, *iam) and create a .zip file. Then upload this *.zip file using the upload dialog. Find a detailed guide on assembly upload here.

Cad model in viewer
Once uploaded and converted successfully, the model will be shown in the viewer and listed in the Geometries section of the navigation tree.

Note

In case round parts of your geometry appear to have corners, don’t mind: We automatically simplify your geometry for displaying purposes to make sure that you can fluently interact with the model. Internally, especially for the meshing process, SimScale uses the fully featured geometry.

Supported CAD Operations

After upload, some additional preparation might be required. The following CAD manipulation options are currently available from within the SimScale workbench:

  • Scaling
    In case the uploaded model does not match the original real dimensions of the modeled object, the Scaling operation can be used to adapt the model size accordingly. The dimension of the model is very important for the simulation setup. Scaling the model in meters(m) or millimeters(mm) will have a large impact on the results.
  • Imprinting
    Only required for Conjugate Heat Transfer (CHT) simulations. Here interfaces are defined for simulating the heat transfer between two regions. It is required that these interfaces are defined by two congruent faces on both contacting regions. In case this requirement is not met by the assigned CAD model, the platform will recommend an automatic Imprinting operation.
  • Flow volume extraction
    A fluid mechanics simulation is performed on the actual fluid volume. For an internal flow problem, this means that the fluid volume needs to be extracted from the CAD geometry. This can be done in the CAD preparation stage using the respective CAD tool. It can can also be performed on the SimScale platform using the Flow Volume Extraction feature, which can be found under the geometry operations menu. More information can be found here: Fluid Volume Extraction
  • Surface splitting
    This operation only applies to *.stl models. Often those kind of models consist only out of a single face, making it necessary to split the model based on a user-defined feature angle for later assignment.

All currently available CAD operations can be found in the context menu of each geometry listed in the geometries section.

cad operations context menu
Right-click on the CAD model to open the context menu and select “Add geometry operation” in order to open the list of all available CAD operations that can be applied to the model. Depending on the file format used, not all CAD operations might be available.

CAD Preparation

Depending on the complexity and quality of your CAD model, some preparation and clean up work might be required. Most of this clean up work should be done before importing the model into SimScale. The following general guidelines might help get you to a first successful iteration of your simulation.

General Hints

  • Start simple and iterate
    A proven strategy for the simulation setup is to create it for a very simple version of the problem in order to see whether or not the simulation approach is viable.
  • Think the complete workflow through
    Having an idea about the mesh and the application of boundary conditions can help with the CAD preparation.
  • Have a clear understanding of the problem
    This helps to decide whether certain effects can be neglected or not.

Diving deeper, keep in mind the following requirements for a successful and accurate simulation:

Model dimension

The dimension of the model is very important for the simulation. If there are any discrepancies between the model units and the SimScale units this can lead to unrealistic geometrical dimensions. In this case, it is crucial to perform a scaling operation.

import of stl with custom dimension
In case of uploading an *.stl file, the model dimension can be selected.

Complexity reduction

Very often the CAD model can be simplified to get more accurate simulation results in shorter time. A few cases for potential optimization potential are listed below.

Defeaturing

CAD models often contain many detailed features because of manufacturing constraints or the installation. Good examples are small holes or windings. These detailed features might be relevant for the final manufacturing but they do not affect simulation results, but only increase the meshing and computing time significantly. Therefore, such features should be removed during CAD preparation before import into SimScale.

Remove Small Entities

Small entities can be a problem when it comes to meshing. If there are very small faces with sharp angles the surface meshing might fail. An example is demonstrated below, where faces had to be merged before a surface mesh could be generated. Such small entities should also be removed during CAD preparation before import into SimScale.

example of small features that should be cleaned up before import
Left: Very small face with very sharp angles. Causes the surface mesher to fail. Right: Problematic face was removed, meshing works fine.

Use of Symmetry

If the problem is symmetric, computation time can be significantly reduced by using symmetry boundary conditions and performing simulations on just a part of the whole CAD model. In such a case only one instance of the symmetric parts of the model should be imported.

Divide and Conquer

Analyzing smaller parts of the entire CAD one by one, rather than analyzing the entire CAD in a single simulation, can help reduce the complexity of the problem and speed up the simulation.

Simulation specific preparation

Often the boundary conditions or other simulation solver specifics define additional requirements on the CAD-model. A few examples are explained below:

Entities for Boundary Conditions

To apply a boundary condition on a specific face or edge, it needs to exist as a separate entity in the CAD model. Therefore, to e.g. assign a load condition only to a certain area, this area needs to exist as an entity in the model.

example geometry with split surfaces
Prepared CAD model such that one can directly start assigning boundary conditions. In this case the front face of the bumper has been split into multiple parts.

Cad Faults

In case your model could not successfully be translated into the SimScale-specific internal format, all entities that failed translation will be exposed after upload. In order to progress further, try fixing all faulty parts and upload the model once more.

cad faults interface
Faulty topological entities will be listed in the scene tree. Click on a fault to visualize it in the viewer. To progress further, all faults need to be resolved first and another instance of the cleaned geometry needs to be uploaded.

CAD Topology

In general, a CAD model consists of different types of topological entities such as solids, faces, edges and vertices. It’s important to be aware of this topology since it will have an impact on mesh generation and simulation setup. Find an introduction to CAD topology here.

Contents
Data Privacy