-
-
January 10, 2022 at 5:27 pm
Mike Pettit
Ansys EmployeeHello 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").closeThe 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'!
-
January 11, 2022 at 9:59 am
System
SubscriberThis discussion was created from comments split from: Unable to read PLT file when using WORKBENCH AQWA. -
March 30, 2022 at 8:37 am
khabiran
SubscriberThanks Mike The solution works. But when I add the Additional Damping, the solution doesn't affect results.
Please guide.
KR -
March 30, 2022 at 9:31 am
-
March 30, 2022 at 11:36 am
Zeman_0415
SubscriberThanks, Mike. I have tried your solution, But it still doesn't work.
The calculation is failed. The repot says "AQWA input file stage faild"
-
April 5, 2022 at 9:04 am
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
-
April 5, 2022 at 9:10 am
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
-
November 21, 2022 at 7:55 am
YU MINGH
SubscriberHi 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
-
January 21, 2023 at 10:59 am
Suleman Mujawar
SubscriberI want Coad beacuse i cant find that anywhere please help me.
Â
-
January 21, 2023 at 11:29 am
Suleman Mujawar
SubscriberCan you provid python Script ?
Â
-
Viewing 9 reply threads
- The topic ‘PLT file when using WORKBENCH AQWA’ is closed to new replies.
Innovation Space
Trending discussions
Top Contributors
-
4042
-
1461
-
1308
-
1151
-
1021
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.