![]() |
CONFIG LIB
1.5
Configuration Files Library (by TGG 2020)
|
NACA_PROFILE class to generate 4-digit and 5-digit naca airfoils
Created by Alexandre Naaman (hoser@step.polymtl.ca) 30-08-1995
Code clean-up, modifications to include more 5-digit sections:
Shamim Mohamed (shamim@synopsys.com) 8-09-1995
corrected & modified to encapsulate into C++ class
by Tomasz Grabowski (tgrab@meil.pw.edu.pl) Jan.2012
included to PanuklConfigLib 20.11.2020.
More...
#include <naca.h>
Public Member Functions | |
| int | generate_naca (char *name, int num, FILE *fp) |
| generates naca airfoil coordinates (NN points) and stores it in file defined by stream "fp" | |
| int | generate_naca (char *file_name, char *cNACA) |
| generates naca airfoil coordinates (NN points) and stores it in file "file_name" | |
| int | generate_naca (char *cNACA, int NN=100) |
| generates naca airfoil coordinates (NN points) and stores it in vectores X and Z | |
| void | setTE0 (int TE=1) |
| TE=1 forces the zero thickness trailing edge. | |
Public Attributes | |
| double * | X |
| x coordinates vector | |
| double * | Z |
| z coordinates vecotr | |
| int | N |
| coordiantes vectors' size | |
Additional Inherited Members | |
Static Public Member Functions inherited from MEMFUN | |
| static void * | operator new (size_t st, const char *text="(unknown)", int ierr_print=1) |
| Overloaded "new" operator initializing object with zeros. More... | |
NACA_PROFILE class to generate 4-digit and 5-digit naca airfoils
Created by Alexandre Naaman (hoser@step.polymtl.ca) 30-08-1995
Code clean-up, modifications to include more 5-digit sections:
Shamim Mohamed (shamim@synopsys.com) 8-09-1995
corrected & modified to encapsulate into C++ class
by Tomasz Grabowski (tgrab@meil.pw.edu.pl) Jan.2012
included to PanuklConfigLib 20.11.2020.