#include <fourmedia.h>
Public Member Functions | |
double | compute_othervalues (long compother, long ipp, double *r) |
void | matcap (double &c, long ri, long ci, long ipp) |
void | matcond (matrix &d, long ri, long ci, long ipp) |
void | matcond2 (matrix &d, long ri, long ci, long ipp) |
med4 () | |
void | print_othervaluesnames (FILE *out, long ipp, long compother) |
double | transmission_flux (double nodval, double trc2, long ri, long ci, long nid, long bc, long ipp) |
double | transmission_nodval (double nodval, double trc2, long ri, long ci, long nid, long bc, long ipp) |
double | transmission_transcoeff (double trc, long ri, long ci, long nid, long bc, long ipp) |
~med4 () | |
Private Attributes | |
double | scale_cf |
double | scale_t |
double | scale_w |
Definition at line 6 of file fourmedia.h.
med4 | ( | ) |
Definition at line 19 of file fourmedia.cpp.
~med4 | ( | ) |
Definition at line 26 of file fourmedia.cpp.
double compute_othervalues | ( | long | compother, | |
long | ipp, | |||
double * | r | |||
) |
function computes all variables in nodes
compother | - number of other components | |
ipp | - first integration point on element | |
r | - vector of unknowns on actual node |
Definition at line 224 of file fourmedia.cpp.
References saltmat4::get_othervalue(), intpointst::idm, transmat::ip, other, print_err(), transmat::salt4, salt4mat, scale_w, intpointst::tm, and Tm.
Referenced by give_nodal_humid(), and transmat::givecompother().
void matcap | ( | double & | c, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes capacity matrix C in a material point for four media transfer
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 91 of file fourmedia.cpp.
References intpointst::idm, transmat::ip, saltmat4::matcap(), print_err(), transmat::salt4, salt4mat, intpointst::tm, and Tm.
Referenced by transmat::capcoeff().
void matcond | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes conductivity matrix D in a material point for four media transfer
d | - conductivity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 37 of file fourmedia.cpp.
References intpointst::idm, transmat::ip, saltmat4::matcond(), print_err(), transmat::salt4, salt4mat, intpointst::tm, and Tm.
Referenced by transmat::matcond(), and transmat::matcond2().
void matcond2 | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes second type of conductivity matrix D in a material point for four media transfer
d | - conductivity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 65 of file fourmedia.cpp.
References intpointst::idm, transmat::ip, saltmat4::matcond2(), print_err(), transmat::salt4, salt4mat, intpointst::tm, and Tm.
void print_othervaluesnames | ( | FILE * | out, | |
long | ipp, | |||
long | compother | |||
) |
function prints names of all variables in nodes
out | - output file | |
compother | - number of other components | |
ipp | - first integration point on element |
Definition at line 269 of file fourmedia.cpp.
Referenced by transmat::give_othervalue_name().
double transmission_flux | ( | double | nodval, | |
double | trc2, | |||
long | ri, | |||
long | ci, | |||
long | nid, | |||
long | bc, | |||
long | ipp | |||
) |
function computes flux on the boundary for transmission on the boundary (third kind of boundary condition)
nodval | - prescribed value on the boundary | |
trc2 | - second prescribed transmission coefficient on the boundary, if is needed (for example heat radiation coef.) | |
ri | - row index | |
ci | - column index | |
nid | - node id | |
bc | - type of boundary condition |
Definition at line 190 of file fourmedia.cpp.
References flux, intpointst::idm, transmat::ip, print_err(), transmat::salt4, salt4mat, intpointst::tm, Tm, and saltmat4::transmission_flux().
Referenced by transmat::transmission_flux().
double transmission_nodval | ( | double | nodval, | |
double | trc2, | |||
long | ri, | |||
long | ci, | |||
long | nid, | |||
long | bc, | |||
long | ipp | |||
) |
function computes new nodal value for transmission on the boundary (third kind of boundary condition)
nodval | - prescribed value on the boundary | |
trc2 | - second prescribed transmission coefficient on the boundary, if is needed (for example heat radiation coef.) | |
ri | - row index | |
ci | - column index | |
nid | - node id | |
bc | - type of boundary condition |
Definition at line 156 of file fourmedia.cpp.
References intpointst::idm, transmat::ip, print_err(), transmat::salt4, salt4mat, intpointst::tm, Tm, and saltmat4::transmission_nodval().
Referenced by transmat::transmission_nodval().
double transmission_transcoeff | ( | double | trc, | |
long | ri, | |||
long | ci, | |||
long | nid, | |||
long | bc, | |||
long | ipp | |||
) |
function computes new transmission coefficient for transmission on the boundary (third kind of boundary condition)
trc | - prescribed transmission coefficient on the boundary | |
ri | - row index | |
ci | - column index | |
nid | - node id | |
bc | - type of boundary condition |
Definition at line 121 of file fourmedia.cpp.
References intpointst::idm, transmat::ip, print_err(), transmat::salt4, salt4mat, intpointst::tm, Tm, and saltmat4::transmission_transcoeff().
Referenced by transmat::transmission_transcoeff().
double scale_cf [private] |
Definition at line 24 of file fourmedia.h.
double scale_t [private] |
Definition at line 24 of file fourmedia.h.
Referenced by med4().
double scale_w [private] |
Definition at line 24 of file fourmedia.h.
Referenced by compute_othervalues(), and med4().