CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
panukl_prj.h
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2015 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2015 */
7/*********************************************************************/
8/* */
9/* File: panukl_prj.h */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - prj file data (SDSA creation) class */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#ifndef _PANUKL_PRJ_H_
21#define _PANUKL_PRJ_H_
22
23#include "iofun.h"
24
26
27class PANUKL_PRJ : public IOFUN
28{
29 public:
30
31 char SDSA_dir[256];
32 int iH;
33 int iL;
34 int iV;
35
36 double dAlfa0;
37 double dAlfak;
38 double dAlf;
39 double dBeta;
40 double dP;
41 double dQ;
42 double dR;
43 double dMa0;
44 double dMak;
45 double dMa;
46 double dH;
47 double dL;
48 double dV;
49
50 double dCfe;
51 double dAoA_max;
52
53 char DAT_file[256];
54 char DAT_file1[256];
55 char DAT_file2[256];
56 char DAT_file3[256];
57
60 int iProc;
61
62 int iNum1;
63 int iNum2;
64 int iMeth;
65 int iAngle;
66 int iPitchX;
67
68 double dXNum1;
69 double dXNum2;
70
71 PANUKL_PRJ( void );
72 ~PANUKL_PRJ( void );
73
75 void Clean();
77 int Read( char *PrjFile );
79 int Write( char *PrjFile );
80};
81
82#endif /*_PANUKL_PRJ_H_*/
Simple I/O functions class.
Definition iofun.h:42
Parameters file for PanProject program - creates data set for SDSA.
Definition panukl_prj.h:28
int iNum2
number of the last panel taken for global coefficients calculation
Definition panukl_prj.h:63
double dAlfa0
left (lower) bound of angle of attack [deg]
Definition panukl_prj.h:36
double dV
rudder deflection corresponding to mesh from DAT_file3 [deg]
Definition panukl_prj.h:48
char SDSA_dir[256]
path name for output - aerodynamic data files set for SDSA
Definition panukl_prj.h:31
char DAT_file1[256]
data (mesh+wake) file [.DAT] elevator deflected
Definition panukl_prj.h:54
int iCompress
compressibility flag (0-none, 1-Prandtl-Galuert, 2-Karman-Tsien, 3-direct)
Definition panukl_prj.h:58
double dAlf
step of angle of attack [deg]
Definition panukl_prj.h:38
char DAT_file3[256]
data (mesh+wake) file [.DAT] rudder deflected
Definition panukl_prj.h:56
int iMaxProc
max number of parallel process (shouldn't be greater than real number of CPUs (cores)
Definition panukl_prj.h:59
double dH
elevator deflection corresponding to mesh from DAT_file1 [deg]
Definition panukl_prj.h:46
int iPitchX
flag to take X component of forces for pitching moment calculation(0/1)
Definition panukl_prj.h:66
int iH
flag to compute configuration with elevator deflected (0/1)
Definition panukl_prj.h:32
double dBeta
sideslip angle [deg]
Definition panukl_prj.h:39
double dMak
right (upper) bound of Mach number range
Definition panukl_prj.h:44
double dL
aileron deflection corresponding to mesh from DAT_file2 [deg]
Definition panukl_prj.h:47
double dXNum2
upper bound of range of X coordinate taken for global coefficients calculation
Definition panukl_prj.h:69
int iProc
current number of CPUs (cores) - set by program
Definition panukl_prj.h:60
double dP
roll rate [rad/s]
Definition panukl_prj.h:40
int iMeth
number of differentiation method (see PANUKL manual)
Definition panukl_prj.h:64
double dR
yaw rate [rad/s]
Definition panukl_prj.h:42
double dAlfak
right (upper) bound of angle of attack [deg]
Definition panukl_prj.h:37
double dMa0
left (lower) bound of Mach number range
Definition panukl_prj.h:43
void Clean()
cleans local variables
char DAT_file2[256]
data (mesh+wake) file [.DAT] aileron deflected
Definition panukl_prj.h:55
int iV
flag to compute configuration with rudder deflected (0/1)
Definition panukl_prj.h:34
int Write(char *PrjFile)
writes the [.prj] file
double dAoA_max
max. value of angle of attack [deg]
Definition panukl_prj.h:51
char DAT_file[256]
data (mesh+wake) file [.DAT] for basic configuration
Definition panukl_prj.h:53
double dCfe
parasite drag coefficient
Definition panukl_prj.h:50
double dMa
step of Mach number
Definition panukl_prj.h:45
double dXNum1
lower bound of range of X coordinate taken for global coefficients calculation
Definition panukl_prj.h:68
int iAngle
averaging flag (0/1)
Definition panukl_prj.h:65
int iL
flag to compute configuration with aileron deflected (0/1)
Definition panukl_prj.h:33
int iNum1
number of the first panel taken for global coefficients calculation
Definition panukl_prj.h:62
int Read(char *PrjFile)
reads the [.prj] file
double dQ
pitch rate [rad/s]
Definition panukl_prj.h:41
This file contains some smart I/O functions.