gmultiph Class Reference

#include <gmultiphase.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_capgg (double pw, double pg, double t, long ipp)
double get_capgt (double pw, double pg, double t, long ipp)
double get_capgw (double pw, double pg, double t, long ipp)
double get_captg (double pw, double pg, double t, long ipp)
double get_captt (double pw, double pg, double t, long ipp)
double get_captw (double pw, double pg, double t, long ipp)
double get_capwg (double pw, double pg, double t, long ipp)
double get_capwt (double pw, double pg, double t, long ipp)
double get_capww (double pw, double pg, double t, long ipp)
double get_fc1 (double pw, double pg, double t, long ipp)
double get_fg (double pw, double pg, double t, long ipp)
double get_ft1 (double pw, double pg, double t, long ipp)
double get_kgg (double pw, double pg, double t, long ipp)
double get_kgt (double pw, double pg, double t, long ipp)
double get_kgw (double pw, double pg, double t, long ipp)
double get_ktg (double pw, double pg, double t, long ipp)
double get_ktt1 (double pw, double pg, double t, long ipp)
double get_ktt2 (double pw, double pg, double t, long ipp)
double get_ktt2a (double pw, double pg, double t, long ipp)
double get_ktt2b (double pw, double pg, double t, long ipp)
double get_ktt2c (double pw, double pg, double t, long ipp)
double get_ktt2d (double pw, double pg, double t, long ipp)
double get_ktw (double pw, double pg, double t, long ipp)
double get_kwg (double pw, double pg, double t, long ipp)
double get_kwt (double pw, double pg, double t, long ipp)
double get_kww (double pw, double pg, double t, long ipp)
double get_othervalue (long compother, long ipp, double *r)
double get_transmission_flux_tt (double bv, double trr, double pw, double pg, double t, long bc, long ipp)
double get_transmission_flux_ww (double bv, double pw, double pg, double t, long bc, long ipp)
double get_transmission_nodval_tt (double bv, double trr, double pw, double pg, double t, long bc, long ipp)
double get_transmission_nodval_ww (double bv, double pw, double pg, double t, long bc, long ipp)
double get_transmission_transcoeff_tt (double pw, double pg, double t, long bc, long ipp)
double get_transmission_transcoeff_ww (double pw, double pg, double t, long bc, long ipp)
 gmultiph ()
double heat_rate (double stime, double time)
void matcap (double &c, long ri, long ci, long ipp)
void matcond (matrix &d, long ri, long ci, long ipp)
void matcond1d (matrix &d, long ri, long ci, long ipp)
void matcond1d_2 (matrix &d, long ri, long ci, long ipp)
void matcond2 (matrix &d, long ri, long ci, long ipp)
void matcond2d (matrix &d, long ri, long ci, long ipp)
void matcond2d_2 (matrix &d, long ri, long ci, long ipp)
void matcond3d (matrix &d, long ri, long ci, long ipp)
void matcond3d_2 (matrix &d, long ri, long ci, long ipp)
void print_othervalue_name (FILE *out, long compother)
void rhs1d1 (matrix &d, long ri, long ci, long ipp)
void rhs2d1 (matrix &d, long ri, long ci, long ipp)
void rhs3d1 (matrix &d, long ri, long ci, long ipp)
void rhs_volume (matrix &d, long ri, long ci, long ipp)
double transmission_flux (double nodval, double trc2, long ri, long ci, long nn, long bc, long ipp)
double transmission_nodval (double nodval, double trc2, long ri, long ci, long nn, long bc, long ipp)
double transmission_transcoeff (double trc, long ri, long ci, long nn, long bc, long ipp)
void values_correction (vector &nv)
 ~gmultiph ()

Private Attributes

double gasr
double ma
double mw
double scale_pg
double scale_pw
double scale_t

Detailed Description

Definition at line 6 of file gmultiphase.h.


Constructor & Destructor Documentation

gmultiph (  ) 

Definition at line 23 of file gmultiphase.cpp.

References gasr, ma, mw, probdesct::scale, scale_pg, scale_pw, scale_t, and Tp.

~gmultiph (  ) 

Definition at line 33 of file gmultiphase.cpp.


Member Function Documentation

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

function checks if capillary pressure is higher than maximum

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

TKr, 18.5.2005

Definition at line 817 of file gmultiphase.cpp.

Referenced by get_capgg(), get_capgt(), get_capgw(), get_captg(), get_captt(), get_captw(), get_capwg(), get_capwt(), get_capww(), get_fc1(), get_fg(), get_ft1(), get_kgg(), get_kgw(), get_ktt1(), get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), get_ktw(), get_kwg(), get_kww(), get_transmission_flux_tt(), get_transmission_flux_ww(), get_transmission_nodval_tt(), get_transmission_nodval_ww(), get_transmission_transcoeff_tt(), get_transmission_transcoeff_ww(), and values_correction().

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

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

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

TKr, 18.5.2005

Definition at line 858 of file gmultiphase.cpp.

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

function checks if gass pressure is greater than vapour pressure

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

TKr, 18.5.2005

Definition at line 784 of file gmultiphase.cpp.

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

Referenced by get_capgg(), get_capgt(), get_capgw(), get_captg(), get_captt(), get_captw(), get_capwg(), get_capwt(), get_capww(), get_fc1(), get_fg(), get_ft1(), get_kgg(), get_kgw(), get_ktt1(), get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), get_ktw(), get_kwg(), get_kww(), get_transmission_flux_tt(), get_transmission_flux_ww(), get_transmission_nodval_tt(), get_transmission_nodval_ww(), get_transmission_transcoeff_tt(), get_transmission_transcoeff_ww(), and values_correction().

double get_capgg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
capgg - capacity coefficient

Definition at line 1147 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_alpha(), state_eq::get_dpgw_dpc(), state_eq::get_ds_dpc(), state_eq::get_ks(), state_eq::get_phi(), state_eq::get_rhoga(), state_eq::get_s(), ma, and mw.

Referenced by matcap().

double get_capgt ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
capgt - capacity coefficient

Definition at line 1283 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_alpha(), state_eq::get_betasg_c(), state_eq::get_dpgw_dt(), state_eq::get_ds_dt(), state_eq::get_ks(), state_eq::get_pgw(), state_eq::get_phi(), state_eq::get_rhoga(), state_eq::get_s(), ma, and mw.

Referenced by matcap().

double get_capgw ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
capgw - capacity coefficient

Definition at line 1223 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_alpha(), state_eq::get_dpgw_dpc(), state_eq::get_ds_dpc(), state_eq::get_ks(), state_eq::get_phi(), state_eq::get_rhoga(), state_eq::get_s(), and mw.

Referenced by matcap().

double get_captg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
captg - capacity coefficient

Definition at line 1617 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_alpha(), state_eq::get_dhvap(), state_eq::get_ds_dpc(), state_eq::get_ks(), state_eq::get_kw(), state_eq::get_phi(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcap().

double get_captt ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
captt - capacity coefficient

Definition at line 1481 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_alpha(), state_eq::get_betasw_c(), state_eq::get_dhvap(), state_eq::get_ds_dt(), state_eq::get_ks(), state_eq::get_phi(), state_eq::get_rhocp(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcap().

double get_captw ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
captw - capacity coefficient

Definition at line 1558 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_alpha(), state_eq::get_dhvap(), state_eq::get_ds_dpc(), state_eq::get_ks(), state_eq::get_kw(), state_eq::get_phi(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcap().

double get_capwg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
capwg - capacity coefficient

Definition at line 1003 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_alpha(), state_eq::get_dpgw_dpc(), state_eq::get_ds_dpc(), state_eq::get_ks(), state_eq::get_phi(), state_eq::get_rhogw(), state_eq::get_rhow(), state_eq::get_s(), and mw.

Referenced by matcap().

double get_capwt ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
capwt - capacity coefficient

Definition at line 1065 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_alpha(), state_eq::get_betaswg_c(), state_eq::get_dpgw_dt(), state_eq::get_ds_dt(), state_eq::get_ks(), state_eq::get_pgw(), state_eq::get_phi(), state_eq::get_rhogw(), state_eq::get_rhow(), state_eq::get_s(), and mw.

Referenced by matcap().

double get_capww ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates capacity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
capww - capacity coefficient

Definition at line 921 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_alpha(), state_eq::get_dpgw_dpc(), state_eq::get_ds_dpc(), state_eq::get_ks(), state_eq::get_phi(), state_eq::get_rhogw(), state_eq::get_rhow(), state_eq::get_s(), and mw.

Referenced by matcap().

double get_fc1 ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates right-hand side coefficient of a general material for c medium

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

Definition at line 1658 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_kintr(), state_eq::get_krg(), state_eq::get_krw(), state_eq::get_mug(), state_eq::get_muw(), state_eq::get_rhog(), state_eq::get_rhogw(), and state_eq::get_rhow().

Referenced by rhs1d1(), rhs2d1(), and rhs3d1().

double get_fg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates right-hand side coefficient of a general material for g medium

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

Definition at line 1692 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_kintr(), state_eq::get_krg(), state_eq::get_mug(), state_eq::get_rhog(), and state_eq::get_rhoga().

Referenced by rhs1d1(), rhs2d1(), and rhs3d1().

double get_ft1 ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates right-hand side coefficient of a general material for t medium

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

Definition at line 1723 of file gmultiphase.cpp.

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

Referenced by rhs1d1(), rhs2d1(), and rhs3d1().

double get_kgg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
kgg - conductivity coefficient

Definition at line 1108 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dg(), state_eq::get_dpgw_dpc(), state_eq::get_kintr(), state_eq::get_krg(), state_eq::get_mg(), state_eq::get_mug(), state_eq::get_pgw(), state_eq::get_rhog(), state_eq::get_rhoga(), ma, and mw.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_kgt ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
kgt - conductivity coefficient

Definition at line 1264 of file gmultiphase.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_kgw ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
kgw - conductivity coefficient

Definition at line 1187 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dg(), state_eq::get_dpgw_dpc(), state_eq::get_mg(), state_eq::get_rhog(), ma, and mw.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_ktg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktg - conductivity coefficient

Definition at line 1599 of file gmultiphase.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_ktt1 ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material - first part

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktt1 - conductivity coefficient

Definition at line 1325 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), and state_eq::get_lambdaeff().

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_ktt2 ( double  pw,
double  pg,
double  t,
long  ipp 
)
double get_ktt2a ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material - second (A) part (convective term)

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktt2a - conductivity coefficient

Definition at line 1356 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_cpw(), state_eq::get_kintr(), state_eq::get_krw(), state_eq::get_muw(), state_eq::get_phi(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcond1d_2(), matcond2d_2(), and matcond3d_2().

double get_ktt2b ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material - second (B) part (convective term)

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktt2b - conductivity coefficient

Definition at line 1390 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_cpg(), state_eq::get_kintr(), state_eq::get_krg(), state_eq::get_mug(), state_eq::get_phi(), state_eq::get_rhog(), and state_eq::get_s().

Referenced by matcond1d_2(), matcond2d_2(), and matcond3d_2().

double get_ktt2c ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material - second (C) part (convective term)

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktt2c - conductivity coefficient

Definition at line 1425 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), and state_eq::get_rhow().

Referenced by matcond1d_2(), matcond2d_2(), and matcond3d_2().

double get_ktt2d ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material - second (D) part (convective term)

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktt2d - conductivity coefficient

Definition at line 1453 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), and state_eq::get_rhog().

Referenced by matcond1d_2(), matcond2d_2(), and matcond3d_2().

double get_ktw ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
ktw - conductivity coefficient

Definition at line 1522 of file gmultiphase.cpp.

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

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_kwg ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
kwg - conductivity coefficient

Definition at line 962 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dg(), state_eq::get_dpgw_dpc(), state_eq::get_kintr(), state_eq::get_krg(), state_eq::get_mg(), state_eq::get_mug(), state_eq::get_pgw(), state_eq::get_rhogw(), state_eq::get_rhow(), ma, and mw.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_kwt ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
kwt - conductivity coefficient

Definition at line 1046 of file gmultiphase.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_kww ( double  pw,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
ipp - number of integration point
Return values:
kww - conductivity coefficient

Definition at line 883 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dg(), state_eq::get_dpgw_dpc(), state_eq::get_kintr(), state_eq::get_krw(), state_eq::get_mg(), state_eq::get_muw(), state_eq::get_rhog(), state_eq::get_rhow(), ma, and mw.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double get_othervalue ( long  compother,
long  ipp,
double *  r 
)

function computes all variables in nodes

Parameters:
compother - number of other components
ipp - first integration point on element
pw - capillary pressure on actual node
pg - gas pressure on actual node
t - temperature on actual node

Definition at line 2204 of file gmultiphase.cpp.

References state_eq::get_pgw(), state_eq::get_rh(), state_eq::get_s(), state_eq::get_w(), and other.

Referenced by med3::compute_othervalues().

double get_transmission_flux_tt ( double  bv,
double  trr,
double  pw,
double  pg,
double  t,
long  bc,
long  ipp 
)

function creates flux on the boundary (transmission - convective mass transfer) for c medium

Parameters:
bv - prescribed value near the boundary
trr - trr coefficient
pw - actual capillary pressure on the boundary
pg - actual capillary gas pressure on the boundary
t - actual temperature on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 2141 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), heat_rate(), probdesct::time, and Tp.

Referenced by transmission_flux().

double get_transmission_flux_ww ( double  bv,
double  pw,
double  pg,
double  t,
long  bc,
long  ipp 
)

function creates flux on the boundary (transmission - convective mass transfer) for pw

Parameters:
bv - prescribed value near the boundary
pw - actual capillary pressure on the boundary
pg - actual capillary gas pressure on the boundary
t - actual temperature on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 1946 of file gmultiphase.cpp.

References cappress_check(), flux, gaspress_check(), gasr, state_eq::get_pgws(), state_eq::get_rhogw(), heat_rate(), mw, probdesct::time, and Tp.

Referenced by transmission_flux().

double get_transmission_nodval_tt ( double  bv,
double  trr,
double  pw,
double  pg,
double  t,
long  bc,
long  ipp 
)

function creates correct new nodal value on the boundary (transmission) for t medium

Parameters:
bv - value of prescribed value near the boundary
trr - trr coefficient
pw - actual capillary pressure on the boundary
pg - actual capillary gas pressure on the boundary
t - actual temperature on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 2095 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), heat_rate(), probdesct::time, and Tp.

Referenced by transmission_nodval().

double get_transmission_nodval_ww ( double  bv,
double  pw,
double  pg,
double  t,
long  bc,
long  ipp 
)

function creates correct new nodal value on the boundary (transmission) for pw

Parameters:
bv - prescribed value near the boundary
pw - actual capillary pressure on the boundary
pg - actual capillary gas pressure on the boundary
t - actual temperature on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 1831 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_pgws(), state_eq::get_rhogw(), state_eq::get_rhow(), heat_rate(), mw, probdesct::time, and Tp.

Referenced by transmission_nodval().

double get_transmission_transcoeff_tt ( double  pw,
double  pg,
double  t,
long  bc,
long  ipp 
)

function creates correct transfer coefficient on the boundary (transmission) for t medium

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 2046 of file gmultiphase.cpp.

References cappress_check(), and gaspress_check().

Referenced by transmission_transcoeff().

double get_transmission_transcoeff_ww ( double  pw,
double  pg,
double  t,
long  bc,
long  ipp 
)

function creates correct transfer coefficient on the boundary (transmission) for pw

Parameters:
pw - capillary pressure
pg - capillary gas pressure
t - temperature
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 1758 of file gmultiphase.cpp.

References cappress_check(), gaspress_check(), gasr, state_eq::get_pgws(), state_eq::get_rhow(), and mw.

Referenced by transmission_transcoeff().

double heat_rate ( double  stime,
double  time 
)

function computes temperature curve of heating rate up to 300deg. C

Parameters:
stime - starting time
time - current time

Definition at line 2182 of file gmultiphase.cpp.

Referenced by get_transmission_flux_tt(), get_transmission_flux_ww(), get_transmission_nodval_tt(), and get_transmission_nodval_ww().

void matcap ( double &  c,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material

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

Definition at line 216 of file gmultiphase.cpp.

References intpointst::av, get_capgg(), get_capgt(), get_capgw(), get_captg(), get_captt(), get_captw(), get_capwg(), get_capwt(), get_capww(), transmat::ip, and Tm.

Referenced by med3::matcap().

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

function computes conductivity matrix of the material in the required integration point

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

Definition at line 47 of file gmultiphase.cpp.

References matcond1d(), matcond2d(), matcond3d(), and matrix::n.

Referenced by med3::matcond().

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

function creates conductivity matrix of the material for 1D problems

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

Definition at line 81 of file gmultiphase.cpp.

References intpointst::av, get_kgg(), get_kgt(), get_kgw(), get_ktg(), get_ktt1(), get_ktw(), get_kwg(), get_kwt(), get_kww(), transmat::ip, and Tm.

Referenced by matcond().

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

function creates conductivity matrix of the material for 1D problems (convective term)

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

Definition at line 295 of file gmultiphase.cpp.

References intpointst::av, fillm(), g, get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), transmat::ip, and Tm.

Referenced by matcond2().

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

function computes conductivity matrix of the material in the required integration point

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

Definition at line 259 of file gmultiphase.cpp.

References matcond1d_2(), matcond2d_2(), matcond3d_2(), and matrix::n.

Referenced by med3::matcond2().

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

function creates conductivity matrix of the material for 2D problems

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

Definition at line 123 of file gmultiphase.cpp.

References intpointst::av, fillm(), get_kgg(), get_kgt(), get_kgw(), get_ktg(), get_ktt1(), get_ktw(), get_kwg(), get_kwt(), get_kww(), transmat::ip, and Tm.

Referenced by matcond().

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

function creates conductivity matrix of the material for 1D problems (convective term)

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

Definition at line 333 of file gmultiphase.cpp.

References intpointst::av, fillm(), g, get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), transmat::ip, and Tm.

Referenced by matcond2().

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

function creates conductivity matrix of the material for 3D problems

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

Definition at line 169 of file gmultiphase.cpp.

References intpointst::av, fillm(), get_kgg(), get_kgt(), get_kgw(), get_ktg(), get_ktt1(), get_ktw(), get_kwg(), get_kwt(), get_kww(), transmat::ip, and Tm.

Referenced by matcond().

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

function creates conductivity matrix of the material for 1D problems (convective term)

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

Definition at line 378 of file gmultiphase.cpp.

References intpointst::av, fillm(), g, get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), transmat::ip, and Tm.

Referenced by matcond2().

void print_othervalue_name ( FILE *  out,
long  compother 
)

function prints names of all variables in nodes

Parameters:
out - output file
compother - number of other components

Definition at line 2257 of file gmultiphase.cpp.

Referenced by med3::print_othervaluesnames().

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

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

Parameters:
d - right-hand matrix of the material ...
ipp - number of integration point

Definition at line 460 of file gmultiphase.cpp.

References intpointst::av, f, fillm(), g, get_fc1(), get_fg(), get_ft1(), transmat::ip, and Tm.

Referenced by rhs_volume().

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

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

Parameters:
d - right-hand matrix of the material ...
ipp - number of integration point

Definition at line 501 of file gmultiphase.cpp.

References intpointst::av, f, fillm(), g, get_fc1(), get_fg(), get_ft1(), transmat::ip, and Tm.

Referenced by rhs_volume().

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

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

Parameters:
d - right-hand matrix of the material ...
ipp - number of integration point

Definition at line 551 of file gmultiphase.cpp.

References intpointst::av, f, fillm(), g, get_fc1(), get_fg(), get_ft1(), transmat::ip, and Tm.

Referenced by rhs_volume().

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

function computes volume part of right-hand side matrix in the required integration point

Parameters:
d - right-hand side matrix of material ...
ipp - number of integration point

11.2.2003

Definition at line 429 of file gmultiphase.cpp.

References matrix::m, rhs1d1(), rhs2d1(), and rhs3d1().

Referenced by med3::rhs_volume().

double transmission_flux ( double  nodval,
double  trc2,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes flux (for transmission_vector) for boundary condition (third kind of boundary condition)

Parameters:
nodval - prescribed nodal value
trc2 - second prescribed transmission coefficient on the boundary, if is needed (for example heat radiation coef.)
ri - row index
ci - column index
nn - number of node
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 730 of file gmultiphase.cpp.

References get_transmission_flux_tt(), get_transmission_flux_ww(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

Referenced by med3::transmission_flux().

double transmission_nodval ( double  nodval,
double  trc2,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes new nodal value (for transmission_vector) for boundary condition (third kind of boundary condition)

Parameters:
nodval - prescribed nodal value
trc2 - second prescribed transmission coefficient on the boundary, if is needed (for example heat radiation coef.)
ri - row index
ci - column index
nn - number of node
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 673 of file gmultiphase.cpp.

References get_transmission_nodval_tt(), get_transmission_nodval_ww(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

Referenced by med3::transmission_nodval().

double transmission_transcoeff ( double  trc,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes new transmission coefficient (for transmission_vector) for boundary condition (third kind of boundary condition)

Parameters:
trc - prescribed transmission coefficient on the boundary
ri - row index
ci - column index
nn - number of node
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 615 of file gmultiphase.cpp.

References get_transmission_transcoeff_tt(), get_transmission_transcoeff_ww(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

Referenced by med3::transmission_transcoeff().

void values_correction ( vector nv  ) 

Definition at line 865 of file gmultiphase.cpp.

References cappress_check(), and gaspress_check().

Referenced by transmat::values_correction().


Member Data Documentation

double gasr [private]
double ma [private]

Definition at line 86 of file gmultiphase.h.

Referenced by get_capgg(), get_capgt(), get_kgg(), get_kgw(), get_kwg(), get_kww(), and gmultiph().

double mw [private]
double scale_pg [private]

Definition at line 90 of file gmultiphase.h.

Referenced by gmultiph().

double scale_pw [private]

Definition at line 90 of file gmultiphase.h.

Referenced by gmultiph().

double scale_t [private]

Definition at line 90 of file gmultiphase.h.

Referenced by gmultiph().


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

Generated by  doxygen 1.6.2