OpenWAM
TCCExternalConnection.h
1 // ---------------------------------------------------------------------------
2 
3 #ifndef TCCExternalConnectionH
4 #define TCCExternalConnectionH
5 // ---------------------------------------------------------------------------
6 
7 #include "TCondicionContorno.h"
8 
10  private:
11 
12  dVector FUExt;
13  dVector FTExt;
14  dVector FPExt;
15 
16  dVector FDExt;
17  dVector FAExt;
18 
19  double FDeltaX;
20 
21  double FCurrentTime;
22 
23  double FA_AExt;
24  double FK_CExt;
25 
26  double FP_Boundary;
27  double FT_Boundary;
28  double FU_Boundary;
29 
30  double *FCC; // Caracteristica conocida del tubo.
31  double *FCD; // Caracteristica desconocida del tubo.
32 
33  int FNodoFin;
34  int FIndiceCC;
35 
36  int FID;
37 
38  protected:
39 
40  public:
41  TCCExternalConnection(nmTypeBC TipoCC, int numCC, nmTipoCalculoEspecies SpeciesModel, int numeroespecies,
42  nmCalculoGamma GammaCalculation, bool ThereIsEGR);
43 
45 
46  void UpdateCurrentExternalProperties(double U0, double U1, double T0, double T1, double P0, double P1, double t);
47 
48  void AsignGeometricalData(double D0, double D1, double deltaX);
49 
50  void ExternalCharacteristics(double Time);
51 
52  void CalculaCondicionContorno(double Time);
53 
54  void ReadBoundaryData(const char *FileWAM, fpos_t &filepos, int NumberOfPipes, TTubo **Pipe, int nDPF, TDPF **DPF);
55 
56  int GetID() {
57  return FID;
58  }
59  ;
60 
61  void LoadNewData(double* p, double* T, double* u);
62 
63 };
64 #endif
TTubo
a Finite differences pipe.
Definition: TTubo.h:116
TCCExternalConnection
Definition: TCCExternalConnection.h:9
TDPF
Definition: TDPF.h:45
TCondicionContorno
Definition: TCondicionContorno.h:54
dVector
std::vector< double > dVector
Double vector.
Definition: Math_wam.h:70