glasgowmat Class Reference

#include <glasgowmat.h>

List of all members.

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)

Detailed Description

Definition at line 7 of file glasgowmat.h.


Constructor & Destructor Documentation

glasgowmat ( void   ) 

Definition at line 10 of file glasgowmat.cpp.

References alph, crhoair, emmi, hq, k0, model, pginf, por0, ra, rhoc, rhol0, rhos, rhov0, rv, sssp, stef, t0, and tfirestart.

~glasgowmat ( void   ) 

Definition at line 33 of file glasgowmat.cpp.


Member Function Documentation

double cap ( double  t,
double  pg,
double  rhov 
)

Definition at line 2483 of file glasgowmat.cpp.

References f_fracg(), and ra.

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1928 of file glasgowmat.cpp.

Referenced by f_crho().

double f_cl ( double  t  )  [private]

Calculate Specific Heat of Liquid Water

Parameters:
- 
Return values:
- 

Definition at line 1880 of file glasgowmat.cpp.

Referenced by f_crho().

double f_crho ( double  rhov,
double  pg,
double  t 
) [private]

Calculate Effective Heat Capacity

Parameters:
- 
Return values:
- 

Definition at line 2007 of file glasgowmat.cpp.

References f_ca(), f_cl(), f_cs(), f_cv(), f_fracg(), f_fracl(), f_fracs(), f_rhoa(), f_rhow(), and rhos.

Referenced by ctt().

double f_cs ( double  t  )  [private]

Calculate Specific Heat of Solid Skeleton

Parameters:
- 
Return values:
- 

Definition at line 1945 of file glasgowmat.cpp.

Referenced by f_crho().

double f_cv ( double  t  )  [private]

Calculate Specific Heat of Water Vapour

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1614 of file glasgowmat.cpp.

Referenced by f_beta().

double f_db ( double  rhov,
double  t 
) [private]

Calculate Diffusivity of Physically Bound Water

Parameters:
- 
Return values:
- 

Definition at line 1640 of file glasgowmat.cpp.

References f_s(), and sssp.

Referenced by kmt(), kmv(), ktt(), and ktv().

double f_dfracddt ( double  t  )  [private]

Calculate Derivative of Volume Fraction of Dehydrated Water wrt Temperature

Parameters:
- 
Return values:
- 

Definition at line 1232 of file glasgowmat.cpp.

References f_dmcbwreldt(), and f_rhow().

Referenced by cmt(), and ctt().

double f_dfracldrhov ( double  rhov,
double  t 
) [private]

Calculate Vapour Content Derivative

Parameters:
- 
Return values:
- 

Definition at line 1020 of file glasgowmat.cpp.

References f_fracl0(), f_h(), f_m(), f_psat(), f_pv(), f_rhow(), f_rhow0(), h(), rhoc, and rv.

Referenced by cav(), cmv(), ctv(), kmv(), and ktv().

double f_dfracldt ( double  rhov,
double  t 
) [private]

Calculate Derivative of Volume Fraction of Water

Parameters:
- 
Return values:
- 

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.

Referenced by cat(), cmt(), ctt(), kmt(), and ktt().

double f_dmcbwreldt ( double  t  )  [private]

Calculate Derivative of Mass of Dehydrated Water Released per m3

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 679 of file glasgowmat.cpp.

Referenced by f_dfracldt().

double f_dpcdrhov ( double  rhov,
double  t 
) [private]

Calculate dpcdrhov

Parameters:
- 
Return values:
- 

Definition at line 1392 of file glasgowmat.cpp.

References f_h(), f_rhow(), f_s(), h(), model, rv, and sssp.

Referenced by kmv(), and ktv().

double f_dpcdt ( double  rhov,
double  t 
) [private]

Calculate dpcdt

Parameters:
- 
Return values:
- 

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.

Referenced by kmt(), and ktt().

double f_dpordt ( double  t  )  [private]

Calculate Derivative of Porosity wrt Temperature

Parameters:
- 
Return values:
- 

Definition at line 539 of file glasgowmat.cpp.

References por0.

Referenced by cat(), cmt(), kmt(), and ktt().

double f_dpsatdt ( double  t  )  [private]

Calculate Derivative of Saturation Vapour Pressure wrt Temperature

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1217 of file glasgowmat.cpp.

References f_mcbwrel(), and f_rhow().

Referenced by cmt(), and ctt().

double f_fracg ( double  rhov,
double  t 
) [private]

Calculate Volume Fraction of Gas Phase

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 2090 of file glasgowmat.cpp.

References f_hrad(), and hq.

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

Parameters:
- 
Return values:
- 

Definition at line 2073 of file glasgowmat.cpp.

References emmi, and stef.

Referenced by f_hqr().

double f_keff ( double  t  )  [private]

Calculate Thermal Conductivity

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1695 of file glasgowmat.cpp.

References f_s().

Referenced by kap(), and kmp().

double f_kk ( double  t  )  [private]

Calculate Intrinsic Permeability

Parameters:
- 
Return values:
- 

Definition at line 1662 of file glasgowmat.cpp.

References f_por(), k0, and por0.

