Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

How to apply “IF” in ansys workbench expression

    • Today_E
      Subscriber

      there is uy>0 or UY<0 need to be judged before define the failure model by expression.

      I am not sure if there is any Judge vocabulary.

      Can you help me, please?

    • Sahil Sura
      Ansys Employee

      You can analyze the conditional processes the help of Mechanical Wizard in the Mechanical application . You can refer to the following links for the same.
      if then else stop (ansys.com)
      Tutorials (ansys.com)
      Appendix C. Workbench Mechanical Wizard Advanced Programming Topics (ansys.com)
      Thanks Sahil.
    • Today_E
      Subscriber
      Dear Ssura Thanks for your reply.
      Do you know the which command can open the condtional option in user defined results, please?
      I know it is *IF in APDL.
    • Today_E
      Subscriber
      Dear Ssura Thanks for your reply.
      Do you know the which command can open the condtional option in user defined results, please?
      I know it is *IF in APDL.
    • Sahil Sura
      Ansys Employee

      You cannot directly insert conditional commands in results , but you can create a custom result using ACT or you can try APDL command snippets. By using one of the methods you can program the required condition and post process.
      You can refer to the following links -
      Postprocessing Capabilities in Mechanical (ansys.com)
      Create Probe Principal Stresses from a Node Selection (ansys.com)
      Thanks Sahil.
Viewing 4 reply threads
  • The topic ‘How to apply “IF” in ansys workbench expression’ is closed to new replies.
[bingo_chatbox]