OpenWAM
TCFDConnection.h
1 // ---------------------------------------------------------------------------
2 
3 #ifndef TCFDConnectionH
4 #define TCFDConnectionH
5 
6 #include "TCondicionContorno.h"
7 
8 #include <ctime>
9 
11  private:
12 
13  int FNodoFin; //<! Node of the pipe connected to the boundary.
14  int FIndiceCC; //<! Vector position for the pipe boundaries (0 Left node; 1 Right node)
15 
16  double *FCC; //<! Known characteristic at the boundary.
17  double *FCD; //<! Unknown characteristic at the boundary.
18 
19  char* FCFDModel; //<! CFD model name.
20  char* FCFDout;
21  char* FCFDin;
22 
23  dVector FSpecieCFD;
24 
25  int FCFDTiemStep; //<! Time step used by the cfd model.
26 
27  bool FirstTime;
28 
29  time_t FUpdateTime;
30 
31  bool FExistFile;
32 
33  protected:
34 
35  public:
36  TCFDConnection(nmTypeBC TipoCC, int numCC, nmTipoCalculoEspecies SpeciesModel, int numeroespecies,
37  nmCalculoGamma GammaCalculation, bool ThereIsEGR);
38 
39  ~TCFDConnection();
40 
41  void ReadBoundaryData(const char *FileWAM, fpos_t &filepos, int NumberOfPipes, TTubo **Pipe, int nDPF, TDPF **DPF);
42 
43  void CalculaCondicionContorno(double Time);
44 
45 };
46 // ---------------------------------------------------------------------------
47 #endif
TTubo
a Finite differences pipe.
Definition: TTubo.h:116
TDPF
Definition: TDPF.h:45
TCondicionContorno
Definition: TCondicionContorno.h:54
TCFDConnection
Definition: TCFDConnection.h:10
dVector
std::vector< double > dVector
Double vector.
Definition: Math_wam.h:70