Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is ready to be merged.
Feature or improvement description
Adds a segment-based treecode algorithm based on the current particle-based treecode algorithm.
It removes the need to choose a number of approximating particles:
A new option is added for VelocityMethod in the FVW input file. The segment treecode is VelocityMethod=4
The method gives results equivalent to the existing treecode using several particles but has a computational load similar to the existing treecode with only one particle. It improves the accuracy compared to the one particle method while it has a similar computational cost. The computational cost is slightly higher than the one particle method due to the more demanding moment computation.
Impacted areas of the software
OLAF in AeroDyn, documentation
Tasklist
Tests
Switching from regular segment to tree segment in the Quad-Rotor tests case had the following change in result (negligible) requiring to change the baselines.