#include <saltmat1.h>
Public Member Functions | |
double | c11 () |
double | c12 () |
double | c21 (double cf) |
double | c22 (double w, double cf) |
double | get_othervalue (long compother, long ipp, double x1, double x2, double x3) |
double | get_transmission_flux_ww (double bv, double w, long bc) |
void | give_dof_names (namevart *dofname, long ntm) |
double | k11 (double w) |
double | k12 () |
double | k21 (double w, double cf) |
double | k22 (double w, double cf) |
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) |
saltmat1 (void) | |
double | transmission_flux (double nodval, long ri, long ci, long nid, long bc) |
double | transmission_nodval (double nodval, long ri, long ci, long nid, long bc) |
double | transmission_transcoeff (double trc, long ri, long ci, long nid, long bc) |
~saltmat1 (void) | |
Public Attributes | |
isotherm | bindiso |
binding isotherm | |
flagsw | daminfl |
flag for influence of damage on permeability | |
gfunct | dcoef |
Dcoef. | |
gfunct | kappa |
moisture diffusivity | |
gfunct | sm |
saturated volumetric moisture content | |
Static Public Attributes | |
static dampermeability | damper |
influence of damage on permeability |
class describes material model which deals with simultaneous transport of moisture and salt
ordering of unknowns: w - the volumetric moisture content (m^3/m^3) C_f - the concentration of free salts in water (kg/m^3 of solution)
ordering in the array eqother eqother[0] - the water vapour diffusion permeability eqother[1] - relative humidity eqother[2] - derivative of the relative humidity with repsect to the moisture content eqother[3] - saturated volumetric moisture content eqother[4] - maximum concentration eqother[5] - total salt concentration
components in CORD: 2 - density 3 - porosity 4 - faktor difusniho odporu 5 - kappa 6 - sorption izoterm 7 - saturated moisture 8 - none 9 - Cecko 10 - Lambda - the thermal conductivity (W/m/K) 11 - not used 12 - not used 13 - not used 14 - Dcoef - the salt diffusion coefficient (m$^2$/s) 15 - binding isotherm 16 - cfmax - the saturated free salt concentration (kg/m$^3$ of solution) 17 - ws 18 - not used 19 - not used
JM, 29.5.2007, revised 18. 11. 2013
Definition at line 50 of file saltmat1.h.
saltmat1 | ( | void | ) |
Definition at line 7 of file saltmat1.cpp.
~saltmat1 | ( | void | ) |
Definition at line 13 of file saltmat1.cpp.
double c11 | ( | ) |
Definition at line 225 of file saltmat1.cpp.
Referenced by matcap().
double c12 | ( | ) |
Definition at line 232 of file saltmat1.cpp.
Referenced by matcap().
double c21 | ( | double | cf | ) |
Definition at line 239 of file saltmat1.cpp.
Referenced by matcap().
double c22 | ( | double | w, | |
double | cf | |||
) |
Definition at line 246 of file saltmat1.cpp.
References bindiso, and isotherm::derivative_isotherm_value().
Referenced by matcap().
double get_othervalue | ( | long | compother, | |
long | ipp, | |||
double | x1, | |||
double | x2, | |||
double | x3 | |||
) |
function computes all variables in nodes
compother | - number of other components | |
ipp | - first integration point on element | |
x1 | ... x3 - actual unknowns on the boundary |
Definition at line 528 of file saltmat1.cpp.
References other.
double get_transmission_flux_ww | ( | double | bv, | |
double | w, | |||
long | bc | |||
) |
function computes flux through the boundary (transmission - convective mass transfer) for the first medium
bv | - prescribed value on the boundary | |
w | - actual moisture content on the boundary | |
bc | - type of boundary condition |
Definition at line 497 of file saltmat1.cpp.
References flux, and print_err().
Referenced by transmission_flux().
void give_dof_names | ( | namevart * | dofname, | |
long | ntm | |||
) |
The function returns ordered dof names of primary unknowns required by the model.
dofname | - array of uknown name for particular nodal dofs (output) dofname[i] = name of i-th nodal unknown (for names see aliast.h - enum namevart) | |
ntm | - number of transported media = number of nodal dof = length of array dofname |
JK 29. 5. 2014
Definition at line 573 of file saltmat1.cpp.
References print_err(), trf_moisture, and trf_salt_conc.
Referenced by transmat::give_dof_names().
double k11 | ( | double | w | ) |
Definition at line 264 of file saltmat1.cpp.
References gfunct::getval(), kappa, and sm.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k12 | ( | ) |
Definition at line 280 of file saltmat1.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k21 | ( | double | w, | |
double | cf | |||
) |
Definition at line 289 of file saltmat1.cpp.
References dcoef, gfunct::getval(), and sm.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k22 | ( | double | w, | |
double | cf | |||
) |
Definition at line 304 of file saltmat1.cpp.
References gfunct::getval(), kappa, and sm.
Referenced by matcond1d(), matcond2d(), and matcond3d().
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 | - integration point id |
Definition at line 201 of file saltmat1.cpp.
References intpointst::av, c11(), c12(), c21(), c22(), 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 |
JK, 30. 5. 2014
Definition at line 66 of file saltmat1.cpp.
References daminfl, damper, intpointst::eqother, transmat::ip, dampermeability::matcond(), matcond1d(), matcond2d(), matcond3d(), matrix::n, on, print_err(), and Tm.
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 | - integration point id |
Definition at line 105 of file saltmat1.cpp.
References intpointst::av, transmat::ip, k11(), k12(), k21(), k22(), 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 134 of file saltmat1.cpp.
References intpointst::av, fillm(), transmat::ip, k11(), k12(), k21(), k22(), 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 | - integration point id |
Definition at line 167 of file saltmat1.cpp.
References intpointst::av, fillm(), transmat::ip, k11(), k12(), k21(), k22(), and Tm.
Referenced by matcond().
void print | ( | FILE * | out | ) |
function prints material characteristics
out | - output file |
JM, 18. 11.2013
Definition at line 42 of file saltmat1.cpp.
References bindiso, dcoef, kappa, isotherm::print(), gfunct::print(), and sm.
void print_othervalue_name | ( | FILE * | out, | |
long | compother | |||
) |
function prints names of all variables in nodes
out | - output file | |
compother | - number of other components |
Definition at line 549 of file saltmat1.cpp.
Referenced by med2::print_othervaluesnames().
void read | ( | XFILE * | in | ) |
function reads material characteristics
in | - input file |
JM, 18. 11. 2013
Definition at line 23 of file saltmat1.cpp.
References bindiso, dcoef, kappa, isotherm::read(), gfunct::read(), and sm.
Referenced by transmat::readmattype().
double transmission_flux | ( | double | nodval, | |
long | ri, | |||
long | ci, | |||
long | nid, | |||
long | bc | |||
) |
function creates correct new nodal value on the boundary (transmission) for 1st medium
new_nodval | - new prescribed value near the boundary | |
bv | - value of prescribed value near the boundary | |
w | ... cc - actual unknowns on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element function computes flux through boundary | |
nodval | - prescribed nodal value | |
ri | - row index | |
ci | - column index | |
nid | - node id | |
bc | - type of boundary condition |
Definition at line 465 of file saltmat1.cpp.
References flux, get_transmission_flux_ww(), and nodalval().
double transmission_nodval | ( | double | nodval, | |
long | ri, | |||
long | ci, | |||
long | nid, | |||
long | bc | |||
) |
function creates correct transfer coefficient on the boundary (transmission) for 1st medium
f11 | - correct transfer coefficient | |
w | ... cc - actual unknowns on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element function determines nodal value in some cases, the boundary conditions are prescribed in different variables than variables used in the problem for example, moisture content is used in the problem but boundary condition is prescribed with the help of pressures | |
nodval | - prescribed nodal value | |
ri | - row index | |
ci | - column index | |
nid | - node id | |
bc | - type of boundary condition |
Definition at line 402 of file saltmat1.cpp.
References nodalval().
double transmission_transcoeff | ( | double | trc, | |
long | ri, | |||
long | ci, | |||
long | nid, | |||
long | bc | |||
) |
function determines transmission coefficient in some cases, the boundary conditions are prescribed in different variables than variables used in the problem for example, moisture content is used in the problem but boundary condition is prescribed with the help of pressures
trc | - prescribed transmission coefficient on the boundary | |
ri | - row index | |
ci | - column index | |
nid | - node id | |
bc | - type of boundary condition |
Definition at line 338 of file saltmat1.cpp.
References nodalval().
binding isotherm
Definition at line 96 of file saltmat1.h.
flag for influence of damage on permeability
Definition at line 102 of file saltmat1.h.
Referenced by matcond(), and saltmat1().
dampermeability damper [static] |
influence of damage on permeability
Definition at line 99 of file saltmat1.h.
Referenced by matcond().