CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS (
-   -   Parametric study by Ansys Workbench (

Sahar FaPerhu March 11, 2013 12:26

Parametric study by Ansys Workbench
Hello everyone!

I have a technical question about Ansys Workbench capability of parametric study... I know that if I create a geometry by Design modeler, I can make the dimensions as parametric variables. But I need to know if there is any way to import a parametric desinged geometry from Solidworks? I have prepared a parametric geometry in Solidworks ( a design table) but when I import the solidworks file to workbench, its no longer parametric...:confused:
I really appreciate it if anyone could help me know about this capability
Thank you

stuart23 March 12, 2013 07:14

Sahar, this requires the bi-directional CAD interface for Ansys to pass variables and receive the updated geometry. This may however require an additional license if you do not already have it.


Sahar FaPerhu March 12, 2013 11:54

Dear Stu,

Thank you for your reply. I was kind of dissapointed if anyone could help me......I really appreciate it if you could explain what do you mean by bi-directional interface...
I made some progress , I made the interface between solidworks and workbench activated (via insturction#1, as follows) , then I went through instruction #2 (followed by this comment), but
There is still one problem that might be related to bi-directional CAD interface...?
Now I can export the solidworks directly to workbench, but the geometry cannot be opened in workbench to edit , it says:
"collection was modified, enumeration execuation may not execute"
do you know why this error happens?
besides that, I can see the parameters in mesh/workbench

I would like to share those two instrustion that I followed, it might be helpful for others as well...

*******************instruction #1*****************
I figured out there is no link between my solidworks and workbench installed on my compouter 'cuz I could not export my solidworks file directly to workbench.
Then I found an instruction for that:

"Start>program>Ansys 14.5>Utilities>CAD configuration manager
I had to right click on that to "run as asministrator" cuz I am not the administrator user...
then I chose Ansys and solidworks to configure from CAD section tab
select CAD confugration tab to configure selested CAD interface"

*********************instruction #2************************
here is the instruction to make the dimension parametric:

"You have to rename the dimensions from within solidworks in the "primary value" box to something starting with DS. it seems that DS is the parameter key for workbench. DS_1_width for example. Do the same with all the dimensions you want to convert to parameters.

Then export the assembly to workbench, check that the option parameters is on (you can find it in parameters, it is on by default). Insert a static structural item to use the geometry we have just imported. Edit the model tab. Go to the "geometry" item in the tree and expand it. Click on each part in the tree and look at the details box below the tree. In the last group "CAD parameters" you should see all the parameters for each part.

To activate them just click on each check box and a blue P will appear. Close the static structural window and go back to the project window. You should see now a tab named "parameter set" that you can edit. " :)

mvoss March 12, 2013 13:24

You need to take care of the settings while importing the external data from the cad system. Check out the option in the low left corner when highlighting the Import feature in the tree view within DM.
There is an option "parameters" which needs to be set to yes.You also have to set the parameter-key (right below it) accordingly. You can either set an key like "DS" which needs to be beginning letters of the parameter in SW or just delete the key and import ALL parametric values from the SW system.
To make this work, just declare a name for the diameter, length, etc. in SW. Via the key-option you can filter your parametric values from SW by the given key. (I would guess DS stands for DesignSpace).


shree272 March 12, 2013 15:03

the following video will solve ur problem....

Sahar FaPerhu March 13, 2013 13:16

Thank you Shree! this video was really helpful...

Sahar FaPerhu March 13, 2013 13:20

Thank you Neewbie! I did this procedures...everything works fine now, I have those parameters in wrokbench mesh...except the workbench designmodeler which cannot be opened which I really need to open gices me some error, I think it must be some wrong set up while installing the Ansys...Im going to reinstall it...
but anyway, thank you, your comment and Shree's video link was really helpful...:)

shree272 March 13, 2013 14:15

Sahar FaPerhu thanks alot....
about ur error or design modeller check ur firewall status does it allows ansys app to access all networks ...

mvoss March 14, 2013 04:17

i think i´ve heard smth. about the fact that you have to install ansysWB after the CAD system to make it work.
What´s the error?

shree272 March 14, 2013 05:16

if ur importing geometry directly from solidworks i.e .sldpart file then install sw first and ansys later.....while running ansys for first time take care tht firewall gives access to app for all networks

Sahar FaPerhu March 14, 2013 12:42

Thank you Neewbie and Shree,
I am using the softwares which is already installed by my mentor. If this is the case that we must install the CAD first and then ANSYS, that I am not, I think its better to reinstall it,
When I try to open the geometry after direct import from SW, the error is "threw exception during invoke;object reference not set to an instant of an object"
then I again try to open it and gives me anothwer error
"collection was modified, enumeration operation may not execute"

mvoss March 15, 2013 09:44

i am not quiet sure but i remember doing smth. similar and when using the direct import from SW to WB i need to have the CAD system running when working on the geometry in DM.

bert-c-town May 15, 2013 05:51

This thread was very helpful. Thank you very much!

granbycools June 21, 2013 15:34

hey everybody, maybe someone got a good idea for my as well.

I have a Catia 5V assembly (flowroom and 3 valves) which I have imported to ansys14.5 design modeler via a igs.file. I would like to run different steady state simulations with different valves setting, and I thought I can easily use a parametric set with the imported solids.. but I don´t see how..

Do I have to use a catia ansys interface as well? I would really appreciate any help

mvoss June 24, 2013 06:18

1# link the CAD data dynamically via. the import feature, so you actually change the cad-data-set from within the designmodeler (use parameter recognition via DS_ for every parameter IN CATIA)--> geometric changes are pushed via wb2.0 to CAD programm
2# import the CAD data "static" and use boolean body operations in DM to get your parametric end geometry --> geometric changes are all done IN DM/wb2.0

since you´ve choosen igs to import you have to choose the 2´nd way

Ab Timilsina March 26, 2014 22:35

hey I am using solidworks 13 and Ansys 14.5 but parameters are not imported as given in the instruction...need help

pooya_1375 August 26, 2016 04:10

Table of design points
Hello every body
I defined some parameters in ANSYS workbench and I wanted to use the table of design points. I entered the value of defined parameter (angle of attack in airfoil) and I wanted the Cd and Cl but any input that i give< i take the same output for any input!!!:confused::confused:)
what's the problem?

Pooya_Razzaghi August 23, 2017 03:29

Updating problem
Hello everybody
I'm working on a parametric case using Table of design point but i have a problem:
I change my parametrs in table but the output dosen't change!! I saved my out put parameters and wrote them but it didn't work!
Can any body help me?

All times are GMT -4. The time now is 04:34.