drag

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

README

drag

Aerodynamic drag modeling system that calculates drag forces on rockets during flight.

Notes

  • Implements different drag coefficient calculation methods
  • Accounts for varying Mach numbers and Reynolds numbers
  • Supports component-based drag calculation for complex geometries
  • Handles both subsonic and supersonic flight regimes
  • Provides accurate drag prediction based on atmospheric conditions
  • Calculates area-based drag for different rocket components
  • Considers surface roughness effects on boundary layer behavior
  • Enables pressure and skin friction drag component analysis

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateDragForce

func CalculateDragForce(velocity, density, referenceArea float64, dragCoefficient float64) float64

CalculateDragForce computes the drag force in Newtons velocity in m/s, density in kg/m³, reference area in m²

func DragCoefficient

func DragCoefficient(mach float64) float64

DragCoefficient calculates the drag coefficient based on Mach number using approximations for different sonic regimes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL