multiphc Class Reference

#include <multiphasec.h>

List of all members.

Public Member Functions

void cappress_check (double &pc, double pg, double t, long ipp)
void cappress_stop (double &pc, double pg, double t, long ipp)
void gaspress_check (double pc, double &pg, double t, long ipp)
double get_capcu (double pc, double pg, double t, long ipp)
double get_capgu (double pc, double pg, double t, long ipp)
double get_captu (double pc, double pg, double t, long ipp)
double get_capuc (double pc, double pg, double t, long ipp)
double get_capug (double pc, double pg, double t, long ipp)
double get_caput (double pc, double pg, double t, long ipp)
double get_fu2 (double pc, double pg, double t, long ipp)
double get_fuc1 (double pc, double pg, double t, long ipp)
double get_fug1 (double pc, double pg, double t, long ipp)
double get_fut1 (double pc, double pg, double t, long ipp)
double get_kcu (double pc, double pg, double t, long ipp)
double get_kgu (double pc, double pg, double t, long ipp)
double get_ktu (double pc, double pg, double t, long ipp)
double get_kuc (double pc, double pg, double t, long ipp)
double get_kug (double pc, double pg, double t, long ipp)
double get_kut (double pc, double pg, double t, long ipp)
void matcap1d_l (matrix &d, long ri, long ci, long ipp)
void matcap1d_u (matrix &d, long ri, long ci, long ipp)
void matcap2d_l (matrix &d, long ri, long ci, long ipp)
void matcap2d_u (matrix &d, long ri, long ci, long ipp)
void matcap3d_l (matrix &d, long ri, long ci, long ipp)
void matcap3d_u (matrix &d, long ri, long ci, long ipp)
void matcap_l (matrix &d, long ri, long ci, long ipp)
void matcap_u (matrix &d, long ri, long ci, long ipp)
void matcond1d_l (matrix &d, long ri, long ci, long ipp)
void matcond1d_u (matrix &d, long ri, long ci, long ipp)
void matcond2d_l (matrix &d, long ri, long ci, long ipp)
void matcond2d_u (matrix &d, long ri, long ci, long ipp)
void matcond3d_l (matrix &d, long ri, long ci, long ipp)
void matcond3d_u (matrix &d, long ri, long ci, long ipp)
void matcond_l (matrix &d, long ri, long ci, long ipp)
void matcond_u (matrix &d, long ri, long ci, long ipp)
 multiphc ()
void rhs1d_u1 (matrix &d, long ri, long ci, long ipp)
void rhs1d_u2 (matrix &d, long ri, long ci, long ipp)
void rhs2d_u1 (matrix &d, long ri, long ci, long ipp)
void rhs2d_u2 (matrix &d, long ri, long ci, long ipp)
void rhs3d_u1 (matrix &d, long ri, long ci, long ipp)
void rhs3d_u2 (matrix &d, long ri, long ci, long ipp)
void rhs_u1 (matrix &d, long ri, long ci, long ipp)
void rhs_u2 (matrix &d, long ri, long ci, long ipp)
void values_correction (vector &nv)
 ~multiphc ()

Private Attributes

double scale_pc
double scale_pg
double scale_t

Detailed Description

Definition at line 6 of file multiphasec.h.


Constructor & Destructor Documentation

multiphc (  ) 

Definition at line 31 of file multiphasec.cpp.

References probdesct::scale, scale_pc, scale_pg, scale_t, and Tp.

~multiphc (  ) 

Definition at line 37 of file multiphasec.cpp.


Member Function Documentation

void cappress_check ( double &  pc,
double  pg,
double  t,
long  ipp 
)

function checks if capillary pressure is higher than maximum

Parameters:
pc - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point

TKr, 18.5.2005

Definition at line 703 of file multiphasec.cpp.

Referenced by values_correction().

void cappress_stop ( double &  pc,
double  pg,
double  t,
long  ipp 
)

function fixed capillary pressure if on one element is temperature higher than critical temperature for water

Parameters:
pc - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point

TKr, 18.5.2005

Definition at line 744 of file multiphasec.cpp.

void gaspress_check ( double  pc,
double &  pg,
double  t,
long  ipp 
)

function checks if gass pressure is greater than vapour pressure

Parameters:
pc - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point

TKr, 18.5.2005

Definition at line 672 of file multiphasec.cpp.

References intpointst::av, state_eq::get_pgw(), transmat::ip, and Tm.

Referenced by values_correction().

double get_capcu ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point
Return values:
capcu - capacity coefficient of the general material

Definition at line 800 of file multiphasec.cpp.

References state_eqcl::get_alpha(), state_eq::get_rhogw(), state_eq::get_rhow(), and state_eqcl::get_s().

Referenced by matcap1d_l(), matcap2d_l(), and matcap3d_l().

double get_capgu ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 843 of file multiphasec.cpp.

References state_eqcl::get_alpha(), state_eq::get_rhoga(), and state_eqcl::get_s().

Referenced by matcap1d_l(), matcap2d_l(), and matcap3d_l().

double get_captu ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 896 of file multiphasec.cpp.

