Represents a set of aerodynamic fins attached to a rocket stage. More...
#include <FinSet.h>
Public Member Functions | |
FinSet (const std::string &name, int numberOfFins, double rootChord, double tipChord, double span, double sweepLength, double thickness, double materialDensity) | |
Constructs a new FinSet. | |
~FinSet ()=default | |
Default destructor. | |
double | calculateNormalForceCoefficient () const |
Calculates the normal force coefficient contribution of the fin set. | |
double | calculateCenterOfPressure () const |
Calculates the location of the center of pressure contribution of the fin set. | |
double | calculateDragArea () const |
Calculates the drag area contribution of the fins. | |
double | calculateMass () const |
Calculates the total mass of the fin set. | |
const std::string & | getName () const |
Gets the name of the fin set. | |
Private Member Functions | |
double | calculateSingleFinArea () const |
Helper method to calculate the planform area of a single fin. | |
Private Attributes | |
std::string | name_ |
Name of the fin set. | |
int | numberOfFins_ |
Number of fins in the set. | |
double | rootChord_ |
Root chord length [m]. | |
double | tipChord_ |
Tip chord length [m]. | |
double | span_ |
Span (distance from airframe to tip) [m]. | |
double | sweepLength_ |
Sweep length (leading edge sweep) [m]. | |
double | thickness_ |
Thickness of fin [m]. | |
double | materialDensity_ |
Material density [kg/m3]. | |
Represents a set of aerodynamic fins attached to a rocket stage.
The FinSet class models stability contributions, drag effects, and center of pressure location based on fin geometry and number.
FinSet::FinSet | ( | const std::string & | name, |
int | numberOfFins, | ||
double | rootChord, | ||
double | tipChord, | ||
double | span, | ||
double | sweepLength, | ||
double | thickness, | ||
double | materialDensity ) |
Constructs a new FinSet.
name | Name of the fin set. |
numberOfFins | Number of fins in the set. |
rootChord | Root chord length (meters). |
tipChord | Tip chord length (meters). |
span | Fin span (meters). |
sweepLength | Sweep length of the fin (meters). |
thickness | Fin thickness (meters). |
materialDensity | Density of fin material (kg/m3). |
|
default |
Default destructor.
double FinSet::calculateCenterOfPressure | ( | ) | const |
Calculates the location of the center of pressure contribution of the fin set.
double FinSet::calculateDragArea | ( | ) | const |
Calculates the drag area contribution of the fins.
double FinSet::calculateMass | ( | ) | const |
Calculates the total mass of the fin set.
double FinSet::calculateNormalForceCoefficient | ( | ) | const |
Calculates the normal force coefficient contribution of the fin set.
|
private |
Helper method to calculate the planform area of a single fin.
const std::string & FinSet::getName | ( | ) | const |
Gets the name of the fin set.
|
private |
Material density [kg/m3].
|
private |
Name of the fin set.
|
private |
Number of fins in the set.
|
private |
Root chord length [m].
|
private |
Span (distance from airframe to tip) [m].
|
private |
Sweep length (leading edge sweep) [m].
|
private |
Thickness of fin [m].
|
private |
Tip chord length [m].