Skip to content
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

Intro Task: Added Mass and Buoyancy in Actuator Cylinder Model #32

Open
kevmoor opened this issue Oct 15, 2024 · 5 comments
Open

Intro Task: Added Mass and Buoyancy in Actuator Cylinder Model #32

kevmoor opened this issue Oct 15, 2024 · 5 comments

Comments

@kevmoor
Copy link
Collaborator

kevmoor commented Oct 15, 2024

Here is the intro task: copy added mass and buoyancy equations/logic from the double multiple streamtube model to the actuator cylinder model.

Successful completion will require:

  • Basic plots comparing the DMS and AC models’ added mass and buoyancy impacts using the existing RM2 plotting script
  • A pull request against OWENSAero
  • A list of recommended improvements to OWENS or its docs based on completing this task

Recommended workflow:

  1. Copy the added mass and buoyancy equations/logic from the DMS model to the AC model. This is <20 lines of addition/modification.
  1. Install OWENS https://sandialabs.github.io/OWENS.jl/dev/installation/
  • There is also a short setup and demo video for OWENS in the readme https://github.com/sandialabs/OWENS.jl.
  • Please use mac/linux if you can. If you are trying to install on Windows, don’t try to build the openfast wrappers at this point.
  • If you run into issues, we’ll do a quick working meeting.
  1. Run the RM2_medium.jl (https://github.com/sandialabs/OWENSAero.jl/blob/master/examples/RM2/RM2_medium.jl) and update to compare the current “DMS” model to the “AC” model with added mass and buoyancy.
  • There is a flag currently on “DMS” that you’d just need to change to “AC” at the minimum
  1. Create a pull request
@kevmoor
Copy link
Collaborator Author

kevmoor commented Oct 23, 2024

Should be able to finish in a day or two. Will create draft pull request

@kevmoor
Copy link
Collaborator Author

kevmoor commented Oct 29, 2024

Read through paper and code is making more sense. Kevin will send other papers on VAWT aero. Some of the non-standard variable names should be updated to be more descriptive. Global variables are confusing.

Next steps: Kevin help finish/guide code modifications, and Carlos start on the documentation updates while these questions and pain points are fresh. Kevin double check on P/T and send over.

@cmichelenstrofer
Copy link
Member

Recommended Improvements

  • Use a specific style guide. E.g.,
    • Specifically: variable naming convention.
    • Can use tools (e.g.g, Julia Formatter) to make this somewhat automatic
  • Use descriptive variable names in source code. Leave symbols for examples/tutorials.
  • Allow nslices to be different from ntheta. This is not just desired functionality but would help debug and understand variable flow.
  • Avoid Globals! These are confusing and difficult to debug.
  • Functions have too many outputs. Consider multiple smaller functions (postprocessing) or a "results" struct
  • Have a general added mass function that works for both DMS and AC instead of repeating code in both.
  • Not all function inputs are documented.

@kevmoor
Copy link
Collaborator Author

kevmoor commented Nov 20, 2024

Items to minimally finalize this task:

  • Buoyancy
  • Check that AC model hasn't changed since before since AC and DMS aren't on top of each other as expected.

Kevin push the csv files

@kevmoor
Copy link
Collaborator Author

kevmoor commented Nov 20, 2024

Just pushed the CSV files to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants