#include <onemedium.h>
Public Member Functions | |
double | cap_c (long ipp) |
double | compute_othervalues (long compother, long ipp, double *r) |
double | cond_k (long ipp) |
void | eigstrains (long ipp) |
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) |
med1 () | |
void | print_othervaluesnames (FILE *out, long ipp, long compother) |
void | rhs_volume (matrix &d, long ri, long ci, long ipp) |
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 nn, long bc, long ipp) |
~med1 () | |
Private Attributes | |
double | scale |
Definition at line 6 of file onemedium.h.
med1 | ( | ) |
Definition at line 14 of file onemedium.cpp.
References scale.
~med1 | ( | ) |
Definition at line 19 of file onemedium.cpp.
double cap_c | ( | long | ipp | ) |
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 544 of file onemedium.cpp.
References bazantpedersen, transmat::bazped, transmat::consol_awf1, consolawf1, pedmat::get_othervalue(), bazpedmat::get_othervalue(), con_awf1mat::get_othervalue(), sejtkrmat::get_othervalue(), intpointst::idm, transmat::ip, other, transmat::ped, pedersen, print_err(), richardsmat, sejtkr, transmat::sejtkrm, intpointst::tm, and Tm.
Referenced by give_nodal_humid(), and transmat::givecompother().
double cond_k | ( | long | ipp | ) |
void eigstrains | ( | long | ipp | ) |
void matcap | ( | double & | c, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes capacity matrix C in a material point for one medium transfer
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 196 of file onemedium.cpp.
References bazantpedersen, transmat::bazped, transmat::carb1, carb1mat, cementhydrmat, transmat::cemhydr, cernyconcrete, transmat::cernym, transmat::consol_awf1, consolawf1, damisotransmat, transmat::damitrm, discontisotrmat, transmat::ditrm, intpointst::idm, transmat::ip, isotransmat, transmat::itrm, transmat::lcmat, lincoupledmat, radiationmat::matcap(), lincoupmat::matcap(), cemhydmat::matcap(), cernymat::matcap(), discisotrmat::matcap(), damisotrmat::matcap(), nlisotrmat::matcap(), isotrmat::matcap(), sejtkrmat::matcap(), con_awf1mat::matcap(), richards::matcap(), carbmat1::matcap(), pedmat::matcap(), bazpedmat::matcap(), nlisotransmat, transmat::nlitrm, transmat::ped, pedersen, print_err(), radiationmater, transmat::radmat, transmat::richar, richardsmat, sejtkr, transmat::sejtkrm, 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 one medium transfer
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 31 of file onemedium.cpp.
References bazantpedersen, transmat::bazped, transmat::carb1, carb1mat, cementhydrmat, transmat::cemhydr, cernyconcrete, transmat::cernym, transmat::consol_awf1, consolawf1, damisotransmat, transmat::damitrm, discontisotrmat, transmat::ditrm, intpointst::idm, transmat::ip, isotransmat, transmat::itrm, transmat::lcmat, lincoupledmat, radiationmat::matcond(), damisotrmat::matcond(), lincoupmat::matcond(), cemhydmat::matcond(), cernymat::matcond(), discisotrmat::matcond(), nlisotrmat::matcond(), isotrmat::matcond(), richards::matcond(), con_awf1mat::matcond(), sejtkrmat::matcond(), carbmat1::matcond(), pedmat::matcond(), bazpedmat::matcond(), nlisotransmat, transmat::nlitrm, transmat::ped, pedersen, print_err(), radiationmater, transmat::radmat, transmat::richar, richardsmat, sejtkr, transmat::sejtkrm, intpointst::tm, and Tm.
Referenced by 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 112 of file onemedium.cpp.
References bazantpedersen, consolawf1, consolawf2, damisotransmat, devries, grunewald, homomat, intpointst::idm, transmat::ip, isotransmat, kunzel, kunzel2, lincoupledmat, richards::matcond2(), milly, nlisotransmat, pedersen, print_err(), transmat::richar, richardsmat, salt1mat, sejtkr, simplediscmat, intpointst::tm, and Tm.
Referenced by transmat::matcond2().
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 607 of file onemedium.cpp.
References bazantpedersen, transmat::bazped, transmat::consol_awf1, consolawf1, damisotransmat, transmat::damitrm, intpointst::idm, transmat::ip, transmat::ped, pedersen, print_err(), damisotrmat::print_othervalue_name(), con_awf1mat::print_othervalue_name(), sejtkrmat::print_othervalue_name(), pedmat::print_othervalue_name(), bazpedmat::print_othervalue_name(), sejtkr, transmat::sejtkrm, intpointst::tm, and Tm.
Referenced by transmat::give_othervalue_name().
void rhs_volume | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes volume part of right-hand in the required integration point
d | - right-hand side matrix of a material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 275 of file onemedium.cpp.
References bazantpedersen, carb1mat, cementhydrmat, cernyconcrete, transmat::consol_awf1, consolawf1, damisotransmat, discontisotrmat, intpointst::idm, transmat::ip, isotransmat, lincoupledmat, nlisotransmat, pedersen, print_err(), con_awf1mat::rhs_volume(), sejtkrmat::rhs_volume(), richardsmat, sejtkr, transmat::sejtkrm, intpointst::tm, and Tm.
Referenced by transmat::volume_rhs().
double transmission_flux | ( | double | nodval, | |
double | trc2, | |||
long | ri, | |||
long | ci, | |||
long | nn, | |||
long | bc, | |||
long | ipp | |||
) |
function computes flux on the boundary for transmission on the boundary (third kind of boundary condition)
nodval | - prescribed nodal value on boundary | |
trc2 | - second prescribed transmission coefficient on the boundary, if it is needed (for example heat radiation coef.) | |
ri | - row index | |
ci | - column index | |
nn | - node id | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 471 of file onemedium.cpp.
References flux, pvalt::getval(), gtopology::give_dof(), Gtt, heat, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, probdesct::mednam, moisture, print_err(), loadcaset::pv, Tb, and Tp.
Referenced by transmat::transmission_flux().
double transmission_nodval | ( | double | nodval, | |
double | trc2, | |||
long | ri, | |||
long | ci, | |||
long | nn, | |||
long | bc, | |||
long | ipp | |||
) |
function computes new nodal value for transmission on the boundary (third kind of boundary condition)
nodval | - nodal value defined on boundary | |
trc2 | - second prescribed transmission coefficient on the boundary, if it is needed (for example heat radiation coef.) | |
ri | - row index | |
ci | - column index | |
nn | - node id | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 390 of file onemedium.cpp.
References pvalt::getval(), gtopology::give_dof(), Gtt, heat, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, probdesct::mednam, moisture, print_err(), loadcaset::pv, Tb, and Tp.
Referenced by transmat::transmission_nodval().
double transmission_transcoeff | ( | double | trc, | |
long | ri, | |||
long | ci, | |||
long | nn, | |||
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 | |
nn | - node id | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 321 of file onemedium.cpp.
References heat, probdesct::mednam, moisture, print_err(), and Tp.
Referenced by transmat::transmission_transcoeff().
double scale [private] |
Definition at line 31 of file onemedium.h.
Referenced by med1().