Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products

PLT file when using WORKBENCH AQWA

    • Mike Pettit
      Ansys Employee
      Hello all We have an alternative workaround which saves you from having to copy or create any files manually. The fix uses a Python pre-solve script to create the PLD and PLS files in the solver files directory for the current analysis.
      If you are running a Hydrodynamic Diffraction analysis, or a Hydrodynamic Response frequency statistical analysis, and you need to plot graphical results for that analysis:
      Click on the Analysis Settings for that system
      Set the option External Operation before Solving to 'Run a Python Script':
      A Pre-Solve Python Script object will be added. Click on this, and in the Script Editor window you will see that some useful code is already included. Add the following after the last line of code:
      for ext in [".PLD", ".PLS"]:
      open(AqwaInputFileNoExt + ext, "a").close The Python commands will create the PLD and PLS files with the appropriate naming, and in the correct location, each time you solve this analysis.
      Note that this workaround is only valid for Release 2020 R1 and later. You will need to include these Python commands in every Hydrodynamic Diffraction or Hydrodynamic Response frequency statistical analysis for which you want to plot graphical results (this is not a universal fix for all versions/projects).
      Please let me know if you have any problems.
      Mike
      P.S. The vessel in the screenshot above is the freely-available KRISO Container Ship, search 'KRISO container ship iges'!
    • System
      Subscriber
      This discussion was created from comments split from: Unable to read PLT file when using WORKBENCH AQWA.
    • khabiran
      Subscriber
      Thanks Mike The solution works. But when I add the Additional Damping, the solution doesn't affect results.
      Please guide.
      KR
    • khabiran
      Subscriber
      As you can see, I tried to follow the Workshop Tutorial.
      By your solution, the RAOs appeared. However, When I add the Additional Damping option, The results remain unchanged.


    • Zeman_0415
      Subscriber
      Thanks, Mike. I have tried your solution, But it still doesn't work.
      The calculation is failed. The repot says "AQWA input file stage faild"

    • Mike Pettit
      Ansys Employee

      Please check your Python script carefully. If there is a typo, the Aqwa Workbench editor will give this error when it tries to write the input file. If there is still a problem, please share a screenshot of the script.
      Mike
    • Mike Pettit
      Ansys Employee

      What is the magnitude of the additional damping that you are adding in the RX-RX term? You should certainly see a change in the RAO, as long as you have entered meaningful values in the appropriate positions of the damping matrix.
      Mike
    • YU MINGH
      Subscriber

      Hi Mike,

      There is a problem after i did that. I would like to have the force &pressure so i add Pressure and Motion in Solution, But it shows that "Unable to retrieve wave elevations from PAG file". So what can i do for this? Hope your anwser!

      Yours,

      YU

    • Suleman Mujawar
      Subscriber

      I want Coad beacuse i cant find that anywhere please help me.

       

    • Suleman Mujawar
      Subscriber

      Can you provid python Script ?

       

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