Simple I/O functions class.
Parameters file for Neigh program - wake and neighbours calculation.
double dLastPanel
length of wake - MAC multiplicator (default 20)
double dAlfa
angle of attack [deg] - active in case iWakeType = 1,3,4,6
double dAngleTE
angle of trailing edge [deg], which determines wake creation (Kutta-Joukovsky condition)
double dBeta
sideslip angle [deg] - active in case iWakeType = 2,3,5,6
char INP_file[256]
data (mesh) file [.INP] - input
int ReadNGH(char *FileName)
reads parameters [.ngh] file
char NGH_file[256]
name of current [.ngh] file
double dAngleNGH
max. value of angle [deg] (max. 90) between panels for which panels are treated as neighbouring
int iWakeType
Type of wake: 0 - wake paralel to MAC, 1 - wake with downwash due to angle of attack,...
int WriteNGH(char *Filename)
writes parameters [.ngh] file
void Clean(void)
cleans local variables
char DAT_file[256]
data (mesh+wake) file [.DAT] - output
This file contains some smart I/O functions.