Platform

Platform

Topics relate to optiSLang, HPC, DesignXplorer, Cloud and more

Download MATLAB toolbox AnsysAAS

    • abnispel
      Subscriber

      Hello,


      I need to download the  MATLAB toolbox AnsysAAS to connect matlab with ANSYS.


      Unfortunately, when I tried to do it the server ask me for my username and password, which I don't have because I hold an student licence.


      then, I was wondering if I have to get a difference licence in order to download this toolbox.


      cheers in advance


      Abraham Nispel


      Phd. Student at TTU

    • peteroznewman
      Subscriber

      I'm reading the instructions on this blog.


      1. Download ANSYS aaS Matlab toolbox (supports Matlab R2014b to 2016a) from ANSYS Customer Portal.


      Unfortunately, the ANSYS Customer Portal is not available to Students.


      Customers on a paid Commercial or Research license have access to the ANSYS Customer Portal.

    • vganore
      Ansys Employee

       Abraham, please find out whether your university/professor has a paid TECS license. If yes, then you would be able to get access to ANSYS customer portal.


      Here is the short tutorial showing how to connect Matlab with ANSYS (Fluent): 


      https://www.youtube.com/watch?v=td0rV_4IXI4&feature=youtu.be

    • PA_Klink_Speck
      Subscriber

      Hi,


      we need help as well with the aas Toolbox. How is it possible to connect the toolbox with workbench instead of fluent?


      Thank you very much

    • vganore
      Ansys Employee

      Not sure about Workbench but are you trying to connect Matlab with Mechanical APDL?

    • PA_Klink_Speck
      Subscriber

      We don't Need the MAPDL.


      We just need to connect Matlab with Fluent but we need to transfer variables so it should be more easy to connect both programs with workbench.

    • vganore
      Ansys Employee

      Ok. Let me find out solution to this internally. Stay tuned -

    • vganore
      Ansys Employee
      Here is the information you need:
       
      A small example has been posted last year on one AAS blog at http://www.ansys-blog.com/how-to-make-matlab-apps-for-ansys/.
       
      Step by step details are provided in the KB2043289 (link also provided in the public blog) at https://support.ansys.com/AnsysCustomerPortal/en_us/Knowledge%20Resources/Solutions/FLUENT/2042389.
       


      1. The user has to start WB in aaS mode (details provided in the pdf in the solution)

      2. Initialize AAS in Matlab


        • orb=initialize_orb();

        • load_ansys_aas();


      3. Connect to WB from Matlab


        • actwbserver(‘aaS_WbId.txt’)


      4. Create a variable in WB from Matlab (this is a structure that includes all the info in the Schematic)


        • execwbcommand(‘systems=GetAllSystems()’)


      5. Retrieve the content of the WB variable in Matlab


        • querywbvariable(‘systems’)




       
      The particular example in the blog shows how to retrieve information about the content of WB schematic. Any WB variable though will be retrieved in the same way:


      1. create the variable (either from WB or from Matalab)

      2. from Matlab query the content of the variable using its name

    • PA_Klink_Speck
      Subscriber

      Thank you very much for you answer, but we have an issue with starting the WB in aaS mode. We just started working with ANSYS so we don't know what the Standard workbench command is. Is it the command window we used in the picture? Which comment should we type in (we tried those in the picture) but it didn't work out?


      And we also have another question is it also possible to connect ANSYS and Matlab with the external Connection? Or is the easiest way to connect them both with the Matlab Toolbox.


      Thank you very much


       

    • shazimy
      Subscriber

      Hello,


       


      Were you able to link workbench to Matlab?


      I would appreciate it if you share your findings.


       


      Shahab

Viewing 9 reply threads
  • You must be logged in to reply to this topic.