References state_eqcl::get_alpha(), state_eq::get_dhvap(), state_eq::get_rhow(), and state_eqcl::get_s().

Referenced by matcap1d_l(), matcap2d_l(), and matcap3d_l().

double get_capuc ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 944 of file multiphasec.cpp.

Referenced by matcap1d_u(), matcap2d_u(), and matcap3d_u().

double get_capug ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 985 of file multiphasec.cpp.

Referenced by matcap1d_u(), matcap2d_u(), and matcap3d_u().

double get_caput ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 1026 of file multiphasec.cpp.

Referenced by matcap1d_u(), matcap2d_u(), and matcap3d_u().

double get_fu2 ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates first part right-hand side matrix of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point
Return values:
fu2 - first part of right-hand side matrix fu

Definition at line 1441 of file multiphasec.cpp.

References state_eq::get_phi(), state_eq::get_rhog(), state_eqcu::get_rhos(), state_eq::get_rhow(), and state_eqcu::get_s().

Referenced by rhs1d_u2(), rhs2d_u2(), and rhs3d_u2().

double get_fuc1 ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates first part right-hand side matrix of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point
Return values:
fug1 - first part of right-hand side matrix fu

Definition at line 1227 of file multiphasec.cpp.

References state_eqcu::get_alpha(), and state_eqcu::get_s().

Referenced by rhs1d_u1(), rhs2d_u1(), and rhs3d_u1().

double get_fug1 ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates first part right-hand side matrix of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point
Return values:
fug1 - first part of right-hand side matrix fu

Definition at line 1251 of file multiphasec.cpp.

References state_eqcu::get_alpha().

Referenced by rhs1d_u1(), rhs2d_u1(), and rhs3d_u1().

double get_fut1 ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates first part right-hand side matrix of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point
Return values:
fut1 - first part of right-hand side matrix fu

Definition at line 1275 of file multiphasec.cpp.

References state_eqcu::get_betas().

Referenced by rhs1d_u1(), rhs2d_u1(), and rhs3d_u1().

double get_kcu ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point
Return values:
kcu - conductivity coefficient of the general material

Definition at line 769 of file multiphasec.cpp.

References state_eqcl::get_kintr(), state_eqcl::get_krw(), state_eq::get_muw(), and state_eq::get_rhow().

Referenced by matcond1d_l(), matcond2d_l(), and matcond3d_l().

double get_kgu ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 826 of file multiphasec.cpp.

Referenced by matcond1d_l(), matcond2d_l(), and matcond3d_l().

double get_ktu ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 867 of file multiphasec.cpp.

References state_eq::get_dhvap(), state_eqcl::get_kintr(), state_eqcl::get_krw(), state_eq::get_muw(), and state_eq::get_rhow().

Referenced by matcond1d_l(), matcond2d_l(), and matcond3d_l().

double get_kuc ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 923 of file multiphasec.cpp.

References state_eqcu::get_alpha(), and state_eqcu::get_s().

Referenced by matcond1d_u(), matcond2d_u(), and matcond3d_u().

double get_kug ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperature
ipp - number of integration point

Definition at line 964 of file multiphasec.cpp.

References state_eqcu::get_alpha().

Referenced by matcond1d_u(), matcond2d_u(), and matcond3d_u().

double get_kut ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of the general material

Parameters:
pc - capilary pressure
pg - capilary gas pressure
t - temperautre
ipp - number of integration point

Definition at line 1006 of file multiphasec.cpp.

References state_eqcu::get_betas().

Referenced by matcond1d_u(), matcond2d_u(), and matcond3d_u().

void matcap1d_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material for 1D problems for lower block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 562 of file multiphasec.cpp.

References intpointsc::av, Cml, fillm(), get_capcu(), get_capgu(), get_captu(), and coupmatl::ip.

Referenced by matcap_l().

void matcap1d_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material for 1D problems for upper block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 268 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_capuc(), get_capug(), get_caput(), and coupmatu::ip.

Referenced by matcap_u().

void matcap2d_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material for 2D problems for lower block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 596 of file multiphasec.cpp.

References intpointsc::av, Cml, fillm(), get_capcu(), get_capgu(), get_captu(), and coupmatl::ip.

Referenced by matcap_l().

void matcap2d_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material for 2D problems for upper block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 302 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_capuc(), get_capug(), get_caput(), and coupmatu::ip.

Referenced by matcap_u().

void matcap3d_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material for 3D problems for lower block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 632 of file multiphasec.cpp.

References intpointsc::av, Cml, fillm(), get_capcu(), get_capgu(), get_captu(), and coupmatl::ip.

Referenced by matcap_l().

void matcap3d_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material for 3D problems for upper block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 338 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_capuc(), get_capug(), get_caput(), and coupmatu::ip.

Referenced by matcap_u().

void matcap_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes capacity matrix of the material in the required integration point for lower block

Parameters:
c - capacity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 418 of file multiphasec.cpp.

References matcap1d_l(), matcap2d_l(), matcap3d_l(), and matrix::n.

Referenced by medc3::matcap_l().

