Repository navigation
Fix rotor-speed scaling of servo-flap aerodynamic spring - #14
Merged
Merged
Conversation
Include omega squared in the BEM feathering stiffness, matching its physical units and the VPM spring. Add signed-offset, multi-speed DC balance regression coverage and correct the documented equations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Align servo-flap feathering dynamics across the BEM and VPM models, correcting the missing rotor-speed-squared factor and making the stiffness, pitching-moment units, and directional checks consistent.
I_theta * omega^2) in the BEM DC trim and VPM time-domain equation; document that the approximation and total-stiffness stability condition.Model scope and validation limits
These tests check internal physical consistency and expected qualitative behavior; they are not quantitative experimental validation. This PR does not establish accuracy against measured or published servo-flap amplitudes, phase, trim, or damping across operating conditions. The centrifugal pitch stiffness uses a thin-blade approximation (
I_theta * omega^2), not a detailed spanwise mass-distribution model.VPM feathering and flapping interact through their shared section loads. The BEM flapping correction remains a post-sweep hub-load adjustment, not a fully coupled flap/feather solve.
Validation
cargo fmt --checkcargo test --release --workspacecargo test --release -p dynbem_rs --lib servoflap::tests(9 passed)cargo test --release -p dynbem_rs --lib vpm::march::feathering_tests(2 passed)cargo run --release -p validation_rs -- servo_flap(17 passed)cargo run --release -p validation_rs -- cyclic_phase_servo(4 passed)uv run maturin develop --release --manifest-path dynbem\Cargo.tomluv run pytest tests\ -q(200 passed, 5 xfailed, 1 xpassed)git diff --check