#include <glasgowmat.h>
Public Member Functions | |
double | cap (double t, double pg, double rhov) |
double | cat (double t, double pg, double rhov) |
double | cav (double t, double pg, double rhov) |
double | cmp () |
double | cmt (double t, double pg, double rhov) |
double | cmv (double t, double pg, double rhov) |
double | ctp () |
double | ctt (double t, double pg, double rhov) |
double | ctv (double t, double pg, double rhov) |
double | f_h (double rhov, double t) |
double | get_othervalue (long compother, long ipp, double *r) |
double | get_transmission_flux_mt (double bv, double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_flux_mv (double bv, double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_flux_tt (double bv, double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_nodval_mt (double bv, double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_nodval_mv (double bv, double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_nodval_tt (double bv, double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_transcoeff_mt (double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_transcoeff_mv (double t, double pg, double rhov, long bc, long ipp) |
double | get_transmission_transcoeff_tt (double t, double pg, double rhov, long bc, long ipp) |
void | give_dof_names (namevart *dofname, long ntm) |
returns ordered dof names | |
glasgowmat (void) | |
double | kap (double t, double pg, double rhov) |
double | kat (double t, double pg, double rhov) |
double | kav (double t, double pg, double rhov) |
double | kmp (double t, double pg, double rhov) |
double | kmt (double t, double pg, double rhov) |
double | kmv (double t, double pg, double rhov) |
double | ktp (double t, double pg, double rhov) |
double | ktt (double t, double pg, double rhov) |
double | ktv (double t, double pg, double rhov) |
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 | matcond2d (matrix &d, long ri, long ci, long ipp) |
void | matcond3d (matrix &d, long ri, long ci, long ipp) |
void | print (FILE *out) |
void | print_othervalue_name (FILE *out, long compother) |
void | read (XFILE *in) |
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) |
~glasgowmat (void) | |
Public Attributes | |
double | alph |
double | crhoair |
double | emmi |
double | hq |
double | k0 |
long | model |
double | pginf |
double | por0 |
double | ra |
double | rhoc |
double | rhol0 |
double | rhos |
double | rhov0 |
double | rv |
double | sssp |
double | stef |
double | t0 |
double | tfirestart |
Private Member Functions | |
double | f_beta (double pg, double tinf) |
double | f_ca (double t) |
double | f_cl (double t) |
double | f_crho (double rhov, double pg, double t) |
double | f_cs (double t) |
double | f_cv (double t) |
double | f_dav (double rhov, double pg, double t) |
double | f_davex (double pg, double tinf) |
double | f_db (double rhov, double t) |
double | f_dfracddt (double t) |
double | f_dfracldrhov (double rhov, double t) |
double | f_dfracldt (double rhov, double t) |
double | f_dmcbwreldt (double t) |
double | f_dmdt (double t) |
double | f_dmidt (double t) |
double | f_dpcdrhov (double rhov, double t) |
double | f_dpcdt (double rhov, double t) |
double | f_dpordt (double t) |
double | f_dpsatdt (double t) |
double | f_drhowdt (double t) |
double | f_fracd (double t) |
double | f_fracg (double rhov, double t) |
double | f_fracl (double rhov, double t) |
double | f_fracl0 (double t) |
double | f_fracs (double rhov, double t) |
double | f_hqr (double t, double tinf) |
double | f_hrad (double t, double tinf) |
double | f_keff (double t) |
double | f_kg (double rhov, double t) |
double | f_kk (double t) |
double | f_kl (double rhov, double t) |
double | f_ld () |
double | f_le (double t) |
double | f_m (double t) |
double | f_mcbwrel (double t) |
double | f_mi (double t) |
double | f_mua (double t) |
double | f_mug (double rhov, double pg, double t) |
double | f_mul (double t) |
double | f_muv (double t) |
double | f_pa (double rhov, double pg, double t) |
double | f_pc (double rhov, double t) |
double | f_pl (double rhov, double pg, double t) |
double | f_por (double t) |
double | f_ppore (double rhov, double pg, double t, double pginf) |
double | f_psat (double t) |
double | f_pv (double rhov, double t) |
double | f_rhoa (double rhov, double pg, double t) |
double | f_rhog (double rhov, double pg, double t) |
double | f_rhovinf () |
double | f_rhow (double t) |
double | f_rhow0 (double t) |
double | f_s (double rhov, double t) |
double | f_sb (double rhov, double t) |
double | f_sln (double rhov, double t) |
double | f_tinf (double time) |
Definition at line 7 of file glasgowmat.h.
glasgowmat | ( | void | ) |
~glasgowmat | ( | void | ) |
Definition at line 33 of file glasgowmat.cpp.
double cap | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2483 of file glasgowmat.cpp.
Referenced by matcap().
double cat | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2468 of file glasgowmat.cpp.
References f_dfracldt(), f_dpordt(), f_fracg(), f_rhoa(), and ra.
Referenced by matcap().
double cav | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2495 of file glasgowmat.cpp.
References f_dfracldrhov(), f_fracg(), f_rhoa(), ra, and rv.
Referenced by matcap().
double cmp | ( | ) |
Definition at line 2527 of file glasgowmat.cpp.
Referenced by matcap().
double cmt | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2509 of file glasgowmat.cpp.
References f_dfracddt(), f_dfracldt(), f_dpordt(), f_drhowdt(), f_fracd(), f_fracl(), and f_rhow().
Referenced by matcap().
double cmv | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2532 of file glasgowmat.cpp.
References f_dfracldrhov(), f_fracg(), and f_rhow().
Referenced by matcap().
double ctp | ( | ) |
Definition at line 2449 of file glasgowmat.cpp.
Referenced by matcap().
double ctt | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2429 of file glasgowmat.cpp.
References f_crho(), f_dfracddt(), f_dfracldt(), f_drhowdt(), f_fracd(), f_fracl(), f_ld(), f_le(), and f_rhow().
Referenced by matcap().
double ctv | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2454 of file glasgowmat.cpp.
References f_dfracldrhov(), f_le(), and f_rhow().
Referenced by matcap().
double f_beta | ( | double | pg, | |
double | tinf | |||
) | [private] |
Calculate Water Vapour Transfer Coefficient
- |
- |
Definition at line 2109 of file glasgowmat.cpp.
References alph, crhoair, f_davex(), and hq.
Referenced by get_transmission_flux_mv(), get_transmission_nodval_mv(), and get_transmission_transcoeff_mv().
double f_ca | ( | double | t | ) | [private] |
Calculate Specific Heat of Dry Air
- |
- |
Definition at line 1928 of file glasgowmat.cpp.
Referenced by f_crho().
double f_cl | ( | double | t | ) | [private] |
Calculate Specific Heat of Liquid Water
- |
- |
Definition at line 1880 of file glasgowmat.cpp.
Referenced by f_crho().
double f_crho | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
double f_cs | ( | double | t | ) | [private] |
Calculate Specific Heat of Solid Skeleton
- |
- |
Definition at line 1945 of file glasgowmat.cpp.
Referenced by f_crho().
double f_cv | ( | double | t | ) | [private] |
Calculate Specific Heat of Water Vapour
- |
- |
Definition at line 1904 of file glasgowmat.cpp.
Referenced by f_crho().
double f_dav | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
Calculate dav - Calculate Gas Diffusivity
- |
- |
Definition at line 1587 of file glasgowmat.cpp.
Referenced by get_transmission_flux_mt(), get_transmission_nodval_mt(), get_transmission_transcoeff_mt(), kap(), kat(), kav(), kmp(), kmt(), and kmv().
double f_davex | ( | double | pg, | |
double | tinf | |||
) | [private] |
Calculate DavEx - Calculate Gas Diffusivity
- |
- |
Definition at line 1614 of file glasgowmat.cpp.
Referenced by f_beta().
double f_db | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_dfracddt | ( | double | t | ) | [private] |
Calculate Derivative of Volume Fraction of Dehydrated Water wrt Temperature
- |
- |
Definition at line 1232 of file glasgowmat.cpp.
References f_dmcbwreldt(), and f_rhow().
double f_dfracldrhov | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_dfracldt | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Derivative of Volume Fraction of Water
- |
- |
Definition at line 784 of file glasgowmat.cpp.
References f_dmdt(), f_dmidt(), f_dpsatdt(), f_drhowdt(), f_fracl0(), f_h(), f_m(), f_mi(), f_psat(), f_pv(), f_rhow(), f_rhow0(), h(), rhoc, and rv.
double f_dmcbwreldt | ( | double | t | ) | [private] |
Calculate Derivative of Mass of Dehydrated Water Released per m3
- |
- |
Definition at line 1154 of file glasgowmat.cpp.
References rhoc.
Referenced by f_dfracddt().
double f_dmdt | ( | double | t | ) | [private] |
Calculate Derivative of m factor wrt Temperature
- |
- |
Definition at line 656 of file glasgowmat.cpp.
Referenced by f_dfracldt().
double f_dmidt | ( | double | t | ) | [private] |
Calculate Derivative of mi factor wrt Temperature
- |
- |
Definition at line 679 of file glasgowmat.cpp.
Referenced by f_dfracldt().
double f_dpcdrhov | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_dpcdt | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate dpcdt
- |
- |
Definition at line 1349 of file glasgowmat.cpp.
References f_dpsatdt(), f_drhowdt(), f_h(), f_psat(), f_rhow(), f_s(), h(), model, rv, and sssp.
double f_dpordt | ( | double | t | ) | [private] |
double f_dpsatdt | ( | double | t | ) | [private] |
Calculate Derivative of Saturation Vapour Pressure wrt Temperature
- |
- |
Definition at line 332 of file glasgowmat.cpp.
Referenced by f_dfracldt(), and f_dpcdt().
double f_drhowdt | ( | double | t | ) | [private] |
Calculate Derivative of Density of Liquid Water
- |
- |
Definition at line 455 of file glasgowmat.cpp.
Referenced by cmt(), ctt(), f_dfracldt(), and f_dpcdt().
double f_fracd | ( | double | t | ) | [private] |
Calculate Volume Fraction of Dehydrated Water
- |
- |
Definition at line 1217 of file glasgowmat.cpp.
References f_mcbwrel(), and f_rhow().
double f_fracg | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Volume Fraction of Gas Phase
- |
- |
Definition at line 1248 of file glasgowmat.cpp.
References f_fracl(), and f_por().
Referenced by cap(), cat(), cav(), cmv(), f_crho(), f_fracs(), get_transmission_flux_mt(), get_transmission_nodval_mt(), get_transmission_transcoeff_mt(), kap(), kat(), kav(), kmp(), kmt(), and kmv().
double f_fracl | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Volume Fraction of Water
- |
- |
Definition at line 703 of file glasgowmat.cpp.
References f_fracl0(), f_h(), f_m(), f_mi(), f_por(), f_psat(), f_pv(), f_rhow(), f_rhow0(), h(), and rhoc.
Referenced by cmt(), ctt(), f_crho(), f_fracg(), f_fracs(), f_s(), kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().
double f_fracl0 | ( | double | t | ) | [private] |
Calculate Volume Fraction of Free Water - from Sorption Isotherms
- |
- |
Definition at line 576 of file glasgowmat.cpp.
References f_rhow0(), por0, and rhol0.
Referenced by f_dfracldrhov(), f_dfracldt(), and f_fracl().
double f_fracs | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Volume Fraction of Solid Skeleton
- |
- |
Definition at line 1990 of file glasgowmat.cpp.
References f_fracg(), and f_fracl().
Referenced by f_crho().
double f_h | ( | double | rhov, | |
double | t | |||
) |
Calculate relative humidity
- |
- |
Definition at line 594 of file glasgowmat.cpp.
References f_psat(), f_pv(), and h().
Referenced by f_dfracldrhov(), f_dfracldt(), f_dpcdrhov(), f_dpcdt(), f_fracl(), f_pc(), f_ppore(), and get_othervalue().
double f_hqr | ( | double | t, | |
double | tinf | |||
) | [private] |
Calculate Combined Heat Transfer Coefficient
- |
- |
Definition at line 2090 of file glasgowmat.cpp.
Referenced by get_transmission_flux_mt(), get_transmission_flux_tt(), get_transmission_nodval_mt(), get_transmission_nodval_tt(), get_transmission_transcoeff_mt(), and get_transmission_transcoeff_tt().
double f_hrad | ( | double | t, | |
double | tinf | |||
) | [private] |
Calculate Radiative Heat Transfer Coefficient
- |
- |
Definition at line 2073 of file glasgowmat.cpp.
Referenced by f_hqr().
double f_keff | ( | double | t | ) | [private] |
Calculate Thermal Conductivity
- |
- |
Definition at line 1967 of file glasgowmat.cpp.
Referenced by get_transmission_flux_mt(), get_transmission_nodval_mt(), get_transmission_transcoeff_mt(), and ktt().
double f_kg | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Calculate Relative Permeability
- |
- |
Definition at line 1695 of file glasgowmat.cpp.
References f_s().
double f_kk | ( | double | t | ) | [private] |
double f_kl | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_ld | ( | ) | [private] |
Calculate Specific Heat of Dehydration
- |
- |
Definition at line 2058 of file glasgowmat.cpp.
Referenced by ctt().
double f_le | ( | double | t | ) | [private] |
double f_m | ( | double | t | ) | [private] |
Calculate factor m
- |
- |
Definition at line 611 of file glasgowmat.cpp.
Referenced by f_dfracldrhov(), f_dfracldt(), and f_fracl().
double f_mcbwrel | ( | double | t | ) | [private] |
Calculate Mass of Dehydrated Water Released per m3
- |
- |
Definition at line 1090 of file glasgowmat.cpp.
References rhoc.
Referenced by f_fracd().
double f_mi | ( | double | t | ) | [private] |
Calculate factor mi
- |
- |
Definition at line 633 of file glasgowmat.cpp.
Referenced by f_dfracldt(), and f_fracl().
double f_mua | ( | double | t | ) | [private] |
Calculate Dynamic Viscosity of Dry Air
- |
- |
Definition at line 1831 of file glasgowmat.cpp.
Referenced by f_mug().
double f_mug | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
double f_mul | ( | double | t | ) | [private] |
double f_muv | ( | double | t | ) | [private] |
Calculate Dynamic Viscosity of Water Vapour
- |
- |
Definition at line 1806 of file glasgowmat.cpp.
Referenced by f_mug().
double f_pa | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
Calculate Dry Air Pressure
- |
- |
Definition at line 1540 of file glasgowmat.cpp.
References f_pv().
Referenced by f_rhoa().
double f_pc | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_pl | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
Calculate pl
- |
- |
Definition at line 1280 of file glasgowmat.cpp.
References f_pc(), f_s(), model, and sssp.
Referenced by get_othervalue().
double f_por | ( | double | t | ) | [private] |
double f_ppore | ( | double | rhov, | |
double | pg, | |||
double | t, | |||
double | pginf | |||
) | [private] |
double f_psat | ( | double | t | ) | [private] |
Calculate Saturation Vapour Pressure
- |
- |
Definition at line 313 of file glasgowmat.cpp.
Referenced by f_dfracldrhov(), f_dfracldt(), f_dpcdt(), f_fracl(), f_h(), get_transmission_flux_mv(), and get_transmission_nodval_mv().
double f_pv | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Vapour Pressure
- |
- |
Definition at line 300 of file glasgowmat.cpp.
References rv.
Referenced by f_dfracldrhov(), f_dfracldt(), f_fracl(), f_h(), f_pa(), and get_othervalue().
double f_rhoa | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
Calculate Air Content
- |
- |
Definition at line 1555 of file glasgowmat.cpp.
Referenced by cat(), cav(), f_crho(), f_mug(), f_rhog(), get_transmission_flux_mt(), get_transmission_nodval_mt(), get_transmission_transcoeff_mt(), kap(), kav(), kmp(), kmt(), and kmv().
double f_rhog | ( | double | rhov, | |
double | pg, | |||
double | t | |||
) | [private] |
Calculate Gas Content
- |
- |
Definition at line 1570 of file glasgowmat.cpp.
References f_rhoa().
Referenced by get_transmission_flux_mt(), get_transmission_nodval_mt(), get_transmission_transcoeff_mt(), kap(), kat(), kav(), kmp(), kmt(), and kmv().
double f_rhovinf | ( | ) | [private] |
Calculate Far Field Vapour Content
rhov0 | - |
rhoinf | - |
Definition at line 269 of file glasgowmat.cpp.
References rhov0.
double f_rhow | ( | double | t | ) | [private] |
Calculate Density of Liquid Water
- |
- |
Definition at line 350 of file glasgowmat.cpp.
Referenced by cmt(), cmv(), ctt(), ctv(), f_crho(), f_dfracddt(), f_dfracldrhov(), f_dfracldt(), f_dpcdrhov(), f_dpcdt(), f_fracd(), f_fracl(), f_pc(), f_ppore(), kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().
double f_rhow0 | ( | double | t | ) | [private] |
Calculate Density of Liquid Water
- |
- |
Definition at line 403 of file glasgowmat.cpp.
Referenced by f_dfracldrhov(), f_dfracldt(), f_fracl(), and f_fracl0().
double f_s | ( | double | rhov, | |
double | t | |||
) | [private] |
Calculate Saturation
- |
- |
Definition at line 1264 of file glasgowmat.cpp.
References f_fracl(), and f_por().
Referenced by f_db(), f_dpcdrhov(), f_dpcdt(), f_kg(), f_kl(), f_pc(), f_pl(), f_ppore(), f_sb(), f_sln(), get_othervalue(), kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().
double f_sb | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_sln | ( | double | rhov, | |
double | t | |||
) | [private] |
double f_tinf | ( | double | time | ) | [private] |
Calculate Far Field Temperature
time | - | |
t0 | - |
tinf | - |
Definition at line 283 of file glasgowmat.cpp.
References t0, and tfirestart.
Referenced by get_transmission_flux_mt(), get_transmission_flux_mv(), get_transmission_flux_tt(), get_transmission_nodval_mt(), get_transmission_nodval_mv(), get_transmission_nodval_tt(), get_transmission_transcoeff_mt(), get_transmission_transcoeff_mv(), and get_transmission_transcoeff_tt().
double get_othervalue | ( | long | compother, | |
long | ipp, | |||
double * | r | |||
) |
function computes all variables in nodes
compother | - number of other components | |
ipp | - first integration point on element | |
t | - temperature on actual node | |
pg | - gas pressure on actual node | |
rhov | - concentration of water vapour |
Definition at line 3181 of file glasgowmat.cpp.
References f_h(), f_pc(), f_pl(), f_pv(), f_s(), h(), and other.
Referenced by med3::compute_othervalues().
double get_transmission_flux_mt | ( | double | bv, | |
double | t, | |||
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
coupled boundary condition - function creates correct flux on the boundary (transmission) for rhov from t
bv | - value of prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 3125 of file glasgowmat.cpp.
References f_dav(), f_fracg(), f_hqr(), f_keff(), f_rhoa(), f_rhog(), f_tinf(), flux, ra, probdesct::time, and Tp.
Referenced by transmission_flux().
double get_transmission_flux_mv | ( | double | bv, | |
double | t, | |||
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
function creates flux on the boundary (transmission - convective mass transfer) for rhov
bv | - prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 2829 of file glasgowmat.cpp.
References f_beta(), f_psat(), f_tinf(), flux, rv, probdesct::time, and Tp.
Referenced by transmission_flux().
double get_transmission_flux_tt | ( | double | bv, | |
double | t, | |||
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
function creates flux on the boundary (transmission - convective mass transfer) for t
bv | - prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 2970 of file glasgowmat.cpp.
References f_hqr(), f_tinf(), flux, probdesct::time, and Tp.
Referenced by transmission_flux().
double get_transmission_nodval_mt | ( | double | bv, | |
double | t, | |||
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
coupled boundary condition - function creates correct new nodal value on the boundary (transmission) for rhov from t
bv | - value of prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 3071 of file glasgowmat.cpp.
References f_dav(), f_fracg(), f_hqr(), f_keff(), f_rhoa(), f_rhog(), f_tinf(), nodval(), ra, probdesct::time, and Tp.
Referenced by transmission_nodval().
double get_transmission_nodval_mv | ( | double | bv, | |
double | t, | |||
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
function creates correct new nodal value on the boundary (transmission) for rhov
bv | - value of prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 2778 of file glasgowmat.cpp.
References f_beta(), f_psat(), f_tinf(), nodval(), rv, probdesct::time, and Tp.
Referenced by transmission_nodval().
double get_transmission_nodval_tt | ( | double | bv, | |
double | t, | |||
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
function creates correct new nodal value on the boundary (transmission) for t
bv | - value of prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 2928 of file glasgowmat.cpp.
References f_hqr(), f_tinf(), nodval(), probdesct::time, and Tp.
Referenced by transmission_nodval().
double get_transmission_transcoeff_mt | ( | double | t, | |
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
coupled boundary condition - function creates correct new nodal value on the boundary (transmission) for rhov from t
bv | - value of prescribed value near the boundary | |
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure on the boundary | |
t | - actual temperature on the boundary | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 3014 of file glasgowmat.cpp.
References f_dav(), f_fracg(), f_hqr(), f_keff(), f_rhoa(), f_rhog(), f_tinf(), ra, probdesct::time, and Tp.
Referenced by transmission_transcoeff().
double get_transmission_transcoeff_mv | ( | double | t, | |
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
function creates correct transfer coefficient on the boundary (transmission) for rhov
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure | |
t | - actual temperature | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 2728 of file glasgowmat.cpp.
References f_beta(), f_tinf(), probdesct::time, and Tp.
Referenced by transmission_transcoeff().
double get_transmission_transcoeff_tt | ( | double | t, | |
double | pg, | |||
double | rhov, | |||
long | bc, | |||
long | ipp | |||
) |
function creates correct transfer coefficient on the boundary (transmission) for t
rhov | - actual water vapour concentration | |
pg | - actual capillary gas pressure | |
t | - actual temperature | |
bc | - type of boundary condition | |
ipp | - number of first integration point on element |
Definition at line 2882 of file glasgowmat.cpp.
References f_hqr(), f_tinf(), probdesct::time, and Tp.
Referenced by transmission_transcoeff().
void give_dof_names | ( | namevart * | dofname, | |
long | ntm | |||
) |
returns ordered dof names
The function returns ordered dof names of primary unknowns required by the model.
dofname | - array of uknown name for particular nodal dofs (output) dofname[i] = name of i-th nodal unknown (for names see aliast.h - enum namevart) | |
ntm | - number of transported media = number of nodal dof = length of array dofname |
Created by Tomas Krejci according to Tomas Koudelka, 16/07/2014
Definition at line 3308 of file glasgowmat.cpp.
References print_err(), trf_gas_press, trf_temperature, and trf_vapor_content.
Referenced by transmat::give_dof_names().
double kap | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2266 of file glasgowmat.cpp.
References f_dav(), f_fracg(), f_kg(), f_kk(), f_mug(), f_rhoa(), f_rhog(), and ra.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double kat | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2245 of file glasgowmat.cpp.
References f_dav(), f_fracg(), f_rhog(), and ra.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double kav | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2284 of file glasgowmat.cpp.
References f_dav(), f_fracg(), f_rhoa(), f_rhog(), ra, and rv.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double kmp | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
double kmt | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2299 of file glasgowmat.cpp.
References f_dav(), f_db(), f_dfracldt(), f_dpcdt(), f_dpordt(), f_fracg(), f_fracl(), f_kk(), f_kl(), f_le(), f_mul(), f_por(), f_rhoa(), f_rhog(), f_rhow(), f_s(), f_sb(), model, and ra.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double kmv | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2388 of file glasgowmat.cpp.
References f_dav(), f_db(), f_dfracldrhov(), f_dpcdrhov(), f_fracg(), f_fracl(), f_kk(), f_kl(), f_mul(), f_por(), f_rhoa(), f_rhog(), f_rhow(), f_s(), f_sb(), model, ra, and rv.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double ktp | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2177 of file glasgowmat.cpp.
References f_fracl(), f_kk(), f_kl(), f_le(), f_mul(), f_rhow(), f_s(), f_sb(), and model.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double ktt | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2128 of file glasgowmat.cpp.
References f_db(), f_dfracldt(), f_dpcdt(), f_dpordt(), f_fracl(), f_keff(), f_kk(), f_kl(), f_le(), f_mul(), f_por(), f_rhow(), f_s(), f_sb(), and model.
Referenced by matcond1d(), matcond2d(), and matcond3d().
double ktv | ( | double | t, | |
double | pg, | |||
double | rhov | |||
) |
Definition at line 2209 of file glasgowmat.cpp.
References f_db(), f_dfracldrhov(), f_dpcdrhov(), f_fracl(), f_kk(), f_kl(), f_le(), f_mul(), f_por(), f_rhow(), f_s(), f_sb(), and model.
Referenced by matcond1d(), matcond2d(), and matcond3d().
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 217 of file glasgowmat.cpp.
References intpointst::av, cap(), cat(), cav(), cmp(), cmt(), cmv(), ctp(), ctt(), ctv(), 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 48 of file glasgowmat.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 82 of file glasgowmat.cpp.
References intpointst::av, transmat::ip, kap(), kat(), kav(), kmp(), kmt(), kmv(), ktp(), ktt(), ktv(), and Tm.
Referenced by matcond().
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 124 of file glasgowmat.cpp.
References intpointst::av, fillm(), transmat::ip, kap(), kat(), kav(), kmp(), kmt(), kmv(), ktp(), ktt(), ktv(), and Tm.
Referenced by matcond().
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 170 of file glasgowmat.cpp.
References intpointst::av, fillm(), transmat::ip, kap(), kat(), kav(), kmp(), kmt(), kmv(), ktp(), ktt(), ktv(), and Tm.
Referenced by matcond().
void print | ( | FILE * | out | ) |
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 3252 of file glasgowmat.cpp.
Referenced by med3::print_othervaluesnames().
void read | ( | XFILE * | in | ) |
double transmission_flux | ( | double | nodval, | |
double | trc2, | |||
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 | |
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 2675 of file glasgowmat.cpp.
References flux, get_transmission_flux_mt(), get_transmission_flux_mv(), get_transmission_flux_tt(), 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, | |
double | trc2, | |||
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 | |
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 2618 of file glasgowmat.cpp.
References get_transmission_nodval_mt(), get_transmission_nodval_mv(), get_transmission_nodval_tt(), 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 2560 of file glasgowmat.cpp.
References get_transmission_transcoeff_mt(), get_transmission_transcoeff_mv(), get_transmission_transcoeff_tt(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.
Referenced by med3::transmission_transcoeff().
double alph |
Definition at line 86 of file glasgowmat.h.
Referenced by f_beta(), glasgowmat(), print(), and read().
double crhoair |
Definition at line 88 of file glasgowmat.h.
Referenced by f_beta(), glasgowmat(), print(), and read().
double emmi |
Definition at line 84 of file glasgowmat.h.
Referenced by f_hrad(), glasgowmat(), print(), and read().
double hq |
Definition at line 87 of file glasgowmat.h.
Referenced by f_beta(), f_hqr(), glasgowmat(), print(), and read().
double k0 |
Definition at line 76 of file glasgowmat.h.
Referenced by f_kk(), glasgowmat(), print(), and read().
long model |
double pginf |
Definition at line 83 of file glasgowmat.h.
Referenced by glasgowmat(), print(), and read().
double por0 |
Definition at line 75 of file glasgowmat.h.
Referenced by f_dpordt(), f_fracl0(), f_kk(), f_por(), glasgowmat(), print(), and read().
double ra |
Definition at line 78 of file glasgowmat.h.
Referenced by cap(), cat(), cav(), f_rhoa(), get_transmission_flux_mt(), get_transmission_nodval_mt(), get_transmission_transcoeff_mt(), glasgowmat(), kap(), kat(), kav(), kmp(), kmt(), and kmv().
double rhoc |
Definition at line 73 of file glasgowmat.h.
Referenced by f_dfracldrhov(), f_dfracldt(), f_dmcbwreldt(), f_fracl(), f_mcbwrel(), glasgowmat(), print(), and read().
double rhol0 |
Definition at line 77 of file glasgowmat.h.
Referenced by f_fracl0(), glasgowmat(), print(), and read().
double rhos |
Definition at line 74 of file glasgowmat.h.
Referenced by f_crho(), glasgowmat(), print(), and read().
double rhov0 |
Definition at line 82 of file glasgowmat.h.
Referenced by f_rhovinf(), glasgowmat(), print(), and read().
double rv |
Definition at line 79 of file glasgowmat.h.
Referenced by cav(), f_dfracldrhov(), f_dfracldt(), f_dpcdrhov(), f_dpcdt(), f_pc(), f_ppore(), f_pv(), get_transmission_flux_mv(), get_transmission_nodval_mv(), glasgowmat(), kav(), and kmv().
double sssp |
Definition at line 80 of file glasgowmat.h.
Referenced by f_db(), f_dpcdrhov(), f_dpcdt(), f_pc(), f_pl(), f_ppore(), f_sb(), f_sln(), glasgowmat(), print(), and read().
double stef |
Definition at line 85 of file glasgowmat.h.
Referenced by f_hrad(), and glasgowmat().
double t0 |
Definition at line 81 of file glasgowmat.h.
Referenced by f_tinf(), glasgowmat(), print(), and read().
double tfirestart |
Definition at line 89 of file glasgowmat.h.
Referenced by f_tinf(), glasgowmat(), print(), and read().