#include <consol_awf2.h>
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 |
Definition at line 6 of file consol_awf2.h.
con_awf2mat | ( | ) |
~con_awf2mat | ( | ) |
Definition at line 36 of file consol_awf2.cpp.
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 | |||
) |
function computes specific moisture content (partial derivative of degree of saturation with respect to pc)
pw | - water pressure | |
pg | - air pressure |
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
pw | - water pressure | |
pg | - air pressure |
fg | - first part for right-hand side for continutiy equation |
29/10/2009, TKr
Definition at line 703 of file consol_awf2.cpp.
double get_fw1 | ( | double | pw, | |
double | pg | |||
) |
function returns coefficient for righ-hand side of the general material
pw | - water pressure | |
pg | - air pressure |
fw | - first part for right-hand side coeficient for continutiy equation |
29/10/2009, TKr
Definition at line 681 of file consol_awf2.cpp.
double get_kgg | ( | double | pw, | |
double | pg | |||
) |
function creates conductivity coefficient of the general material
pw | - water pressure | |
pg | - air pressure |
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
pw | - water pressure | |
pg | - air pressure |
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 | |||
) |
double get_krl | ( | double | pw, | |
double | pg | |||
) |
function computes water relative permeability
pw | - water pressure | |
pg | - air pressure |
krl | - water relative permeability |
12/9/2008, TKr
Definition at line 452 of file consol_awf2.cpp.
References get_sw().
double get_kwg | ( | double | pw, | |
double | pg | |||
) |
function creates conductivity coefficient of the general material
pw | - water pressure | |
pg | - air pressure |
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
pw | - water pressure | |
pg | - air pressure |
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
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 |
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)
pw | - water pressure | |
pg | - air pressure |
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)
pw | - water pressure | |
pg | - air pressure |
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
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
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
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
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
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 | ) |
void print_othervalue_name | ( | FILE * | out, | |
long | compother | |||
) |
function prints names of all other variables at nodes
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
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
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
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
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
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
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
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().
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().