In this blog post we are going to present different ways to parametrize the CAD model and creating a design table for design study. This approach will then be used to automate pump cavitation analysis in the following blogs. We have used Solidworks 2010 for CAD model creation and parametrization. Two parameters were created in the sketch for a rectangular duct. These were “Width” and “Height” of the duct. The third parameter that was created in the extrude feature of the model is representing the “Length “of the duct. “DS_” defines the parameter key for filtering the parameters while importing in ANSYS Workbench, as explained later.
1. CAD Import Approach
With this approach we can import neutral files in STEP, IGES etc. formats as well as native CAD formats from other CAD systems.
Or create a geometry cell in the project schematic, right click on that cell and choose Import Geometry > Browse
A new dialogue window will open; Select the location of the CAD model and name of the file and click Open.
Or alternatively create a geometry cell in the project schematic, right click on that cell and choose Import Geometry > cubemodel.SLDPRT (CAD model name)
2. Direct Connection Approach
In this approach we can launch ANSYS Workbench directly from CAD system.
As we are using Solidworks 2010 for CAD and ANSYS Workbench 2012 for analysis; we can launch Workbench from Solidworks by going to ANSYS 12.1 > Workbench
This will open ANSYS Workbench with a Geometry cell as shown below.
Using both of the above mentioned approaches (i.e. CAD Import or Direct Connection approach) leads us to the Geometry cell created as shown above. To import parameters into workbench we have to open ANSYS DesignModeler. We can do this by right clicking on the Geometry cell and then clicking on Edit….
This will open ANSYS DesignModeler with a window to specify the units for the CAD model. Select the appropriate units and click OK.
In Details View window, make sure that Import Parameters is set to yes with Parameter key as DS and click on Generate icon . (It is important to note that the Parameter Key should be the same as used in the relative CAD system while creating parameters, otherwise parameters will not be imported in ANSYS DesignModeler.
The Generate command will import the CAD model into the ANSYS DesignModeler with appropriate parameters as described by the Parameter Key. Parameters which were imported in ANSYS DesignModeler will appear in the Detailed View window as shown below;
These parameters can be converted into Workbench parameters by clicking once in the selection box with each parameter’s name, a blue colour “P” appears in this selection box, indicating that this parameter has been converted to a Workbench parameter now.
We can now close ANSYS DesignModeler and the Workbench project schematic will look as shown in the figure below.
To edit the parameters or to create the table of Design Points, right click on the Parameter Set and then click Edit.
This will open a new window as shown below, which allows us to edit the names and values of the parameters and also to create design tables and parameter charts.