Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

ANSYS - sending parameters from workbench to APDL

Status
Not open for further replies.

grahamhunter2001

Mechanical
Feb 3, 2005
2
Hi all,

I've been stuck trying to do this for a while. Is there an easy way to pass design point parameters within the Workbench environment to APDL command scripts within Mechanical?

I've got a model built in Workbench that I want to run a number of design points on so I've created the appropriate parameters (lets call them CR and YR - corrosion rate and year). I've got a Command object in Mechanical to select an appropriate set of nodes and apply a real constant for the thickness as a function (lets call it thick = tnom - CR*YR).

I figured there 'should' be an easy way to pass the design parameters (CR,YR) defined in Workbench to the APDL script but for all my looking on this forum, google and the manuals I can't figure it out. Has anyone tried the same thing, and if so can you tell me how?

Thanks

Graham
 
Replies continue below

Recommended for you

Solution to this for future reference;

Within the command snippet, there is an option for input arguments. Tick the box to set these to parameters and they'll be put into the parameter set. They can now be used as normal.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor