CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
panukl_plr.h
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2019 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2019 */
7/*********************************************************************/
8/* */
9/* File: panukl_plr.h */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - plr file data (POLAR creation) class */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#ifndef _PANUKL_PLR_H_
21#define _PANUKL_PLR_H_
22
23#include "iofun.h"
24
26
27class PANUKL_PLR : public IOFUN
28{
29 public:
30
31 char POLAR_dir[256];
32
33 double dAlfa0;
34 double dAlfak;
35 double dAlf;
36 double dMa;
37
38 double dCfe;
39
40 char DAT_file[256];
41 char OUT_file[256];
42
45 int iProc;
46
47 int iNum1;
48 int iNum2;
49 int iMeth;
50 int iAngle;
51 int iPitchX;
52
53 double dXNum1;
54 double dXNum2;
55
56 PANUKL_PLR( void );
57 ~PANUKL_PLR( void );
58
60 void Clean();
62 int Read( char *PolarFile );
64 int Write( char *PolarFile );
65};
66
67#endif /*_PANUKL_PLR_H_*/
Simple I/O functions class.
Definition iofun.h:42
Parameters file for PanProject program - creates POLAR for particular A/C configuration (grid+wake fi...
Definition panukl_plr.h:28
double dXNum2
upper bound of range of X coordinate taken for global coefficients calculation
Definition panukl_plr.h:54
int Read(char *PolarFile)
reads the [.plr] file
char POLAR_dir[256]
path name for output - aerodynamic data files to create POLAR
Definition panukl_plr.h:31
int iProc
current number of CPUs (cores) - set by program
Definition panukl_plr.h:45
char DAT_file[256]
data (grid+wake) file [.DAT] for A/C configuration
Definition panukl_plr.h:40
double dAlf
step of angle of attack [deg]
Definition panukl_plr.h:35
int iAngle
averaging flag (0/1)
Definition panukl_plr.h:50
void Clean()
cleans local variables
int iPitchX
flag to take X component of forces for pitching moment calculation(0/1)
Definition panukl_plr.h:51
int iMeth
number of differentiation method (see PANUKL manual)
Definition panukl_plr.h:49
double dMa
Mach number.
Definition panukl_plr.h:36
double dXNum1
lower bound of range of X coordinate taken for global coefficients calculation
Definition panukl_plr.h:53
int iNum2
number of the last panel taken for global coefficients calculation
Definition panukl_plr.h:48
double dCfe
parasite drag coefficient
Definition panukl_plr.h:38
int iCompress
compressibility flag (0-none, 1-Prandtl-Galuert, 2-Karman-Tsien, 3-direct)
Definition panukl_plr.h:43
double dAlfa0
left (lower) bound of angle of attack [deg]
Definition panukl_plr.h:33
double dAlfak
right (upper) bound of angle of attack [deg]
Definition panukl_plr.h:34
int iMaxProc
max number of parallel process (shouldn't be greater than real number of CPUs (cores)
Definition panukl_plr.h:44
char OUT_file[256]
output polar file [.TXT]
Definition panukl_plr.h:41
int Write(char *PolarFile)
writes the [.plr] file
int iNum1
number of the first panel taken for global coefficients calculation
Definition panukl_plr.h:47
This file contains some smart I/O functions.