|
FhSim
3.1.0
Marine systems simulation
|
#include <FoilPolar.h>
Public Member Functions | |
| FoilPolar (std::vector< double > aoa, std::vector< double > cl, std::vector< double > cd) | |
| FoilCoefficients | At (double aoa) const |
Static Public Member Functions | |
| static bool | IsValidAngleTable (const std::vector< double > &aoa) |
A tabulated foil polar: lift and drag coefficients against the angle of attack.
Coefficients between two tabulated angles are interpolated linearly. An angle outside the table holds the coefficients of the nearest end of the table.
| FoilPolar::FoilPolar | ( | std::vector< double > | aoa, |
| std::vector< double > | cl, | ||
| std::vector< double > | cd | ||
| ) |
| aoa | The tabulated angles of attack, strictly increasing (see IsValidAngleTable). |
| cl | The lift coefficient at each angle, as many as in aoa. |
| cd | The drag coefficient at each angle, as many as in aoa. |
| FoilCoefficients FoilPolar::At | ( | double | aoa | ) | const |
|
static |