Skip to content

Aerodynamic drag and J2#125

Draft
adamdempsey90 wants to merge 5 commits into
developfrom
dempsey/drag2
Draft

Aerodynamic drag and J2#125
adamdempsey90 wants to merge 5 commits into
developfrom
dempsey/drag2

Conversation

@adamdempsey90

@adamdempsey90 adamdempsey90 commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Background

This adds one model of aerodynamic drag to the Nbody particles as well as a J2 component to their potential.

Still draft. TODO

  • Test
  • Include J2 in particle-particle gravity? Or find out how to add this to rebound if possible.
  • Add a spin axis unit vector to the particles and use that in the J2.

Closes #124

Description of Changes

Checklist

  • New features are documented
  • Tests added for bug fixes and new features
  • (@lanl.gov employees) Update copyright on changed files
  • Any contribution that was created or modified with the assistance of generative AI must have a comment disclosing this such as // This file was created in part or in whole by generative AI

Comment thread src/nbody/particle_base.hpp
Comment thread src/nbody/particle_base.hpp Outdated
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.

Add drag and J2 to particles

1 participant