I have defined few parameters in Design Modeler and taken the geometry into Simulation module.
When using those variables in simulation command snippet, they are not recognized. What is required
to use CAD parameters inside a Workbench command snippet?


The operation you desire is not possible in ANSYS Release 10.0. It is possible in ANSYS Release 11.0
as described below.


Steps in ANSYS Workbench Environment Release 11.0 to pass CAD parameters into a command
object

1. Open ANSYS DesignModeler and import or create the geometry and pick the Generate icon.

2. Pick the Parameters Icon and be sure to be on the Design Parameters tab.
Type in "ds_parm=123.4" and press the Enter key (assuming ds is the parameter key).

3. Pick the Generate icon.

4. Pick the Project tab and pick New Simulation.

5. In ANSYS Simulation pick Static Structural and OK. Apply environment items and
solution items being sure to include Solution Information.

6. Highlight Solution and right click to insert Commands.

7. Type in "ds_parm=arg1" and press the Enter key
then type in "*stat,ds_parm" and press the Enter key.

8. In the Details of "Commands" section expand the Input Arguments and pick
in the box to the left of ARG1. A 'P' should appear in the box.

9. Pick the Parameter Manager icon in the toolbar. Pick in the Expression column in the
samerow as Commands ARG1 and type in the ID label that is shown in the same row as
for ds_parm using the exact same letter case. It was P1 for me.

10. Pick the Send Values icon in the Parameter Manager toolbar. The value 123.4 should
appear in a grayed box in the details window to the right of ARG1.

11. Pick the Solve icon and upon completion go to Solution Information and look for the
*STATUS output just after entering POST1.


To change the CAD parameter value:

1. Go back to ANSYS DesignModeler and change the value for ds_parm.

2. Pick the Generate icon.

3. Pick the Simulation tab.

4. Highlight Geometry in the Outline and click on the Geometry pulldown in the Toolbar.
Select Update: Use Geometry Parameter Values.

5. Pick the Parameter Manager icon in the toolbar.

6. Pick the Send Values Icon in the Parameter Manager toolbar.





Show Form
No comments yet. Be the first to add a comment!