Skip to content

Conversation

@JoePfeiffer
Copy link
Contributor

Clean up code for BarrowmanCalculator::calculateFrictionCD() and move code for computing friction CD to the appropriate subclasses of RocketComponentCalc.

Two unit test failures are from scripting issues

Simulation results for a tube fin rocket match the (wildly inaccurate) results from before this PR:

Motor Old New Flight Data
C6 2549 2549 695.5
B6 734 734 352
A8 211 211 N/A

Move actual friction CD calculation code into subclasses of RocketComponentCalc()

LaunchLugCalc adds so little wetted area it isn't worth bothering with, so isn't calculated (wasn't calculated before, either)

TubeFinSetCalc also doesn't calculate it; that's coming next.
@JoePfeiffer JoePfeiffer marked this pull request as draft April 10, 2022 15:50
@JoePfeiffer JoePfeiffer marked this pull request as ready for review April 15, 2022 23:08
@SiboVG SiboVG merged commit 1fd4dff into openrocket:unstable Apr 19, 2022
@JoePfeiffer JoePfeiffer deleted the refactor-friction-drag branch April 19, 2022 22:11
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

Successfully merging this pull request may close these issues.

2 participants