Skip to content

Feature actuator disk with variable load - #1027

Merged
EttoreSaetta merged 45 commits into
developfrom
feature_actuatordisk_variableload
Jul 11, 2020
Merged

Feature actuator disk with variable load#1027
EttoreSaetta merged 45 commits into
developfrom
feature_actuatordisk_variableload

Conversation

@EttoreSaetta

@EttoreSaetta EttoreSaetta commented Jun 18, 2020

Copy link
Copy Markdown
Contributor

Proposed Changes

Addition of a new actuator disk model with a variable load and swirl distributions along disk radius.

Contributors:
Theoretical and Applied Aerodynamic Research Group (TAARG) of University of Naples Federico II.
EttoreSaetta, lorenzorusso07, rtogna.

Related Work

Introduction of new options in the config. file.
Introduction of an additional input file that contains the propeller data.
Introduction of additional c++ functions.
Addition of code lines to existing functions preserving the original actuator disk model.

PR Checklist

  • [X ] I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags).
  • [ X] My contribution is commented and consistent with SU2 style.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary.

@pr-triage pr-triage Bot added the PR: draft label Jun 18, 2020
@EttoreSaetta EttoreSaetta changed the title Update config_template.cfg Feature actuator disk with variable load Jun 18, 2020
@juanjosealonso

juanjosealonso commented Jun 18, 2020 via email

Copy link
Copy Markdown
Member

@EttoreSaetta

Copy link
Copy Markdown
Contributor Author

Ettore, Thanks for submitting this. I thought you gave an excellent presentation at the SU2 Conference and the much better actuator disk model you and your colleagues have put together will surely be useful to many people. Thanks for participating and being a member of the SU2 Community. Please stay healthy and well and I hope to meet you in person next time we have a meeting (fingers crossed….maybe next year?). Best wishes, Juan

On Jun 18, 2020, at 1:27 AM, SaettaE @.***> wrote: Proposed Changes Addition of a new actuator disk model with a variable load and swirl distributions along disk radius. Contributors: Theoretical and Applied Aerodynamic Research Group (TAARG) of University of Naples Federico II. EttoreSaetta, lorenzorusso07, rtogna. Related Work Introduction of new options in the config. file. Introduction of an additional input file that contains the propeller data. Introduction of additional c++ functions. Addition of code lines to existing functions preserving the original actuator disk model. PR Checklist [X ] I am submitting my contribution to the develop branch. My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags). [ X] My contribution is commented and consistent with SU2 style. I have added a test case that demonstrates my contribution, if necessary. I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary. You can view, comment on, or merge this pull request online at: #1027 <#1027> Commit Summary Update config_template.cfg File Changes M config_template.cfg https://github.com/su2code/SU2/pull/1027/files#diff-2c2f226c0183e7633cf165c6d3862450 (5) Patch Links: https://github.com/su2code/SU2/pull/1027.patch https://github.com/su2code/SU2/pull/1027.patch https://github.com/su2code/SU2/pull/1027.diff https://github.com/su2code/SU2/pull/1027.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1027>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5FFRGLBAHYBVTV3GBSLATRXHFYXANCNFSM4OBLB3CQ.

Thank you very much, I hope we can give an useful contribution.
I hope to see you in person too.

Best regards,
Ettore

@EttoreSaetta
EttoreSaetta marked this pull request as ready for review July 3, 2020 18:15
@EttoreSaetta
EttoreSaetta requested a review from economon July 4, 2020 09:09
@EttoreSaetta

Copy link
Copy Markdown
Contributor Author

Hello @EttoreSaetta,
I'm glad we got a pull request out of the meeting, especially one so well written like this one, very tidy code.
I leave a few comments below in case you want to polish it up even more.
Cheers,
Pedro

Hello @pcarruscag,
thank you for reviewing our code and for all the valuable advice.
We are going to make the changes you suggest as soon as possible.

Have a nice day,
Ettore

@pcarruscag pcarruscag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks. Couple more things I noticed.

Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated

@pcarruscag pcarruscag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes LGTM, it would be nice if that section of code that does the reading could go to a separate function, unless it needs a lot of the information available where you have it now.

Let's try and get another review so that this PR can be merged before #1044.

Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated
@EttoreSaetta

Copy link
Copy Markdown
Contributor Author

Thank you for the changes LGTM, it would be nice if that section of code that does the reading could go to a separate function, unless it needs a lot of the information available where you have it now.

Let's try and get another review so that this PR can be merged before #1044.

Yes, we planned to put that piece of code into a separate function tomorrow. So I will try and push a commit for another review tomorrow.
Thank you again for all the advice.

Comment thread SU2_CFD/include/solvers/CSolver.hpp Outdated
Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated
Comment thread SU2_CFD/src/solvers/CEulerSolver.cpp Outdated
@EttoreSaetta

Copy link
Copy Markdown
Contributor Author

Thank you for the review @pcarruscag.
I merge the pull request.

@EttoreSaetta
EttoreSaetta merged commit 476cd96 into develop Jul 11, 2020
@EttoreSaetta
EttoreSaetta deleted the feature_actuatordisk_variableload branch July 11, 2020 09:43
@pcarruscag

Copy link
Copy Markdown
Member

Anytime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants