multiph Class Reference

#include <multiphase.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_capcc (double pc, double pg, double t, long ipp)
double get_capcg (double pc, double pg, double t, long ipp)
double get_capct (double pc, double pg, double t, long ipp)
double get_capgc (double pc, double pg, double t, long ipp)
double get_capgg (double pc, double pg, double t, long ipp)
double get_capgt (double pc, double pg, double t, long ipp)
double get_captc (double pc, double pg, double t, long ipp)
double get_captg (double pc, double pg, double t, long ipp)
double get_captt (double pc, double pg, double t, long ipp)
double get_fc1 (double pc, double pg, double t, long ipp)
double get_fg (double pc, double pg, double t, long ipp)
double get_ft1 (double pc, double pg, double t, long ipp)
double get_kcc (double pc, double pg, double t, long ipp)
double get_kcg (double pc, double pg, double t, long ipp)
double get_kct (double pc, double pg, double t, long ipp)
double get_kgc (double pc, double pg, double t, long ipp)
double get_kgg (double pc, double pg, double t, long ipp)
double get_kgt (double pc, double pg, double t, long ipp)
double get_ktc (double pc, double pg, double t, long ipp)
double get_ktg (double pc, double pg, double t, long ipp)
double get_ktt1 (double pc, double pg, double t, long ipp)
double get_ktt2 (double pc, double pg, double t, long ipp)
double get_ktt2a (double pc, double pg, double t, long ipp)
double get_ktt2b (double pc, double pg, double t, long ipp)
double get_ktt2c (double pc, double pg, double t, long ipp)
double get_ktt2d (double pc, double pg, double t, long ipp)
double get_othervalue (long compother, long ipp, double *r)
double get_transmission_flux_cc (double bv, double pc, double pg, double t, long bc, long ipp)
double get_transmission_flux_tt (double bv, double trr, double pc, double pg, double t, long bc, long ipp)
double get_transmission_nodval_cc (double bv, double pc, double pg, double t, long bc, long ipp)
double get_transmission_nodval_tt (double bv, double trr, double pc, double pg, double t, long bc, long ipp)
double get_transmission_transcoeff_cc (double pc, double pg, double t, long bc, long ipp, int flag)
double get_transmission_transcoeff_cc (double pc, double pg, double t, long bc, long ipp)
double get_transmission_transcoeff_tt (double pc, double pg, double t, long bc, long ipp)
double heat_rate (double stime, double time)
double iso_fire (double time, double t0, double tfirestart)
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)
 multiph ()
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, int flag)
double transmission_transcoeff (double trc, long ri, long ci, long nn, long bc, long ipp)
void values_correction (vector &nv)
 ~multiph ()

Private Attributes

double gasr
double ma
double mw
double scale_pc
double scale_pg
double scale_t

Detailed Description

Definition at line 6 of file multiphase.h.


Constructor & Destructor Documentation

multiph (  ) 

Definition at line 30 of file multiphase.cpp.

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

~multiph (  ) 

Definition at line 43 of file multiphase.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 878 of file multiphase.cpp.

References print_err().

Referenced by get_capcc(), get_capcg(), get_capct(), get_capgc(), get_capgg(), get_capgt(), get_captc(), get_captg(), get_captt(), get_fc1(), get_fg(), get_ft1(), get_kcc(), get_kcg(), get_kct(), get_kgc(), get_kgg(), get_kgt(), get_ktc(), get_ktg(), get_ktt1(), get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), get_transmission_flux_cc(), get_transmission_flux_tt(), get_transmission_nodval_cc(), get_transmission_nodval_tt(), get_transmission_transcoeff_cc(), get_transmission_transcoeff_tt(), and 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 926 of file multiphase.cpp.

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

function checks if gas 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 841 of file multiphase.cpp.

References state_eq::get_pgw(), and print_err().

Referenced by get_capcc(), get_capcg(), get_capct(), get_capgc(), get_capgg(), get_capgt(), get_captc(), get_captg(), get_captt(), get_fc1(), get_fg(), get_ft1(), get_kcc(), get_kcg(), get_kct(), get_kgc(), get_kgg(), get_kgt(), get_ktc(), get_ktg(), get_ktt1(), get_ktt2a(), get_ktt2b(), get_ktt2c(), get_ktt2d(), get_transmission_flux_cc(), get_transmission_flux_tt(), get_transmission_nodval_cc(), get_transmission_nodval_tt(), get_transmission_transcoeff_cc(), get_transmission_transcoeff_tt(), and values_correction().

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

function creates capacity coefficient of a general material

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

Definition at line 994 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_drhogw_dpc(), state_eq::get_ds_dpc(), state_eq::get_phi(), state_eq::get_rhogw(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1065 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_phi(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1126 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dehydw_dt(), state_eq::get_dphi_dt(), state_eq::get_drhogw_dt(), state_eq::get_drhow_dt(), state_eq::get_ds_dt(), state_eq::get_phi(), state_eq::get_rhogw(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1257 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_drhoga_dpc(), state_eq::get_ds_dpc(), state_eq::get_phi(), state_eq::get_rhoga(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1197 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_drhoga_dpg(), state_eq::get_phi(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1319 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dphi_dt(), state_eq::get_drhoga_dt(), state_eq::get_ds_dt(), state_eq::get_phi(), state_eq::get_rhoga(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1561 of file multiphase.cpp.

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

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1622 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dhvap(), state_eq::get_phi(), and state_eq::get_s().

Referenced by matcap().

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

function creates capacity coefficient of a general material

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

Definition at line 1491 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_dehydw_dt(), state_eq::get_dhvap(), state_eq::get_dphi_dt(), state_eq::get_drhow_dt(), state_eq::get_ds_dt(), state_eq::get_fste(), state_eq::get_hydren(), state_eq::get_phi(), state_eq::get_rhocp(), state_eq::get_rhow(), and state_eq::get_s().

Referenced by matcap().

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

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

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

Definition at line 1650 of file multiphase.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  pc,
double  pg,
double  t,
long  ipp 
)

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

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

Definition at line 1684 of file multiphase.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  pc,
double  pg,
double  t,
long  ipp 
)

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

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

Definition at line 1715 of file multiphase.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_kcc ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

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

Definition at line 956 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_ddbw(), state_eq::get_deff(), state_eq::get_dpgw_dpc(), state_eq::get_ds_dpc(), state_eq::get_kintr(), state_eq::get_krw(), state_eq::get_mg(), state_eq::get_muw(), state_eq::get_rhog(), and state_eq::get_rhow().

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

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

function creates conductivity coefficient of a general material

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

Definition at line 1027 of file multiphase.cpp.

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

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

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

function creates conductivity coefficient of a general material

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

Definition at line 1093 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_deff(), state_eq::get_dpgw_dt(), state_eq::get_mg(), and state_eq::get_rhog().

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

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

function creates conductivity coefficient of a general material

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

Definition at line 1225 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_deff(), state_eq::get_dpgw_dpc(), state_eq::get_mg(), and state_eq::get_rhog().

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

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

function creates conductivity coefficient of a general material

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

Definition at line 1162 of file multiphase.cpp.

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

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

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

function creates conductivity coefficient of a general material

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

Definition at line 1287 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_deff(), state_eq::get_dpgw_dt(), state_eq::get_mg(), and state_eq::get_rhog().

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

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

function creates conductivity coefficient of a general material

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

Definition at line 1529 of file multiphase.cpp.

References cappress_check(), gaspress_check(), state_eq::get_ddbw(), state_eq::get_dhvap(), state_eq::get_ds_dpc(), 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_ktg ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material

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

Definition at line 1592 of file multiphase.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_ktt1 ( double  pc,
double  pg,
double  t,
long  ipp 
)

function creates conductivity coefficient of a general material - first part

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

Definition at line 1350 of file multiphase.cpp.

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

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

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

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

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

Definition at line 1379 of file multiphase.cpp.

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

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

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

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

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

Definition at line 1409 of file multiphase.cpp.

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

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

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

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

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

Definition at line 1435 of file multiphase.cpp.

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

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

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

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

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

Definition at line 1464 of file multiphase.cpp.

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

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
pc - capillary pressure on actual node
pg - gas pressure on actual node
t - temperature on actual node

Definition at line 2314 of file multiphase.cpp.

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

Referenced by med3::compute_othervalues().

double get_transmission_flux_cc ( double  bv,
double  pc,
double  pg,
double  t,
long  bc,
long  ipp 
)

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

Parameters:
bv - prescribed value near the boundary
pc - 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 2029 of file multiphase.cpp.

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

Referenced by transmission_flux().

double get_transmission_flux_tt ( double  bv,
double  trr,
double  pc,
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
pc - 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 2234 of file multiphase.cpp.

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

Referenced by transmission_flux().

double get_transmission_nodval_cc ( double  bv,
double  pc,
double  pg,
double  t,
long  bc,
long  ipp 
)

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

Parameters:
bv - prescribed value near the boundary
pc - 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 1912 of file multiphase.cpp.

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

Referenced by transmission_nodval().

double get_transmission_nodval_tt ( double  bv,
double  trr,
double  pc,
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
pc - 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 2185 of file multiphase.cpp.

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

Referenced by transmission_nodval().

double get_transmission_transcoeff_cc ( double  pc,
double  pg,
double  t,
long  bc,
long  ipp,
int  flag 
)

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

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

Definition at line 1828 of file multiphase.cpp.

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

double get_transmission_transcoeff_cc ( double  pc,
double  pg,
double  t,
long  bc,
long  ipp 
)

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

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

Definition at line 1750 of file multiphase.cpp.

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

Referenced by transmission_transcoeff().

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

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

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

Definition at line 2136 of file multiphase.cpp.

References cappress_check(), and gaspress_check().

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 2276 of file multiphase.cpp.

Referenced by get_transmission_flux_tt(), and get_transmission_nodval_tt().

double iso_fire ( double  time,
double  t0,
double  tfirestart 
)

function computes temperature of fire curve ISO 834

Parameters:
time - current time
t0 - reference temperature
Return values:
tfirestart - fire starting time

Definition at line 2294 of file multiphase.cpp.

Referenced by get_transmission_flux_cc(), get_transmission_flux_tt(), get_transmission_nodval_cc(), and get_transmission_nodval_tt().

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 229 of file multiphase.cpp.

References intpointst::av, get_capcc(), get_capcg(), get_capct(), get_capgc(), get_capgg(), get_capgt(), get_captc(), get_captg(), get_captt(), 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 57 of file multiphase.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 91 of file multiphase.cpp.

References intpointst::av, get_kcc(), get_kcg(), get_kct(), get_kgc(), get_kgg(), get_kgt(), get_ktc(), get_ktg(), get_ktt1(), 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 308 of file multiphase.cpp.

References intpointst::av, fillm(), g, get_ktt2a(), get_ktt2b(), get_ktt2c(), probdesct::gr1, intpointst::grad, transmat::ip, Tm, and Tp.

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 272 of file multiphase.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 133 of file multiphase.cpp.

References intpointst::av, fillm(), get_kcc(), get_kcg(), get_kct(), get_kgc(), get_kgg(), get_kgt(), get_ktc(), get_ktg(), get_ktt1(), transmat::ip, Outt, 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 344 of file multiphase.cpp.

References intpointst::av, fillm(), g, get_ktt2a(), get_ktt2b(), get_ktt2c(), probdesct::gr1, probdesct::gr2, intpointst::grad, transmat::ip, Tm, and Tp.

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 182 of file multiphase.cpp.

References intpointst::av, fillm(), get_kcc(), get_kcg(), get_kct(), get_kgc(), get_kgg(), get_kgt(), get_ktc(), get_ktg(), get_ktt1(), 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 386 of file multiphase.cpp.

References intpointst::av, fillm(), g, get_ktt2a(), get_ktt2b(), get_ktt2c(), probdesct::gr1, probdesct::gr2, probdesct::gr3, intpointst::grad, transmat::ip, Tm, and Tp.

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 2368 of file multiphase.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 463 of file multiphase.cpp.

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

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 multiphase.cpp.

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

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 multiphase.cpp.

References intpointst::av, f, fillm(), g, get_fc1(), get_fg(), get_ft1(), probdesct::gr1, probdesct::gr2, probdesct::gr3, transmat::ip, Tm, and Tp.

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 432 of file multiphase.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 787 of file multiphase.cpp.

References get_transmission_flux_cc(), get_transmission_flux_tt(), 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 730 of file multiphase.cpp.

References get_transmission_nodval_cc(), get_transmission_nodval_tt(), 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,
int  flag 
)

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 672 of file multiphase.cpp.

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

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 multiphase.cpp.

References get_transmission_transcoeff_cc(), get_transmission_transcoeff_tt(), 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  ) 

function corrects values of variables

Parameters:
nv - array with variables

Definition at line 938 of file multiphase.cpp.

References cappress_check(), and gaspress_check().

Referenced by transmat::values_correction().


Member Data Documentation

double gasr [private]
double ma [private]

Definition at line 89 of file multiphase.h.

Referenced by multiph().

double mw [private]
double scale_pc [private]

Definition at line 93 of file multiphase.h.

Referenced by multiph().

double scale_pg [private]

Definition at line 93 of file multiphase.h.

Referenced by multiph().

double scale_t [private]

Definition at line 93 of file multiphase.h.

Referenced by multiph().


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

Generated by  doxygen 1.6.2