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.nosp@m.@ste.nosp@m.p.pol.nosp@m.ymtl.nosp@m..ca) 30-08-1995
Code clean-up, modifications to include more 5-digit sections:
Shamim Mohamed (shami.nosp@m.m@sy.nosp@m.nopsy.nosp@m.s.co.nosp@m.m) 8-09-1995
corrected & modified to encapsulate into C++ class
by Tomasz Grabowski (tgrab.nosp@m.@mei.nosp@m.l.pw..nosp@m.edu..nosp@m.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. | |
NACA_PROFILE class to generate 4-digit and 5-digit naca airfoils
Created by Alexandre Naaman (hoser.nosp@m.@ste.nosp@m.p.pol.nosp@m.ymtl.nosp@m..ca) 30-08-1995
Code clean-up, modifications to include more 5-digit sections:
Shamim Mohamed (shami.nosp@m.m@sy.nosp@m.nopsy.nosp@m.s.co.nosp@m.m) 8-09-1995
corrected & modified to encapsulate into C++ class
by Tomasz Grabowski (tgrab.nosp@m.@mei.nosp@m.l.pw..nosp@m.edu..nosp@m.pl) Jan.2012
included to PanuklConfigLib 20.11.2020.
NACA_PROFILE::~NACA_PROFILE | ( | void | ) |
int NACA_PROFILE::generate_naca | ( | char * | cNACA, |
int | NN = 100 ) |
generates naca airfoil coordinates (NN points) and stores it in vectores X and Z
Definition at line 268 of file naca.cpp.
int NACA_PROFILE::generate_naca | ( | char * | file_name, |
char * | cNACA ) |
generates naca airfoil coordinates (NN points) and stores it in file "file_name"
Definition at line 295 of file naca.cpp.
int NACA_PROFILE::generate_naca | ( | char * | name, |
int | num, | ||
FILE * | fp ) |
generates naca airfoil coordinates (NN points) and stores it in file defined by stream "fp"
Definition at line 314 of file naca.cpp.
Referenced by generate_naca(), and AIRFOIL::ReadNaca().
|
inline |
TE=1 forces the zero thickness trailing edge.
Definition at line 108 of file naca.h.
Referenced by AIRFOIL::ReadNaca().
int NACA_PROFILE::N |
coordiantes vectors' size
Definition at line 112 of file naca.h.
Referenced by generate_naca(), and AIRFOIL::ReadNaca().
double* NACA_PROFILE::X |
double* NACA_PROFILE::Z |