CONFIG LIB  1.5
Configuration Files Library (by TGG 2020)
NACA_PROFILE Class Reference

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>

Inheritance diagram for NACA_PROFILE:
MEMFUN

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...
 

Detailed Description

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.

Definition at line 68 of file naca.h.


The documentation for this class was generated from the following files: