Fix typo in FinSetCalc
This commit is contained in:
parent
827da6d73a
commit
3ef3bdcbab
@ -585,6 +585,7 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator {
|
||||
final InstanceMap imap = configuration.getActiveInstances();
|
||||
for(Map.Entry<RocketComponent, ArrayList<InstanceContext>> entry: imap.entrySet() ) {
|
||||
final RocketComponent c = entry.getKey();
|
||||
|
||||
if (!c.isAerodynamic())
|
||||
continue;
|
||||
|
||||
|
@ -624,7 +624,7 @@ public class FinSetCalc extends RocketComponentCalc {
|
||||
|
||||
@Override
|
||||
public double calculateFrictionCD(FlightConditions conditions, double componentCf, WarningSet warnings) {
|
||||
double cd = componentCf * (1 + 2 * thickness / macLength) * 2;
|
||||
double cd = componentCf * (1 + 2 * thickness / macLength) * 2 * finArea / conditions.getRefArea();
|
||||
return cd;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user