- 积分
- 6
- 注册时间
- 2009-1-3
- 仿真币
-
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2012-8-20 10:45:03
|
显示全部楼层
来自 美国
本帖最后由 rock_cumt 于 2012-8-21 00:47 编辑
class TET: public Uobj { // derived class of Uobj
public:
Uball *t_b[4];
int b[4];
int fb[4]; //fake id, is the id for Fball fb;
int tet_fc[4]; //ID: four face of each tetrahedron;
double tet_ln[6]; //length of six edge of each tetrahedron;
int neig[4];
Udvect vec[4]; //I(x-x0)+J(y-y0)+K(z-z0)=0
Udvect tet_cen; // the center coordinate of the tetrahedron domain,Tetc.x, Tetc.y, Tetc.z;
double tet_pre; //the presure of tetrahedron domain;
double tet_con; //the concentration of tetrahedron domain;
double tet_tvol; //the totall volume of tetrahedron domain;
double tet_pvol; //pore volume of tetrahedron domain;
double tet_por; //porosity of domain, Tetd_pvolume/Tetd_volume;
double tet_sto; //the property of storage;
double tet_tem; //temperature of domain for fluid;
double tet_frac_s; //volume fracture spacing by fracture density;
//bool tet_active; //totally solid, not active, no comunication with others; can be replace by porosity;
int t_bd; //0--not boundary ,1 --boundary
double t_kcon; //hydraulic conductivity; which is the function of permeabiltiy;
double t_aper; //fracture aperture in this domain;
int id; // tetrahedron id ;
int fixp; // 0--none, 1--boundary fixed pressure
//2--injection well fixed pressure;
//3--injection well with fixed flow rate
int fixc; // fixed with certain concentration as boundary;
bool del; // the tet is outside of the sample, delte;
bool act; // if porosity is 0, not active
public:
TET(unsigned long ulID=0, bool bClone=false, bool bRegister=false);
~TET(void) {}
const char *Name(void) const { return("Tetrahedron"); }
unsigned long Type(void) const { return(UTET); }
Uobj *Clone(unsigned long ulID=0) const;
//calculate the properties of the tetrahedron domain;
void tet_properti(void){};
void set_center(void);
void set_pressure(void);
void set_volume(void);
void set_storage(void);
void write(Ufile &fi) const;
void read(Ufile &fi);
void remap(void);
};
#endif
|
|