Skip to content

Conversation

@jtgrasb
Copy link
Contributor

@jtgrasb jtgrasb commented Nov 3, 2021

I altered the Read_AQWA function so that it can account for headers in the LIS file (resolves issue #683). AQWA places the headers in different places for the Froude-Krylov and Diffraction Forces depending on the amount of frequencies being run. The updated Read_AQWA function keeps a count of when a header is placed in order to skip the header and only read in the relevant data.

Testing FIles

Troubleshoot effort
@jtgrasb jtgrasb linked an issue Nov 3, 2021 that may be closed by this pull request
@jtgrasb
Copy link
Contributor Author

jtgrasb commented Nov 17, 2021

I also updated the script to fix a bug that derives from my last PR for Read_AQWA. The added_mass was being overwritten with zeros the way I initially wrote the code so this commit fixes the added_mass readings.

@jtgrasb jtgrasb added the Bug bug in WEC-Sim source, high priority label Nov 17, 2021
@kmruehl kmruehl added the BEM/BEMIO related to BEMIO or BEM hydro data label Nov 17, 2021
@kmruehl kmruehl self-requested a review November 17, 2021 15:28
@jtgrasb jtgrasb changed the base branch from dev to master November 17, 2021 15:31
@Devsh93
Copy link

Devsh93 commented Nov 19, 2021

Can you please upload updated github zip

@Devsh93
Copy link

Devsh93 commented Nov 19, 2021

Error using wecSim (line 46)
['RM3/Global Reference Frame/Solver Configuration']: Error evaluating equations at time
0.0045000000000000005. Stopping simulation. There may be a singularity in the solution. If not, try
reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Caused by:
Error using wecSim (line 46)
['RM3/Floating (3DOF)/CONSTRAINT (Planar Joint)']: 'RM3/Floating (3DOF)/CONSTRAINT (Planar Joint)' has a degenerate mass distribution on its follower side.

@jtgrasb
Copy link
Contributor Author

jtgrasb commented Nov 29, 2021

@Devsh93 It seems like you had some issues with the RM3 AQWA example? I updated the AH1 and LIS files as I realized they weren't from my latest run -- thanks for catching it! For some reason, it won't let me upload a .zip file here, but let me know if you still need it and I can find a different way to upload.

@kmruehl
Copy link
Collaborator

kmruehl commented Dec 7, 2021

@jtgrasb this PR resolves issues with the READ_AQWA script, so I'd like to merge that. However, the RM3 AQWA BEM solution for looks like it has an irregular frequency issue that's causing IRF instabilities. Have you compared this AQWA solution to the other RM3 runs? Did you run this case with an internal lid?

image
image

@kmruehl
Copy link
Collaborator

kmruehl commented Dec 7, 2021

@jtgrasb I'm going to merge this, but will reference this AQWA RM3 comment in another issue/pr

@kmruehl kmruehl merged commit 596c822 into WEC-Sim:master Dec 7, 2021
@kmruehl kmruehl mentioned this pull request Dec 7, 2021
@kmruehl
Copy link
Collaborator

kmruehl commented Dec 7, 2021

@jtgrasb would you like to delete this branch?

@jtgrasb jtgrasb deleted the Read_AQWA branch December 8, 2021 14:23
@jtgrasb
Copy link
Contributor Author

jtgrasb commented Dec 8, 2021

@kmruehl Thanks! I deleted it and I will address the RM3 issue in the other PR.

@jtgrasb jtgrasb mentioned this pull request Mar 16, 2022
kmruehl added a commit that referenced this pull request Mar 16, 2022
* Update Read_AQWA (#761)

* Update Read_AQWA

Testing FIles

Troubleshoot effort

* Fix added mass reading

* Update RM3 AQWA Example

* renaming directory to RM3 for consistancy

Co-authored-by: kmruehl <kmruehl@sandia.gov>

* bugfix updating RM3 AQWA directory in test

* Update to normalize to handle sorting mean drift forces (#808)

* Update wecSimInputFile.m

Insert descriptive text so people reading the commit history can quickly identified what files were changed.

* Update Normalize.m to have correct sorting of the mean drift force coefficients.

* Update Normalize.m

There are three other instances where the function exist was replaced with isfield.

* Update Read_NEMOH.m

With changes to Normalize the mean drift forces from NEMOH were being normalized by rho and g twice. For consistency with using the normalize.m function removing the normalization from Read_NEMOH.m.

* Update wecSimInputFile.com

Not sure why this was changed, but reverting back to the example wecSimInputFile.m in hopes of eliminating this change.

* Add workflow for triggering WEC-Sim_Applications CI

* Solving conflict with pots processing script

* Solve conflicts

* Excluding files that were not change in the PR

* Revisions prior to merge

* Revised names for PTO-Sim variables

Co-authored-by: jtgrasb <87095491+jtgrasb@users.noreply.github.com>
Co-authored-by: kmruehl <kmruehl@sandia.gov>
Co-authored-by: nathanmtom <nathan.tom@nrel.gov>
Co-authored-by: Mathew Topper <damm_horse@yahoo.co.uk>
H0R5E added a commit to H0R5E/WEC-Sim that referenced this pull request Mar 17, 2022
* Update Read_AQWA (WEC-Sim#761)

* Update Read_AQWA

Testing FIles

Troubleshoot effort

* Fix added mass reading

* Update RM3 AQWA Example

* renaming directory to RM3 for consistancy

Co-authored-by: kmruehl <kmruehl@sandia.gov>

* bugfix updating RM3 AQWA directory in test

* Update to normalize to handle sorting mean drift forces (WEC-Sim#808)

* Update wecSimInputFile.m

Insert descriptive text so people reading the commit history can quickly identified what files were changed.

* Update Normalize.m to have correct sorting of the mean drift force coefficients.

* Update Normalize.m

There are three other instances where the function exist was replaced with isfield.

* Update Read_NEMOH.m

With changes to Normalize the mean drift forces from NEMOH were being normalized by rho and g twice. For consistency with using the normalize.m function removing the normalization from Read_NEMOH.m.

* Update wecSimInputFile.com

Not sure why this was changed, but reverting back to the example wecSimInputFile.m in hopes of eliminating this change.

* Add workflow for triggering WEC-Sim_Applications CI

* Solving conflict with pots processing script

* Solve conflicts

* Excluding files that were not change in the PR

* Revisions prior to merge

* Revised names for PTO-Sim variables

Co-authored-by: jtgrasb <87095491+jtgrasb@users.noreply.github.com>
Co-authored-by: kmruehl <kmruehl@sandia.gov>
Co-authored-by: nathanmtom <nathan.tom@nrel.gov>
Co-authored-by: Mathew Topper <damm_horse@yahoo.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BEM/BEMIO related to BEMIO or BEM hydro data Bug bug in WEC-Sim source, high priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ERROR during import data from ANSYS AQWA

3 participants