-
Notifications
You must be signed in to change notification settings - Fork 184
Read_AQWA Update #694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read_AQWA Update #694
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtgrasb We have been wanting to add additional AQWA example files and update the BEMIO AQWA function to handle the latest changes to the AQWA output. I have never used AQWA so being able to read and provide input on the .AH1, .LIS, and .dat files are limited and my only request are if there are any input files you can add to these examples cases to illustrate what features were turned on when AQWA is run? If there are not input files can we list the common options utilized to generate these files, perhaps in a readMe.txt format? I only ask is that @dforbush2 and I have updated the BEMIO_AQWA file before and struggle sometimes to know if the errors are from changes in the AQWA output format or if the user used an input file with several different/new options.
Second, when you mention that Read_AQWA can import multiple version, how did you check this? It would be helpful if we also add a TEST case in bemioTest.m where we can check older AQWA outputs.
Third, have you had a chance to compare the hydrodynamics between WAMIT and AQWA for the same example case? There was some discussions earlier this year that we might have an error in the hydrodynamics pulled from AQWA, but the people who identified the problem never seemed to follow-up or respond to our inquiries. If we compare the .h5 files for the same case we should pretty quickly be able to see if there is an error in the signs of the hydrodynamic coefficients.
Lastly, it does look like there is a conflict in the bemioTest.m that needs to be resolved. After this, I see no problem incorporating these changes into the Dev branch as we work to address my other comments above which are more related to developing additional checks and better cataloguing these changes to make it easier in the future.
Let me know if you have any questions, comments, or other.
|
@nathanmtom Thank you for the comments!
|
|
@jtgrasb Thanks for your responses as they are helpful to understand the decisions made when drafting this pull request. Re: Comments
Happy to discuss any other questions or comments you have during the next WEC-Sim development team meeting. |
|
@nathanmtom |
|
The example cases are taking extra time to ensure they are running properly, so I think it is best to implement this PR with the Read_AQWA updates now (seeing issue #734). This PR now contains one AQWA example case for the RM3 device, an update to the bemioTest.m script, and an update to the Read_AQWA.m function which solves issue #734. I will keep working on the example cases and make another PR in the future. |
kmruehl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtgrasb Thank you!
I added AQWA example cases to match what we have for WAMIT, Capytaine, and NEMOH. I also updated the Read_AQWA function to work for all example cases and multiple versions.