General Mechanical

General Mechanical

Can I take a surface coordinates from matlab and transform it to APDL Mechanical model?

    • Ayelet
      Hi all,
      I want to do an AQWA analysis for a semi-submersible and I need the model to be 100% parametric. I did the surface nodes and names on MATLAB and this makes it hard to create automatic mesh for difficult areas of the surface.
      I know that one can create an APDL mechanical model and use the commend " anstoaqwa " to create the appropriate mesh and AQWA form.
      My question is - can I transform all my nodes coordinates from matlab to mechanical apdl to create a model and then use the " anstoaqwa " for the input form of aqwa?
      And I would appreciate any another advice in that matter.
    • Rob
      Ansys Employee


    • Ingrid Machecler
      Ansys Employee

      Good morning,

      For and foremost, sorry for the delay in this reply.

      One you have your geometry created in an APDL format and ready to load in Mechanical (let’s say Static Structural), you will be in the position to use the AnsToAnsys APDL module.

      You only need to enter this line and trigger a solve (which will fail but this is not import).

      In the solve directory, you will find a file.aqwa file generated which corresponds to the Aqwa input file (and more importantly, the geometry which is what your are after).

      Mass and inertia are calculated from the structural model.

      There are also some defaults values set (ie, the number of wave frequencies, their spacing, etc…).

      There is a limited support for line bodies so he will need to enrich its Aqwa input file with whatever additional information needed.

      Alternatively, if you want to customize your own script and it instead of the default dll modul, you can make a copy of the Anstoaqwa macro which is located in the install (c:\Ansys inc\v[version]\ansys\apdl\) and then specify to use this macro in his APDL command (*USE command)

      I hope this helps.

      Kind regards,


    • Ingrid Machecler
      Ansys Employee

      Command is: 


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