×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

ANSYS - sending parameters from workbench to APDL

ANSYS - sending parameters from workbench to APDL

ANSYS - sending parameters from workbench to APDL

(OP)
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

RE: ANSYS - sending parameters from workbench to APDL

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources