#include <twomedia.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) |
med2 () | |
void | print_othervalues (FILE *out) |
void | print_othervaluesnames (FILE *out, long ipp, long compother) |
double | transmission_flux (double nodval, double trc2, long ri, long ci, long nn, long bc, long ipp) |
double | transmission_nodval (double nodval, double trc2, long ri, long ci, long nn, long bc, long ipp) |
double | transmission_transcoeff (double trc, long ri, long ci, long nid, long bc, long ipp) |
~med2 () | |
Private Attributes | |
double | scale_cf |
double | scale_t |
double | scale_w |
Definition at line 6 of file twomedia.h.
med2 | ( | ) |
Definition at line 14 of file twomedia.cpp.
~med2 | ( | ) |
Definition at line 20 of file twomedia.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 518 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, transmat::consol_awf2, consolawf2, devries, transmat::dvries, millymat::get_othervalue(), devriesmat::get_othervalue(), discmat::get_othervalue(), grunewaldmat::get_othervalue(), moistheatmat::get_othervalue(), kunmat2::get_othervalue(), kunmat::get_othervalue(), homogmat::get_othervalue(), pedmat::get_othervalue(), bazpedmat::get_othervalue(), con_awf2mat::get_othervalue(), grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, transmat::kun, transmat::kun2, kunzel, kunzel2, transmat::mill, milly, transmat::moisth, moistheat, nlisotransmat, other, transmat::ped, pedersen, print_err(), salt1mat, transmat::sdmat, simplediscmat, 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 two media transfer
c | - capacity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
revision, JK, 24.11.2008
Definition at line 208 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, transmat::consol_awf2, consolawf2, damisotransmat, transmat::damitrm, devries, transmat::dvries, grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, isotransmat, transmat::itrm, transmat::kun, transmat::kun2, kunzel, kunzel2, transmat::lcmat, lincoupledmat, con_awf2mat::matcap(), saltmat1::matcap(), lincoupmat::matcap(), millymat::matcap(), devriesmat::matcap(), discmat::matcap(), grunewaldmat::matcap(), moistheatmat::matcap(), kunmat2::matcap(), kunmat::matcap(), pedmat::matcap(), bazpedmat::matcap(), damisotrmat::matcap(), homogmat::matcap(), nlisotrmat::matcap(), isotrmat::matcap(), transmat::mill, milly, transmat::moisth, moistheat, nlisotransmat, transmat::nlitrm, transmat::ped, pedersen, print_err(), transmat::salt1, salt1mat, transmat::sdmat, simplediscmat, 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 two media transfer
d | - conductivity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
revision, JK, 24.11.2008
Definition at line 33 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, transmat::consol_awf2, consolawf2, damisotransmat, transmat::damitrm, devries, transmat::dvries, grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, isotransmat, transmat::itrm, transmat::kun, transmat::kun2, kunzel, kunzel2, transmat::lcmat, lincoupledmat, con_awf2mat::matcond(), saltmat1::matcond(), lincoupmat::matcond(), millymat::matcond(), devriesmat::matcond(), discmat::matcond(), grunewaldmat::matcond(), moistheatmat::matcond(), kunmat2::matcond(), kunmat::matcond(), pedmat::matcond(), bazpedmat::matcond(), damisotrmat::matcond(), homogmat::matcond(), nlisotrmat::matcond(), isotrmat::matcond(), transmat::mill, milly, transmat::moisth, moistheat, nlisotransmat, transmat::nlitrm, transmat::ped, pedersen, print_err(), transmat::salt1, salt1mat, transmat::sdmat, simplediscmat, intpointst::tm, and Tm.
Referenced by transmat::flux_contributions(), and transmat::matcond().
void matcond2 | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes conductivity matrix D in a material point for two media transfer
d | - conductivity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
revision, JK, 24.11.2008
Definition at line 121 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, consolawf2, damisotransmat, devries, grunewald, homomat, intpointst::idm, transmat::ip, isotransmat, kunzel, kunzel2, lincoupledmat, richards::matcond2(), bazpedmat::matcond2(), milly, moistheat, nlisotransmat, pedersen, print_err(), transmat::richar, richardsmat, salt1mat, simplediscmat, intpointst::tm, and Tm.
Referenced by transmat::matcond2().
void print_othervalues | ( | FILE * | out | ) |
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 654 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, transmat::consol_awf2, consolawf2, devries, transmat::dvries, grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, transmat::kun, transmat::kun2, kunzel, kunzel2, transmat::mill, milly, transmat::moisth, moistheat, nlisotransmat, transmat::ped, pedersen, print_err(), saltmat1::print_othervalue_name(), millymat::print_othervalue_name(), devriesmat::print_othervalue_name(), discmat::print_othervalue_name(), grunewaldmat::print_othervalue_name(), kunmat2::print_othervalue_name(), moistheatmat::print_othervalue_name(), kunmat::print_othervalue_name(), homogmat::print_othervalue_name(), pedmat::print_othervalue_name(), con_awf2mat::print_othervalue_name(), bazpedmat::print_othervalue_name(), transmat::salt1, salt1mat, transmat::sdmat, simplediscmat, intpointst::tm, and Tm.
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 transmission nodal 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 | |
ipp | - number of first integration point on element |
revision, JK, 24.11.2008
Definition at line 454 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, devries, transmat::dvries, flux, grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, transmat::kun, transmat::kun2, kunzel, kunzel2, transmat::mill, milly, pedersen, print_err(), transmat::sdmat, simplediscmat, intpointst::tm, Tm, millymat::transmission_flux(), devriesmat::transmission_flux(), discmat::transmission_flux(), grunewaldmat::transmission_flux(), kunmat2::transmission_flux(), kunmat::transmission_flux(), homogmat::transmission_flux(), and bazpedmat::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 transmission nodal 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 | |
ipp | - number of first integration point on element |
revision, JK, 24.11.2008
Definition at line 377 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, devries, transmat::dvries, grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, transmat::kun, transmat::kun2, kunzel, kunzel2, lincoupledmat, transmat::mill, milly, transmat::moisth, moistheat, transmat::ped, pedersen, print_err(), transmat::sdmat, simplediscmat, intpointst::tm, Tm, millymat::transmission_nodval(), devriesmat::transmission_nodval(), discmat::transmission_nodval(), grunewaldmat::transmission_nodval(), moistheatmat::transmission_nodval(), kunmat2::transmission_nodval(), kunmat::transmission_nodval(), homogmat::transmission_nodval(), pedmat::transmission_nodval(), and bazpedmat::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 | |
ipp | - number of first integration point on element |
revision, JK, 24.11.2008
Definition at line 300 of file twomedia.cpp.
References bazantpedersen, transmat::bazped, devries, transmat::dvries, grunewald, transmat::grunw, transmat::hommat, homomat, intpointst::idm, transmat::ip, transmat::kun, transmat::kun2, kunzel, kunzel2, lincoupledmat, transmat::mill, milly, transmat::moisth, moistheat, transmat::ped, pedersen, print_err(), transmat::sdmat, simplediscmat, intpointst::tm, Tm, millymat::transmission_transcoeff(), devriesmat::transmission_transcoeff(), discmat::transmission_transcoeff(), grunewaldmat::transmission_transcoeff(), moistheatmat::transmission_transcoeff(), kunmat2::transmission_transcoeff(), kunmat::transmission_transcoeff(), homogmat::transmission_transcoeff(), pedmat::transmission_transcoeff(), and bazpedmat::transmission_transcoeff().
Referenced by transmat::transmission_transcoeff().
double scale_cf [private] |
Definition at line 27 of file twomedia.h.
double scale_t [private] |
Definition at line 27 of file twomedia.h.
Referenced by med2().
double scale_w [private] |
Definition at line 27 of file twomedia.h.
Referenced by med2().