#include <threemedia.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) |
med3 () | |
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, int flag) |
double | transmission_transcoeff (double trc, long ri, long ci, long nn, long bc, long ipp) |
~med3 () |
Definition at line 6 of file threemedia.h.
med3 | ( | ) |
Definition at line 19 of file threemedia.cpp.
~med3 | ( | ) |
Definition at line 21 of file threemedia.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 498 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, gmultiph::get_othervalue(), multiph::get_othervalue(), glasgowmat::get_othervalue(), glasgow, intpointst::idm, transmat::ip, o30bazantB, other, print_err(), salt2mat, salt3mat, soilmat1, transmat::tench, 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 three media transfer
c | - capacity coefficient | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
revision, JK, 24.11.2008
Definition at line 144 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, transmat::lcmat, lincoupledmat, saltmat3::matcap(), saltmat2::matcap(), lincoupmat::matcap(), gmultiph::matcap(), glasgowmat::matcap(), multiph::matcap(), o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, transmat::tench, 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 three media transfer
d | - conductivity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
revision, JK, 24.11.2008
Definition at line 34 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, transmat::lcmat, lincoupledmat, saltmat3::matcond(), saltmat2::matcond(), lincoupmat::matcond(), gmultiph::matcond(), glasgowmat::matcond(), multiph::matcond(), o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, transmat::tench, intpointst::tm, and Tm.
Referenced by transmat::matcond().
void matcond2 | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes second type of conductivity matrix D in a material point for three media transfer
d | - conductivity matrix | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
revision, JK, 24.11.2008
Definition at line 92 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, saltmat3::matcond2(), saltmat2::matcond2(), gmultiph::matcond2(), multiph::matcond2(), o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, 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 554 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, o30bazantB, print_err(), gmultiph::print_othervalue_name(), multiph::print_othervalue_name(), glasgowmat::print_othervalue_name(), soilmat1, transmat::tench, 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 199 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, o30bazantB, print_err(), gmultiph::rhs_volume(), multiph::rhs_volume(), salt2mat, salt3mat, soilmat1, 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 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 | |
nn | - number of node | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 439 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, flux, glasgow, intpointst::idm, transmat::ip, o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, transmat::tench, intpointst::tm, Tm, saltmat3::transmission_flux(), saltmat2::transmission_flux(), gmultiph::transmission_flux(), glasgowmat::transmission_flux(), and multiph::transmission_flux().
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 | - 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 | |
nn | - number of node | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 378 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, transmat::tench, intpointst::tm, Tm, saltmat3::transmission_nodval(), saltmat2::transmission_nodval(), gmultiph::transmission_nodval(), glasgowmat::transmission_nodval(), and multiph::transmission_nodval().
Referenced by transmat::transmission_nodval().
double transmission_transcoeff | ( | double | trc, | |
long | ri, | |||
long | ci, | |||
long | nn, | |||
long | bc, | |||
long | ipp, | |||
int | flag | |||
) |
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 | - number of node | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element | |
flag | - coefficient is computing for what 0=matrix,1=loading vector |
Definition at line 317 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, transmat::tench, intpointst::tm, Tm, saltmat3::transmission_transcoeff(), saltmat2::transmission_transcoeff(), gmultiph::transmission_transcoeff(), glasgowmat::transmission_transcoeff(), and multiph::transmission_transcoeff().
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 | - number of node | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 256 of file threemedia.cpp.
References baroghelB, C30baroghelB, C60baroghelB, C60bazantB, concreteB, glasgow, intpointst::idm, transmat::ip, o30bazantB, print_err(), transmat::salt2, salt2mat, transmat::salt3, salt3mat, soilmat1, transmat::tench, intpointst::tm, Tm, saltmat3::transmission_transcoeff(), saltmat2::transmission_transcoeff(), gmultiph::transmission_transcoeff(), glasgowmat::transmission_transcoeff(), and multiph::transmission_transcoeff().
Referenced by transmat::transmission_transcoeff().