con_awf2mat Class Reference

#include <consol_awf2.h>

List of all members.

Public Member Functions

 con_awf2mat ()
double get_capgg (double pw, double pg)
double get_capgw (double pw, double pg)
double get_capwg (double pw, double pg)
double get_capww (double pw, double pg)
double get_cs (double pw, double pg)
double get_fg1 (double pw, double pg)
double get_fw1 (double pw, double pg)
double get_kgg (double pw, double pg)
double get_kgw (double pw, double pg)
double get_krg (double pw, double pg)
double get_krl (double pw, double pg)
double get_kwg (double pw, double pg)
double get_kww (double pw, double pg)
double get_othervalue (long compother, double pw, double pg, long ipp)
double get_se (double sw)
double get_sw (double pw, double pg)
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 matcond2d (matrix &d, long ri, long ci, long ipp)
void matcond3d (matrix &d, long ri, long ci, long ipp)
void print (FILE *out)
void print_othervalue_name (FILE *out, long compother)
void read (XFILE *in)
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)
void values_correction (vector &nv, long ipp)
void water_pressure_check (double &pw, double &pg, long ipp)
 ~con_awf2mat ()

Private Attributes

double alpha
double kintr
double ks
double kw
double mug
double muw0
double phi0
double rhow

Detailed Description

Definition at line 6 of file consol_awf2.h.


Constructor & Destructor Documentation

con_awf2mat (  ) 

Definition at line 16 of file consol_awf2.cpp.

References alpha, kintr, ks, kw, mug, muw0, phi0, and rhow.

~con_awf2mat (  ) 

Definition at line 36 of file consol_awf2.cpp.


Member Function Documentation

double get_capgg ( double  pw,
double  pg 
)

function creates capacity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
capgg - capacity coefficient

29/10/2009, TKr

Definition at line 655 of file consol_awf2.cpp.

References alpha, get_cs(), get_sw(), ks, and phi0.

Referenced by matcap().

double get_capgw ( double  pw,
double  pg 
)

function creates capacity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
capgw - capacity coefficient

29/10/2009, TKr

Definition at line 630 of file consol_awf2.cpp.

References alpha, get_cs(), get_sw(), ks, and phi0.

Referenced by matcap().

double get_capwg ( double  pw,
double  pg 
)

function creates capacity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
capwg - capacity coefficient

29/10/2009, TKr

Definition at line 604 of file consol_awf2.cpp.

References alpha, get_cs(), get_sw(), ks, and phi0.

Referenced by matcap().

double get_capww ( double  pw,
double  pg 
)

function creates capacity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
capww - capacity coefficient

29/10/2009, TKr

Definition at line 579 of file consol_awf2.cpp.

References alpha, get_cs(), get_sw(), ks, kw, and phi0.

Referenced by matcap().

double get_cs ( double  pw,
double  pg 
)

function computes specific moisture content (partial derivative of degree of saturation with respect to pc)

Parameters:
pw - water pressure
pg - air pressure
Return values:
cs - specific moisture content

29/10/2009, TKr

Definition at line 408 of file consol_awf2.cpp.

Referenced by get_capgg(), get_capgw(), get_capwg(), get_capww(), and get_othervalue().

double get_fg1 ( double  pw,
double  pg 
)

function returns coefficient for righ-hand side of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
fg - first part for right-hand side for continutiy equation

29/10/2009, TKr

Definition at line 703 of file consol_awf2.cpp.

References get_krg(), kintr, and mug.

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

double get_fw1 ( double  pw,
double  pg 
)

function returns coefficient for righ-hand side of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
fw - first part for right-hand side coeficient for continutiy equation

29/10/2009, TKr

Definition at line 681 of file consol_awf2.cpp.

References get_krl(), kintr, muw0, and rhow.

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

double get_kgg ( double  pw,
double  pg 
)

function creates conductivity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
kgg - conductivity coefficient

29/10/2009, TKr

Definition at line 558 of file consol_awf2.cpp.

References get_krg(), kintr, and mug.

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

double get_kgw ( double  pw,
double  pg 
)

function creates conductivity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
kgw - conductivity coefficient

29/10/2009, TKr

Definition at line 538 of file consol_awf2.cpp.

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

double get_krg ( double  pw,
double  pg 
)

function computes air relative permeability

Parameters:
pw - water pressure
pg - air pressure
Return values:
krg - gas relative permeability

12/9/2008, TKr

Definition at line 473 of file consol_awf2.cpp.

References get_se(), and get_sw().

Referenced by get_fg1(), and get_kgg().

double get_krl ( double  pw,
double  pg 
)

function computes water relative permeability

Parameters:
pw - water pressure
pg - air pressure
Return values:
krl - water relative permeability

12/9/2008, TKr

Definition at line 452 of file consol_awf2.cpp.

References get_sw().

Referenced by get_fw1(), and get_kww().

double get_kwg ( double  pw,
double  pg 
)

function creates conductivity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
kwg - conductivity coefficient

29/10/2009, TKr

Definition at line 518 of file consol_awf2.cpp.

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

double get_kww ( double  pw,
double  pg 
)

