Preprocessing

Preprocessing

Can we script the geometry and the mesh in ANSYS?

    • fsfarimani
      Subscriber
      Following this question on ANSYS Discord channel, I was wondering if we can script the geometry like we do in Gmsh? For example defining Points, Lines, Circle arcs, Splines ... to create sketches and the Extrude the Curves? Define variables, for loops, if statements...nI remember in the past there was the APDL but I don't know if that can be used to script the geometry and the mesh.nP.S. This is a replicate of this question on Reddit:n
    • Aniket
      Ansys Employee
      Where do you want to automate it? In workbench or in APDL. Both is possible. APDL uses APDL commands which can be recorded in session editor while workbench uses ACT.nMore info at:nFor workbench that uses python and records most of the commands in SpaceClaim and Mechanical:nhttps://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v201/en/act_cust_wb/act_cust_wb.htmlnhttps://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v201/en/act_cust_sc/act_cust_sc.htmlnhttps://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v201/en/act_cust_mech/act_cust_mech.htmlnFor APDL:nhttps://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v201/en/ans_apdl/Hlp_P_APDLTOC.htmlnn-AniketnHow to access Ansys help linksnGuidelines for Posting on Ansys Learning Forumn
Viewing 1 reply thread
  • You must be logged in to reply to this topic.