Corrected global Cd per SiboVG

Corrected omission of global Cd as suggested by @SiboVG.
This commit is contained in:
hcraigmiller 2022-05-24 13:22:35 -07:00 committed by GitHub
parent cf7763ab6e
commit d5e3c718aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,7 @@ public class Streamer extends RecoveryDevice {
@Override
public double getComponentCD(double mach) {
double density = this.getMaterial().getDensity();
double cd;
cd = 0.034 * ((density + 0.025) / 0.105) * (stripLength + 1) / stripLength;
cd = MathUtil.min(cd, MAX_COMPUTED_CD);
return cd;