Referenced by kap(), kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().

double f_kl ( double  rhov,
double  t 
) [private]

Calculate Calculate Relative Permeability

Parameters:
- 
Return values:
- 

Definition at line 1739 of file glasgowmat.cpp.

References f_s().

Referenced by kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().

double f_ld (  )  [private]

Calculate Specific Heat of Dehydration

Parameters:
- 
Return values:
- 

Definition at line 2058 of file glasgowmat.cpp.

Referenced by ctt().

double f_le ( double  t  )  [private]

Calculate Specific Heat of Evaporation

Parameters:
- 
Return values:
- 

Definition at line 2031 of file glasgowmat.cpp.

Referenced by ctt(), ctv(), kmp(), kmt(), ktp(), ktt(), and ktv().

double f_m ( double  t  )  [private]

Calculate factor m

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1090 of file glasgowmat.cpp.

References rhoc.

Referenced by f_fracd().

double f_mi ( double  t  )  [private]

Calculate factor mi

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1831 of file glasgowmat.cpp.

Referenced by f_mug().

double f_mug ( double  rhov,
double  pg,
double  t 
) [private]

Calculate Dynamic Viscosity of Gas

Parameters:
- 
Return values:
- 

Definition at line 1855 of file glasgowmat.cpp.

References f_mua(), f_muv(), and f_rhoa().

Referenced by kap(), and kmp().

double f_mul ( double  t  )  [private]

Calculate Dynamic Viscosity of Liquid Water

Parameters:
- 
Return values:
- 

Definition at line 1783 of file glasgowmat.cpp.

Referenced by kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().

double f_muv ( double  t  )  [private]

Calculate Dynamic Viscosity of Water Vapour

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1540 of file glasgowmat.cpp.

References f_pv().

Referenced by f_rhoa().

double f_pc ( double  rhov,
double  t 
) [private]

Calculate pc

Parameters:
- 
Return values:
- 

Definition at line 1312 of file glasgowmat.cpp.

References f_h(), f_rhow(), f_s(), h(), model, rv, and sssp.

Referenced by f_pl(), and get_othervalue().

double f_pl ( double  rhov,
double  pg,
double  t 
) [private]

Calculate pl

Parameters:
- 
Return values:
- 

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]

Calculate Porosity

Parameters:
- 
Return values:
- 

Definition at line 501 of file glasgowmat.cpp.

References por0.

Referenced by f_fracg(), f_fracl(), f_kk(), f_s(), kmt(), kmv(), ktt(), and ktv().

double f_ppore ( double  rhov,
double  pg,
double  t,
double  pginf 
) [private]

Calculate ppore

Parameters:
- 
Return values:
- 

Definition at line 1464 of file glasgowmat.cpp.

References f_h(), f_rhow(), f_s(), h(), model, rv, and sssp.

double f_psat ( double  t  )  [private]

Calculate Saturation Vapour Pressure

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

Definition at line 1555 of file glasgowmat.cpp.

References f_pa(), and ra.

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

Parameters:
- 
Return values:
- 

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

Parameters:
rhov0 -
Return values:
rhoinf -

Definition at line 269 of file glasgowmat.cpp.

References rhov0.

double f_rhow ( double  t  )  [private]

Calculate Density of Liquid Water

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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

Parameters:
- 
Return values:
- 

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]

Calculate sb

Parameters:
- 
Return values:
- 

Definition at line 1509 of file glasgowmat.cpp.

References f_s(), model, and sssp.

Referenced by kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().

double f_sln ( double  rhov,
double  t 
) [private]

Calculate sln

Parameters:
- 
Return values:
- 

Definition at line 1432 of file glasgowmat.cpp.

References f_s(), model, and sssp.

double f_tinf ( double  time  )  [private]
double get_othervalue ( long  compother,
long  ipp,
double *  r 
)

function computes all variables in nodes

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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.

Parameters:
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 
)
double kmv ( double  t,
double  pg,
double  rhov 
)
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 
)
double ktv ( double  t,
double  pg,
double  rhov 
)
void matcap ( double &  c,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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  ) 

Definition at line 259 of file glasgowmat.cpp.

References alph, crhoair, emmi, hq, k0, pginf, por0, rhoc, rhol0, rhos, rhov0, sssp, t0, and tfirestart.

Referenced by transmat::printmatchar().

void print_othervalue_name ( FILE *  out,
long  compother 
)

function prints names of all variables in nodes

Parameters:
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  ) 

Definition at line 251 of file glasgowmat.cpp.

References alph, crhoair, emmi, hq, k0, pginf, por0, rhoc, rhol0, rhos, rhov0, sssp, t0, tfirestart, and xfscanf().

Referenced by transmat::readmattype().

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)

Parameters:
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)

Parameters:
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)

Parameters:
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().


Member Data Documentation

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

Definition at line 91 of file glasgowmat.h.

Referenced by f_dpcdrhov(), f_dpcdt(), f_pc(), f_pl(), f_ppore(), f_sb(), f_sln(), glasgowmat(), kmp(), kmt(), kmv(), ktp(), ktt(), and ktv().

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
double rhoc
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
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().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2