62 int Read(
char *PolarFile );
64 int Write(
char *PolarFile );
Simple I/O functions class.
Parameters file for PanProject program - creates POLAR for particular A/C configuration (grid+wake fi...
double dXNum2
upper bound of range of X coordinate taken for global coefficients calculation
int Read(char *PolarFile)
reads the [.plr] file
char POLAR_dir[256]
path name for output - aerodynamic data files to create POLAR
int iProc
current number of CPUs (cores) - set by program
char DAT_file[256]
data (grid+wake) file [.DAT] for A/C configuration
double dAlf
step of angle of attack [deg]
int iAngle
averaging flag (0/1)
void Clean()
cleans local variables
int iPitchX
flag to take X component of forces for pitching moment calculation(0/1)
int iMeth
number of differentiation method (see PANUKL manual)
double dXNum1
lower bound of range of X coordinate taken for global coefficients calculation
int iNum2
number of the last panel taken for global coefficients calculation
double dCfe
parasite drag coefficient
int iCompress
compressibility flag (0-none, 1-Prandtl-Galuert, 2-Karman-Tsien, 3-direct)
double dAlfa0
left (lower) bound of angle of attack [deg]
double dAlfak
right (upper) bound of angle of attack [deg]
int iMaxProc
max number of parallel process (shouldn't be greater than real number of CPUs (cores)
char OUT_file[256]
output polar file [.TXT]
int Write(char *PolarFile)
writes the [.plr] file
int iNum1
number of the first panel taken for global coefficients calculation
This file contains some smart I/O functions.