void matcap_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes capacity matrix of the material in the required integration point for upper block

Parameters:
c - capacity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 125 of file multiphasec.cpp.

References matrix::m, matcap1d_u(), matcap2d_u(), and matcap3d_u().

Referenced by medc3::matcap_u().

void matcond1d_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 1D problems for lower block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 456 of file multiphasec.cpp.

References intpointsc::av, Cml, get_kcu(), get_kgu(), get_ktu(), and coupmatl::ip.

Referenced by matcond_l().

void matcond1d_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 1D problems for upper block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 163 of file multiphasec.cpp.

References intpointsc::av, Cmu, get_kuc(), get_kug(), get_kut(), and coupmatu::ip.

Referenced by matcond_u().

void matcond2d_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 2D problems for lower block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 487 of file multiphasec.cpp.

References intpointsc::av, Cml, fillm(), get_kcu(), get_kgu(), get_ktu(), and coupmatl::ip.

Referenced by matcond_l().

void matcond2d_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 2D problems for upper block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 194 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_kuc(), get_kug(), get_kut(), and coupmatu::ip.

Referenced by matcond_u().

void matcond3d_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 3D problems for lower block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 523 of file multiphasec.cpp.

References intpointsc::av, Cml, fillm(), get_kcu(), get_kgu(), get_ktu(), and coupmatl::ip.

Referenced by matcond_l().

void matcond3d_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 3D problems for upper block

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 229 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_kuc(), get_kug(), get_kut(), and coupmatu::ip.

Referenced by matcond_u().

void matcond_l ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes conductivity matrix of the material in the required integration point for lower block

Parameters:
d - conductivity matrix of material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 381 of file multiphasec.cpp.

References matcond1d_l(), matcond2d_l(), matcond3d_l(), and matrix::n.

Referenced by medc3::matcond_l().

void matcond_u ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes conductivity matrix of the material in the required integration point for upper block

Parameters:
d - conductivity matrix of material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 55 of file multiphasec.cpp.

References Cmu, destrm(), matrix::m, matcond1d_u(), matcond2d_u(), matcond3d_u(), coupmatu::matstiff(), mxm(), and matrix::n.

Referenced by medc3::matcond_u().

void rhs1d_u1 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates right-hand-side matrix of the material for 1D problems for upper block

Parameters:
d - right-hand-side matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1120 of file multiphasec.cpp.

References intpointsc::av, Cmu, get_fuc1(), get_fug1(), get_fut1(), and coupmatu::ip.

Referenced by rhs_u1().

void rhs1d_u2 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates right-hand-side volume matrix of the material for 1D problems for upper block

Parameters:
d - right-hand-side matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1340 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), g, get_fu2(), and coupmatu::ip.

Referenced by rhs_u2().

void rhs2d_u1 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates right-hand-side matrix of the material for 2D problems for upper block

Parameters:
d - right-hand-side matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1151 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_fuc1(), get_fug1(), get_fut1(), and coupmatu::ip.

Referenced by rhs_u1().

void rhs2d_u2 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates right-hand-side volume matrix of the material for 2D problems for upper block

Parameters:
d - right-hand-side matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1371 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), g, get_fu2(), and coupmatu::ip.

Referenced by rhs_u2().

void rhs3d_u1 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates right-hand-side matrix of the material for 3D problems for upper block

Parameters:
d - right-hand-side matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1186 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), get_fuc1(), get_fug1(), get_fut1(), and coupmatu::ip.

Referenced by rhs_u1().

void rhs3d_u2 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates right-hand-side volume matrix of the material for 3D problems for upper block

Parameters:
d - right-hand-side matrix of the material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1405 of file multiphasec.cpp.

References intpointsc::av, Cmu, fillm(), g, get_fu2(), and coupmatu::ip.

Referenced by rhs_u2().

void rhs_u1 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes right-hand-side matrix of the material in the required integration point for upper block

Parameters:
d - right-hand-side matrix of material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1049 of file multiphasec.cpp.

References Cmu, destrm(), matrix::m, coupmatu::matstiff(), mxm(), matrix::n, rhs1d_u1(), rhs2d_u1(), and rhs3d_u1().

Referenced by medc3::rhs_u1().

void rhs_u2 ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes right-hand-side volume matrix of the material in the required integration point for upper block

Parameters:
d - right-hand-side matrix of material
ri - row index
ci - column index
ipp - number of integration point

17.07.2005

Definition at line 1302 of file multiphasec.cpp.

References matrix::m, rhs1d_u2(), rhs2d_u2(), and rhs3d_u2().

Referenced by medc3::rhs_volume().

void values_correction ( vector nv  ) 

Definition at line 751 of file multiphasec.cpp.

References cappress_check(), and gaspress_check().


Member Data Documentation

double scale_pc [private]

Definition at line 67 of file multiphasec.h.

Referenced by multiphc().

double scale_pg [private]

Definition at line 67 of file multiphasec.h.

Referenced by multiphc().

double scale_t [private]

Definition at line 67 of file multiphasec.h.

Referenced by multiphc().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2