69 int ReadPRS(
const char *FileName );
71 int WritePRS(
const char *Filename );
75 void DefFile(
char *cRob,
char *cFile,
const char *cExt );
Simple I/O functions class.
Parameters file for Press program (computation of pressure distribution)
void Clean(void)
cleans local variables
char SDS_file[256]
output file - the same as [.out] in SDSA format [.sdsa]
int iNXY_Eps
number of mesh nodes for velocity field calculation longwise X (iEps=2) or Y (iEps=1) axis
int iPitchX
flag to take X component of forces for pitching moment calculation(0/1)
double dYX1_Eps
Y coordinate of left bound (or X in case iEps=2) of plane where velocity field is calculated.
double dYX2_Eps
Y coordinate of right bound (or X in case iEps=2) of plane where velocity field is calculated.
int iMach
compressibility flag (0-none, 1-Prandtl-Galuert, 2-Karman-Tsien) - not active in case compressibility...
int iAngle
averaging flag (0/1)
int iInd
calculation of induced drag - flag (0,1)
double dZ1_Eps
Z coordinate of lower bound of plane where velocity field is calculated.
int iMeth
number of differentiation method (see PANUKL manual)
char CZY_file[256]
output file - spanwise loads distribution [.czy]
int iEps
calculation of velocity and downwash distribution - flag (0-none,1-YZ plane,2-XZ plane)
double dZ2_Eps
Z coordinate of upper bound of plane where velocity field is calculated.
double dXNum2
upper bound of range of X coordinate taken for global coefficients calculation
double dXEps
X coordinate (or Y coordinate in case iEps=2) of plane where velocity field is calculated.
char PAN_file[256]
input file - doublet distribution file [.PAN]
int iNum2
number of the last panel taken for global coefficients calculation
double dMach
Mach number to take into account compressibility effect - not active in case compressibility was set ...
char PRS_file[256]
name of current [.prs] file
int iNum1
number of the first panel taken for global coefficients calculation
char TXT_file[256]
output file - pressure distribution [.txt] and other results
int iOutFiles
flag to control output files names: 0 - automatic names derived from PRS_file, 1 - set by user
char DAT_file[256]
input file - mesh + wake data file [.DAT]
double dXNum1
lower bound of range of X coordinate taken for global coefficients calculation
char EPS_file[256]
output file - velocity and downwash distribution [.eps]
void DefNames(char *OUTdir)
set default names of output files
int WritePRS(const char *Filename)
writes the [.prs] file
int iNZ_Eps
number of mesh nodes for velocity field calculation longwise Z
void DefFile(char *cRob, char *cFile, const char *cExt)
set default name if it is empty
int ReadPRS(const char *FileName)
reads the [.prs] file
char OUT_file[256]
output file - aerodynamic forces and moments coefficients & other global results [....
char BLN_file[256]
output file - contour of cross section [.bln]
This file contains some smart I/O functions.