function creates conductivity coefficient of the general material

Parameters:
pw - water pressure
pg - air pressure
Return values:
kww - conductivity coefficient

29/10/2009, TKr

Definition at line 498 of file consol_awf2.cpp.

References get_krl(), kintr, and muw0.

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

double get_othervalue ( long  compother,
double  pw,
double  pg,
long  ipp 
)

function computes all other variables at nodes

Parameters:
compother - number of other components
pw - water capillary pressure on actual node
pg - gas(air) pressure on actual node
ipp - first integration point on element
Return values:
other - other variable

03/03/2011, TKr

Definition at line 729 of file consol_awf2.cpp.

References get_cs(), get_sw(), and other.

Referenced by med2::compute_othervalues().

double get_se ( double  sw  ) 

function computes degree of saturation se (internal material variable)

Parameters:
pw - water pressure
pg - air pressure
Return values:
se - degree of saturation se

29/10/2009, TKr

Definition at line 431 of file consol_awf2.cpp.

Referenced by get_krg().

double get_sw ( double  pw,
double  pg 
)

function computes degree of saturation(sorption curve)

Parameters:
pw - water pressure
pg - air pressure
Return values:
sw - degree of saturation

29/10/2009, TKr

Definition at line 385 of file consol_awf2.cpp.

Referenced by get_capgg(), get_capgw(), get_capwg(), get_capww(), get_krg(), get_krl(), and get_othervalue().

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 207 of file consol_awf2.cpp.

References intpointst::av, get_capgg(), get_capgw(), get_capwg(), get_capww(), transmat::ip, and Tm.

Referenced by med2::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 78 of file consol_awf2.cpp.

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

Referenced by med2::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 112 of file consol_awf2.cpp.

References intpointst::av, get_kgg(), get_kgw(), get_kwg(), get_kww(), transmat::ip, and Tm.

Referenced by matcond().

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 141 of file consol_awf2.cpp.

References intpointst::av, fillm(), get_kgg(), get_kgw(), get_kwg(), get_kww(), transmat::ip, and Tm.

Referenced by matcond().

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 173 of file consol_awf2.cpp.

References intpointst::av, fillm(), get_kgg(), get_kgw(), get_kwg(), get_kww(), transmat::ip, and Tm.

Referenced by matcond().

void print ( FILE *  out  ) 

function reads parameters

Parameters:
out - output file

29/10/2009, TKr

Definition at line 60 of file consol_awf2.cpp.

References alpha, kintr, ks, kw, and phi0.

void print_othervalue_name ( FILE *  out,
long  compother 
)

function prints names of all other variables at nodes

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

03/03/2011, TKr

Definition at line 772 of file consol_awf2.cpp.

Referenced by med2::print_othervaluesnames().

void read ( XFILE in  ) 

function reads parameters

Parameters:
in - input file

29/10/2009, TKr

Definition at line 47 of file consol_awf2.cpp.

References alpha, kintr, ks, kw, phi0, and xfscanf().

Referenced by transmat::readmattype().

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
ri - row index
ci - column index
ipp - number of integration point

Definition at line 269 of file consol_awf2.cpp.

References intpointst::av, f, fillm(), g, get_fg1(), get_fw1(), 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
ri - row index
ci - column index
ipp - number of integration point

Definition at line 300 of file consol_awf2.cpp.

References intpointst::av, f, fillm(), g, get_fg1(), get_fw1(), 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
ri - row index
ci - column index
ipp - number of integration point

Definition at line 339 of file consol_awf2.cpp.

References intpointst::av, f, fillm(), g, get_fg1(), get_fw1(), 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
ri - row index
ci - column index
ipp - number of integration point

Definition at line 235 of file consol_awf2.cpp.

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

Referenced by transmat::volume_rhs().

void values_correction ( vector nv,
long  ipp 
)

function checks if computed unknowns are physically reasonable

Parameters:
nv - vector of unknowns
ipp - number of integration point

03/03/2011, TKr

Definition at line 811 of file consol_awf2.cpp.

References water_pressure_check().

Referenced by transmat::values_correction().

void water_pressure_check ( double &  pw,
double &  pg,
long  ipp 
)

function checks if water pressure is non-positive

Parameters:
pw - pore water pressure
ipp - number of integration point

03/03/2011, TKr

Definition at line 826 of file consol_awf2.cpp.

References intpointst::av, transmat::ip, and Tm.

Referenced by values_correction().


Member Data Documentation

double alpha [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_capgg(), get_capgw(), get_capwg(), get_capww(), print(), and read().

double kintr [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_fg1(), get_fw1(), get_kgg(), get_kww(), print(), and read().

double ks [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_capgg(), get_capgw(), get_capwg(), get_capww(), print(), and read().

double kw [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_capww(), print(), and read().

double mug [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_fg1(), and get_kgg().

double muw0 [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_fw1(), and get_kww().

double phi0 [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), get_capgg(), get_capgw(), get_capwg(), get_capww(), print(), and read().

double rhow [private]

Definition at line 54 of file consol_awf2.h.

Referenced by con_awf2mat(), and get_fw1().


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

Generated by  doxygen 1.6.2