CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
panukl_ngh.h
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2015 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2015 */
7/*********************************************************************/
8/* */
9/* File: panukl_ngh.h */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - ngh file data (wake and neighbours) class */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#ifndef _PANUKL_NGH_H_
21#define _PANUKL_NGH_H_
22
23#include "iofun.h"
24
26
27class NGH_FILE : public IOFUN
28{
29 public:
30
31 char INP_file[256];
32 char DAT_file[256];
33
34 double dAlfa;
35 double dBeta;
36 double dAngleTE;
37 double dAngleNGH;
38 double dLastPanel;
39
48
49 char NGH_file[256];
50
51 NGH_FILE( void );
52 ~NGH_FILE( void );
53
55 void Clean( void );
57 int ReadNGH( char *FileName );
59 int WriteNGH( char *Filename );
60
61};
62
63#endif /*_PANUKL_NGH_H_*/
Simple I/O functions class.
Definition iofun.h:42
Parameters file for Neigh program - wake and neighbours calculation.
Definition panukl_ngh.h:28
double dLastPanel
length of wake - MAC multiplicator (default 20)
Definition panukl_ngh.h:38
double dAlfa
angle of attack [deg] - active in case iWakeType = 1,3,4,6
Definition panukl_ngh.h:34
double dAngleTE
angle of trailing edge [deg], which determines wake creation (Kutta-Joukovsky condition)
Definition panukl_ngh.h:36
double dBeta
sideslip angle [deg] - active in case iWakeType = 2,3,5,6
Definition panukl_ngh.h:35
char INP_file[256]
data (mesh) file [.INP] - input
Definition panukl_ngh.h:31
int ReadNGH(char *FileName)
reads parameters [.ngh] file
char NGH_file[256]
name of current [.ngh] file
Definition panukl_ngh.h:49
double dAngleNGH
max. value of angle [deg] (max. 90) between panels for which panels are treated as neighbouring
Definition panukl_ngh.h:37
int iWakeType
Type of wake: 0 - wake paralel to MAC, 1 - wake with downwash due to angle of attack,...
Definition panukl_ngh.h:47
int WriteNGH(char *Filename)
writes parameters [.ngh] file
void Clean(void)
cleans local variables
char DAT_file[256]
data (mesh+wake) file [.DAT] - output
Definition panukl_ngh.h:32
This file contains some smart I/O functions.