#include <saltmat2.h>
Public Member Functions | |
void | auxiliarydata (double x1, double x2, double x3) |
void | binding_izoterm_derivation (double x2, double &derbi) |
double | c11 (double x1, double x2, double x3) |
double | c12 (double x1, double x2, double x3) |
double | c13 (double x1, double x2, double x3) |
double | c21 (double x1, double x2, double x3) |
double | c22 (double x1, double x2, double x3) |
double | c23 (double x1, double x2, double x3) |
double | c31 (double x1, double x2, double x3) |
double | c32 (double x1, double x2, double x3) |
double | c33 (double x1, double x2, double x3) |
void | Cf_check (double cf, double w, long ipp) |
double | diffcoefiont (int kod, double x1, double x2, double x3) |
double | get_othervalue (long compother, long ipp, double x1, double x2, double x3) |
double | get_transmission_flux_11 (double bv, double x1, double x2, double x3, long bc, long ipp) |
double | get_transmission_nodval_11 (double bv, double x1, double x2, double x3, long bc, long ipp) |
double | get_transmission_transcoeff_11 (double x1, double x2, double x3, long bc, long ipp) |
void | inverze_sorption_izoterm_data (double x1, double &fi, double &dfi) |
double | k11 (double x1, double x2, double x3) |
double | k12 (double x1, double x2, double x3) |
double | k13 (double x1, double x2, double x3) |
double | k21 (double x1, double x2, double x3) |
double | k22 (double x1, double x2, double x3) |
double | k23 (double x1, double x2, double x3) |
double | k31 (double x1, double x2, double x3) |
double | k32 (double x1, double x2, double x3) |
double | k33 (double x1, double x2, double x3) |
double | kapa (int kod, double x1, double x2, double x3) |
double | linear_data (int kod, double x1, double x2, double x3) |
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 | matcond2 (matrix &d, long ri, long ci, long ipp) |
void | matcond2d (matrix &d, long ri, long ci, long ipp) |
void | matcond2d2 (matrix &d, long ri, long ci, long ipp) |
void | matcond3d (matrix &d, long ri, long ci, long ipp) |
double | permeabilitavodnipary (double t, double p) |
double | pgws (double t) |
void | print_othervalue_name (FILE *out, long compother) |
void | read (XFILE *in) |
saltmat2 (void) | |
void | sisotherm (int kod, double x1, double &fiw, double &dfdw) |
double | transmission_flux (double nodval, long ri, long ci, long nn, long bc, long ipp) |
double | transmission_nodval (double nodval, 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) |
~saltmat2 (void) | |
Public Attributes | |
double | gasr |
double | ma |
double | mw |
Private Member Functions | |
void | CorD (int cislochar, int &kvyhl, double in, double x, double &y, double &z, double &z2) |
Private Attributes | |
double | a1 |
double | a2 |
double | a3 |
int | kd |
int | MatChar [20] |
double | MatConst [20] |
double | MatData [20][3][150] |
double | MatFunce [20][5] |
Definition at line 7 of file saltmat2.h.
~saltmat2 | ( | void | ) |
Definition at line 41 of file saltmat2.cpp.
void auxiliarydata | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 708 of file saltmat2.cpp.
void binding_izoterm_derivation | ( | double | x2, | |
double & | derbi | |||
) |
double c11 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
double c12 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 586 of file saltmat2.cpp.
Referenced by matcap().
double c13 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 595 of file saltmat2.cpp.
Referenced by matcap().
double c21 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
double c22 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 621 of file saltmat2.cpp.
References a3, binding_izoterm_derivation(), Cb, and CorD().
Referenced by matcap().
double c23 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 653 of file saltmat2.cpp.
Referenced by matcap().
double c31 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
double c32 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
double c33 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 697 of file saltmat2.cpp.
Referenced by matcap().
void Cf_check | ( | double | cf, | |
double | w, | |||
long | ipp | |||
) |
void CorD | ( | int | cislochar, | |
int & | kvyhl, | |||
double | in, | |||
double | x, | |||
double & | y, | |||
double & | z, | |||
double & | z2 | |||
) | [private] |
Definition at line 1036 of file saltmat2.cpp.
References MatChar, MatConst, MatData, and MatFunce.
Referenced by c11(), c21(), c22(), c31(), c32(), k11(), k21(), k22(), matcond1d(), matcond2d(), matcond3d(), permeabilitavodnipary(), and values_correction().
double diffcoefiont | ( | int | kod, | |
double | x1, | |||
double | x2, | |||
double | x3 | |||
) |
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 968 of file saltmat2.cpp.
References other.
double get_transmission_flux_11 | ( | double | bv, | |
double | x1, | |||
double | x2, | |||
double | x3, | |||
long | bc, | |||
long | ipp | |||
) |
function creates flux on the boundary (transmission - convective mass transfer) for 1st medium
new_nodval | - flux on the boundary | |
bv | - prescribed value near the boundary | |
x1 | ... x3 - actual unknowns on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 943 of file saltmat2.cpp.
References flux.
Referenced by transmission_flux().
double get_transmission_nodval_11 | ( | double | bv, | |
double | x1, | |||
double | x2, | |||
double | x3, | |||
long | bc, | |||
long | ipp | |||
) |
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 | |
x1 | ... x3 - actual unknowns on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 890 of file saltmat2.cpp.
References nodval().
Referenced by transmission_nodval().
double get_transmission_transcoeff_11 | ( | double | x1, | |
double | x2, | |||
double | x3, | |||
long | bc, | |||
long | ipp | |||
) |
function creates correct transfer coefficient on the boundary (transmission) for 1st medium
f11 | - correct transfer coefficient | |
x1 | ... x3 - actual unknowns on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 916 of file saltmat2.cpp.
Referenced by transmission_transcoeff().
void inverze_sorption_izoterm_data | ( | double | x1, | |
double & | fi, | |||
double & | dfi | |||
) |
double k11 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 429 of file saltmat2.cpp.
References a2, a3, CorD(), kd, p, permeabilitavodnipary(), and pgws().
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k12 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 463 of file saltmat2.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k13 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 472 of file saltmat2.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k21 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 483 of file saltmat2.cpp.
References a2, a3, CorD(), and kd.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k22 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 495 of file saltmat2.cpp.
References a2, a3, CorD(), and kd.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k23 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 509 of file saltmat2.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k31 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 519 of file saltmat2.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k32 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 530 of file saltmat2.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double k33 | ( | double | x1, | |
double | x2, | |||
double | x3 | |||
) |
Definition at line 541 of file saltmat2.cpp.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double kapa | ( | int | kod, | |
double | x1, | |||
double | x2, | |||
double | x3 | |||
) |
double linear_data | ( | int | kod, | |
double | x1, | |||
double | x2, | |||
double | x3 | |||
) |
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 283 of file saltmat2.cpp.
References intpointst::av, c11(), c12(), c13(), c21(), c22(), c23(), c31(), c32(), c33(), 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
d | - conductivity matrix of material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 55 of file saltmat2.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
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 123 of file saltmat2.cpp.
References a2, a3, intpointst::av, CorD(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), kd, and Tm.
Referenced by matcond().
void matcond2 | ( | 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 90 of file saltmat2.cpp.
References matcond2d2(), 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
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 177 of file saltmat2.cpp.
References a2, a3, intpointst::av, CorD(), fillm(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), kd, and Tm.
Referenced by matcond().
void matcond2d2 | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
Definition at line 164 of file saltmat2.cpp.
Referenced by matcond2().
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 230 of file saltmat2.cpp.
References a2, a3, intpointst::av, CorD(), fillm(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), kd, and Tm.
Referenced by matcond().
double permeabilitavodnipary | ( | double | t, | |
double | p | |||
) |
double pgws | ( | double | t | ) |
tlak nasycenych vodnich par
t | - temperature K |
Definition at line 1005 of file saltmat2.cpp.
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 989 of file saltmat2.cpp.
void read | ( | XFILE * | in | ) |
function reads data and material parameters
in | - input file |
Definition at line 332 of file saltmat2.cpp.
References MatChar, MatConst, MatData, MatFunce, and xfscanf().
Referenced by transmat::readmattype().
void sisotherm | ( | int | kod, | |
double | x1, | |||
double & | fiw, | |||
double & | dfdw | |||
) |
double transmission_flux | ( | double | nodval, | |
long | ri, | |||
long | ci, | |||
long | nn, | |||
long | bc, | |||
long | ipp | |||
) |
function computes flux (for transmission_vector) for boundary condition (third kind of boundary condition)
nodval | - prescribed nodal value | |
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 838 of file saltmat2.cpp.
References flux, get_transmission_flux_11(), 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, | |
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)
nodval | - prescribed nodal value | |
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 783 of file saltmat2.cpp.
References get_transmission_nodval_11(), 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)
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 727 of file saltmat2.cpp.
References get_transmission_transcoeff_11(), 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 315 of file saltmat2.cpp.
References a2, a3, CorD(), and kd.
Referenced by transmat::values_correction().
double a1 [private] |
Definition at line 74 of file saltmat2.h.
double a2 [private] |
Definition at line 74 of file saltmat2.h.
Referenced by c11(), c21(), c31(), c32(), k11(), k21(), k22(), matcond1d(), matcond2d(), matcond3d(), permeabilitavodnipary(), and values_correction().
double a3 [private] |
Definition at line 74 of file saltmat2.h.
Referenced by c11(), c21(), c22(), c31(), c32(), k11(), k21(), k22(), matcond1d(), matcond2d(), matcond3d(), permeabilitavodnipary(), and values_correction().
double gasr |
Definition at line 68 of file saltmat2.h.
Referenced by c11(), and saltmat2().
int kd [private] |
Definition at line 73 of file saltmat2.h.
Referenced by c11(), c21(), c31(), c32(), k11(), k21(), k22(), matcond1d(), matcond2d(), matcond3d(), permeabilitavodnipary(), and values_correction().
double ma |
Definition at line 68 of file saltmat2.h.
Referenced by saltmat2().
int MatChar[20] [private] |
Definition at line 75 of file saltmat2.h.
double MatConst[20] [private] |
Definition at line 76 of file saltmat2.h.
double MatData[20][3][150] [private] |
Definition at line 77 of file saltmat2.h.
Referenced by binding_izoterm_derivation(), CorD(), and read().
double MatFunce[20][5] [private] |
Definition at line 78 of file saltmat2.h.
double mw |
Definition at line 68 of file saltmat2.h.
Referenced by c11(), and saltmat2().