kunmat2 Class Reference

#include <kunzel2.h>

List of all members.

Public Member Functions

void aux_values (long ipp, double *in, double *inp, double *ineq, double *out)
void CorD (int cislochar, int &kvyhl, double in, double x, double &y, double &z, double &z2)
void der_value_hyst (int matchar, int kod, double pv, double &outvalue, double &outvalue2, long ipp)
double DerivaceHustotyEntalpiePodleTeploty (double x1, double x2, long ipp)
double DerivaceTlakuNasycenychParNaTeplote (double x1, double x2)
double derivation_dy_dx (int matchar, double prom, int pomk1, int pomk2)
double derivation_sorption_izoterm_data (double x1, double x2, double x3, long ipp)
double DerivativeOfTheMoistureRetentionCharacteristik (double x1, double x2, long ipp)
double DerivativeOfTheRetentionCurve (double x1, double x2)
double DerivativeOfTheSorptionIsotherm (double x1, double x2)
double get_othervalue (long compother, double x1, double x2, long ipp)
double get_transmission_flux_hh (double bv, double x1, double x2, long bc, long ipp)
double get_transmission_flux_tt (double bv, double x1, double x2, long bc, long ipp)
double get_transmission_nodval_hh (double bv, double x1, double x2, long bc, long ipp)
double get_transmission_nodval_tt (double bv, double x1, double x2, long bc, long ipp)
double get_transmission_transcoeff_hh (double x1, double x2, long bc, long ipp)
double get_transmission_transcoeff_tt (double x1, double x2, long bc, long ipp)
void give_data (double rh, double Mhmc, double Smc, double Mhrh, double &moistakt)
void give_values (long ipp, double *av, double *inp, double *ineq)
double HygroscopicMoisture (double x1, double x2)
void hystereze2 (int matchar, double x, double xpv, double ineq1, double &outvalue, double &outvalue2, long ipp)
void initvalues (long ipp, long ido)
double kapa_exp (double a, double b, double x1w, double x2, long ipp)
void kapa_values (int kod, long ipp, double x1, double xpv, double ineq1, double &kapa)
 kunmat2 ()
double LatentHeatofEvaporationOfWater (double x1, double x2)
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)
double PermeabilitaVodniPary (double x1, double x2, long ipp)
void print (FILE *out)
void print_othervalue_name (FILE *out, long compother)
void read (XFILE *in)
void relhum_check (double &x1, double x2, long ipp)
void save_values (long ipp, double *out)
double si_kk_hansen (double x1, double x2, double u, double a, double n)
double soptionizothermDerivation (double x1, double x2)
void sorption_izoterms_values (int kod, long ipp, double x1, double xpv, double ineq1, double &w, double &dwdf)
double TlakNasycenychVodnichParNaTeplote (double x1, double x2)
double tokJ1 (double x1, double x2, long ipp)
double tokJ2 (double x1, double x2, long ipp)
double tokJ3 (double x1, double x2, long ipp)
double tokJ4 (double x1, double x2, 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)
void values_correction (vector &nv, long ipp)
 ~kunmat2 ()

Private Attributes

double a1
double a2
double a3
double dmoistdrh
double Init [20]
double J1
double J2
double J3
double J4
double k1 [20]
double k2 [20]
double k3 [20]
double k4 [20]
double k5 [20]
double k6 [20]
int kd
int madripom
int MatChar [20]
double MatConst [20]
double MatData [20][4][150]
double MatFunce [20][5]
double moist
double rho_m
double rho_w

Detailed Description

Definition at line 6 of file kunzel2.h.


Constructor & Destructor Documentation

kunmat2 (  ) 

Definition at line 32 of file kunzel2.cpp.

References rho_m, and rho_w.

~kunmat2 (  ) 

Definition at line 38 of file kunzel2.cpp.


Member Function Documentation

void aux_values ( long  ipp,
double *  in,
double *  inp,
double *  ineq,
double *  out 
)

function computes auxiliary values which are necessary for future computation

JM, 29.5.2007

Definition at line 1788 of file kunzel2.cpp.

References kapa_values(), MatChar, MatConst, Outt, sorption_izoterms_values(), probdesct::time, and Tp.

Referenced by transmat::aux_values(), and transmat::mat_aux_values().

void CorD ( int  cislochar,
int &  kvyhl,
double  in,
double  x,
double &  y,
double &  z,
double &  z2 
)
void der_value_hyst ( int  matchar,
int  kod,
double  pv,
double &  outvalue,
double &  outvalue2,
long  ipp 
)

Definition at line 1725 of file kunzel2.cpp.

References derivation_dy_dx().

Referenced by hystereze2().

double DerivaceHustotyEntalpiePodleTeploty ( double  x1,
double  x2,
long  ipp 
)

popis

Definition at line 389 of file kunzel2.cpp.

References a2, a3, CorD(), intpointst::eqother, transmat::ip, kd, rho_m, and Tm.

Referenced by matcap().

double DerivaceTlakuNasycenychParNaTeplote ( double  x1,
double  x2 
)

popis

Definition at line 240 of file kunzel2.cpp.

Referenced by tokJ2(), and tokJ4().

double derivation_dy_dx ( int  matchar,
double  prom,
int  pomk1,
int  pomk2 
)

Definition at line 1711 of file kunzel2.cpp.

References MatData.

Referenced by der_value_hyst(), and hystereze2().

double derivation_sorption_izoterm_data ( double  x1,
double  x2,
double  x3,
long  ipp 
)

Definition at line 1439 of file kunzel2.cpp.

References MatData.

Referenced by sorption_izoterms_values().

double DerivativeOfTheMoistureRetentionCharacteristik ( double  x1,
double  x2,
long  ipp 
)

popis

Definition at line 467 of file kunzel2.cpp.

double DerivativeOfTheRetentionCurve ( double  x1,
double  x2 
)

popis

Definition at line 450 of file kunzel2.cpp.

References a2, a3, CorD(), and kd.

Referenced by sorption_izoterms_values().

double DerivativeOfTheSorptionIsotherm ( double  x1,
double  x2 
)

popis

Definition at line 431 of file kunzel2.cpp.

References HygroscopicMoisture().

Referenced by sorption_izoterms_values().

double get_othervalue ( long  compother,
double  x1,
double  x2,
long  ipp 
)

function computes all variables in nodes

Parameters:
compother - number of other components
ipp - rhrst integration point on element
pc - capillary pressure on actual node
pg - gas pressure on actual node
t - temperature on actual node

Definition at line 1115 of file kunzel2.cpp.

References intpointst::eqother, transmat::ip, other, rho_m, rho_w, probdesct::time, TlakNasycenychVodnichParNaTeplote(), Tm, and Tp.

Referenced by med2::compute_othervalues().

double get_transmission_flux_hh ( double  bv,
double  x1,
double  x2,
long  bc,
long  ipp 
)

function creates flux on the boundary (convective mass transfer)

Parameters:
bv - prescribed value near the boundary
rh - rel. hum.
t - actual temperature on the boundary
bc - type of boundary condition

Definition at line 994 of file kunzel2.cpp.

References flux, and TlakNasycenychVodnichParNaTeplote().

Referenced by transmission_flux().

double get_transmission_flux_tt ( double  bv,
double  x1,
double  x2,
long  bc,
long  ipp 
)

function creates heat flux on the boundary

Parameters:
bv - prescribed value near the boundary
h - rel. hum.
t - actual temperature on the boundary
bc - type of boundary condition

Definition at line 1089 of file kunzel2.cpp.

References flux.

Referenced by transmission_flux().

double get_transmission_nodval_hh ( double  bv,
double  x1,
double  x2,
long  bc,
long  ipp 
)

function computes the right prescribed value on the boundary for prescribed condition (relative humidity)

Parameters:
bv - prescribed value near the boundary
rh - actual replative humidity on the boundary
t - actual temperature on the boundary
bc - type of boundary condition

Definition at line 950 of file kunzel2.cpp.

References nodval(), and TlakNasycenychVodnichParNaTeplote().

Referenced by transmission_nodval().

double get_transmission_nodval_tt ( double  bv,
double  x1,
double  x2,
long  bc,
long  ipp 
)

function computes the right prescribed value on the boundary for prescribed condition (temperature)

Parameters:
bv - prescribed value near the boundary
h - actual rel. hum. on the boundary
t - actual temperature on the boundary
bc - type of boundary condition

Definition at line 1064 of file kunzel2.cpp.

References nodval().

Referenced by transmission_nodval().

double get_transmission_transcoeff_hh ( double  x1,
double  x2,
long  bc,
long  ipp 
)

function creates transfer coefrhcient on the boundary for prescribed condition (relative humidity)

Parameters:
rh - relative humidity
t - temperature
bc - type of boundary condition

Definition at line 915 of file kunzel2.cpp.

References TlakNasycenychVodnichParNaTeplote().

Referenced by transmission_transcoeff().

double get_transmission_transcoeff_tt ( double  x1,
double  x2,
long  bc,
long  ipp 
)

function creates transfer coefrhcient on the boundary for prescribed condition (temperature)

Parameters:
h - rel. hum
t - temperature
bc - type of boundary condition

Definition at line 1039 of file kunzel2.cpp.

Referenced by transmission_transcoeff().

void give_data ( double  rh,
double  Mhmc,
double  Smc,
double  Mhrh,
double &  moistakt 
)

Definition at line 1202 of file kunzel2.cpp.

Referenced by sorption_izoterms_values().

void give_values ( long  ipp,
double *  av,
double *  pv,
double *  eq 
)

function selects auxiliary values

JK, 7.1.2008

Definition at line 1838 of file kunzel2.cpp.

References intpointst::av, intpointst::eqother, transmat::ip, intpointst::pv, and Tm.

Referenced by transmat::aux_values(), and transmat::mat_aux_values().

double HygroscopicMoisture ( double  x1,
double  x2 
)

popis

Definition at line 414 of file kunzel2.cpp.

References a3, CorD(), and kd.

Referenced by DerivativeOfTheSorptionIsotherm().

void hystereze2 ( int  matchar,
double  x,
double  xpv,
double  ineq1,
double &  outvalue,
double &  outvalue2,
long  ipp 
)

Definition at line 1456 of file kunzel2.cpp.

References CorD(), der_value_hyst(), derivation_dy_dx(), Init, k1, k2, k3, k4, k5, k6, other, Outt2, p, probdesct::time, and Tp.

Referenced by kapa_values(), and sorption_izoterms_values().

void initvalues ( long  ipp,
long  ido 
)

Definition at line 1825 of file kunzel2.cpp.

References intpointst::av, transmat::ip, and Tm.

Referenced by transmat::initvalues().

double kapa_exp ( double  a,
double  b,
double  x1w,
double  x2,
long  ipp 
)

Definition at line 1224 of file kunzel2.cpp.

Referenced by kapa_values().

void kapa_values ( int  kod,
long  ipp,
double  x1,
double  xpv,
double  ineq1,
double &  kapa 
)

Definition at line 1754 of file kunzel2.cpp.

References CorD(), hystereze2(), and kapa_exp().

Referenced by aux_values().

double LatentHeatofEvaporationOfWater ( double  x1,
double  x2 
)

Definition at line 360 of file kunzel2.cpp.

Referenced by tokJ3(), and tokJ4().

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 186 of file kunzel2.cpp.

References intpointst::av, DerivaceHustotyEntalpiePodleTeploty(), intpointst::eqother, transmat::ip, and Tm.

Referenced by med2::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 56 of file kunzel2.cpp.

References matcond1d(), matcond2d(), matcond3d(), and matrix::n.

Referenced by med2::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 90 of file kunzel2.cpp.

References intpointst::av, transmat::ip, Tm, tokJ1(), tokJ2(), tokJ3(), and tokJ4().

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 119 of file kunzel2.cpp.

References intpointst::av, fillm(), transmat::ip, Tm, tokJ1(), tokJ2(), tokJ3(), and tokJ4().

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 152 of file kunzel2.cpp.

References intpointst::av, fillm(), transmat::ip, Tm, tokJ1(), tokJ2(), tokJ3(), and tokJ4().

Referenced by matcond().

double PermeabilitaVodniPary ( double  x1,
double  x2,
long  ipp 
)

popis

Definition at line 253 of file kunzel2.cpp.

References a2, a3, CorD(), intpointst::eqother, transmat::ip, kd, and Tm.

Referenced by tokJ1(), tokJ2(), tokJ3(), and tokJ4().

void print ( FILE *  out  ) 
void print_othervalue_name ( FILE *  out,
long  compother 
)

function prints names of all variables in nodes

Parameters:
out - output rhle
compother - number of other components

Definition at line 1172 of file kunzel2.cpp.

Referenced by med2::print_othervaluesnames().

void read ( XFILE in  ) 

Definition at line 515 of file kunzel2.cpp.

References Init, k1, k2, k3, k4, k5, k6, MatChar, MatConst, MatData, MatFunce, and xfscanf().

Referenced by transmat::readmattype().

void relhum_check ( double &  x1,
double  x2,
long  ipp 
)

function checks if relative humidity is grater than 1.0

Parameters:
rh - relative humidity ..x1
t - temperature ..x2
ipp - number of integration point

TKr, 5.8.2005

Definition at line 222 of file kunzel2.cpp.

References intpointst::av, transmat::ip, and Tm.

Referenced by values_correction().

void save_values ( long  ipp,
double *  out 
)

function saves auxiliary values

JK, 7.1.2008

Definition at line 1863 of file kunzel2.cpp.

References intpointst::eqother, transmat::ip, and Tm.

Referenced by transmat::aux_values(), and transmat::mat_aux_values().

double si_kk_hansen ( double  x1,
double  x2,
double  u,
double  a,
double  n 
)

Definition at line 1434 of file kunzel2.cpp.

Referenced by sorption_izoterms_values().

double soptionizothermDerivation ( double  x1,
double  x2 
)

popis

Definition at line 767 of file kunzel2.cpp.

References CorD(), and kd.

Referenced by sorption_izoterms_values().

void sorption_izoterms_values ( int  kod,
long  ipp,
double  x1,
double  xpv,
double  ineq1,
double &  w,
double &  dwdf 
)
double TlakNasycenychVodnichParNaTeplote ( double  x1,
double  x2 
)

Function calculates saturation water vapor pressure saturation water vapor pressure by xxxx tk ... temperature [K]

Parameters:
tk - temperature [K]

Definition at line 377 of file kunzel2.cpp.

Referenced by get_othervalue(), get_transmission_flux_hh(), get_transmission_nodval_hh(), get_transmission_transcoeff_hh(), tokJ1(), and tokJ3().

double tokJ1 ( double  x1,
double  x2,
long  ipp 
)
double tokJ2 ( double  x1,
double  x2,
long  ipp 
)

popis

Definition at line 282 of file kunzel2.cpp.

References DerivaceTlakuNasycenychParNaTeplote(), J2, and PermeabilitaVodniPary().

Referenced by matcond1d(), matcond2d(), and matcond3d().

double tokJ3 ( double  x1,
double  x2,
long  ipp 
)
double tokJ4 ( double  x1,
double  x2,
long  ipp 
)
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 coefrhcient 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 rhrst integration point on element

Definition at line 879 of file kunzel2.cpp.

References flux, get_transmission_flux_hh(), get_transmission_flux_tt(), pvalt::getval(), gtopology::give_dof(), Gtt, h(), transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

Referenced by med2::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 coefrhcient 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 rhrst integration point on element

Definition at line 837 of file kunzel2.cpp.

References get_transmission_nodval_hh(), get_transmission_nodval_tt(), pvalt::getval(), gtopology::give_dof(), Gtt, h(), transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

Referenced by med2::transmission_nodval().

double transmission_transcoeff ( double  trc,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes new transmission coefrhcient (for transmission_vector) for boundary condition (third kind of boundary condition)

Parameters:
trc - prescribed transmission coefrhcient on the boundary
ri - row index
ci - column index
nn - number of node
bc - type of boundary condition
ipp - number of rhrst integration point on element

Definition at line 794 of file kunzel2.cpp.

References get_transmission_transcoeff_hh(), get_transmission_transcoeff_tt(), pvalt::getval(), gtopology::give_dof(), Gtt, h(), transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

Referenced by med2::transmission_transcoeff().

void values_correction ( vector nv,
long  ipp 
)

Definition at line 206 of file kunzel2.cpp.

References relhum_check().

Referenced by transmat::values_correction().


Member Data Documentation

double a1 [private]

Definition at line 85 of file kunzel2.h.

Referenced by sorption_izoterms_values().

double a2 [private]
double a3 [private]
double dmoistdrh [private]

Definition at line 100 of file kunzel2.h.

double Init[20] [private]

Definition at line 95 of file kunzel2.h.

Referenced by hystereze2(), and read().

double J1 [private]

Definition at line 78 of file kunzel2.h.

Referenced by tokJ1().

double J2 [private]

Definition at line 79 of file kunzel2.h.

Referenced by tokJ2().

double J3 [private]

Definition at line 80 of file kunzel2.h.

Referenced by tokJ3().

double J4 [private]

Definition at line 81 of file kunzel2.h.

Referenced by tokJ4().

double k1[20] [private]

Definition at line 86 of file kunzel2.h.

Referenced by hystereze2(), and read().

double k2[20] [private]

Definition at line 86 of file kunzel2.h.

Referenced by hystereze2(), and read().

double k3[20] [private]

Definition at line 86 of file kunzel2.h.

Referenced by hystereze2(), and read().

double k4[20] [private]

Definition at line 86 of file kunzel2.h.

Referenced by hystereze2(), and read().

double k5[20] [private]

Definition at line 86 of file kunzel2.h.

Referenced by hystereze2(), and read().

double k6[20] [private]

Definition at line 86 of file kunzel2.h.

Referenced by hystereze2(), and read().

int kd [private]
int madripom [private]

Definition at line 83 of file kunzel2.h.

int MatChar[20] [private]

Definition at line 91 of file kunzel2.h.

Referenced by aux_values(), CorD(), and read().

double MatConst[20] [private]

Definition at line 92 of file kunzel2.h.

Referenced by aux_values(), CorD(), and read().

double MatData[20][4][150] [private]

Definition at line 93 of file kunzel2.h.

Referenced by CorD(), derivation_dy_dx(), derivation_sorption_izoterm_data(), and read().

double MatFunce[20][5] [private]

Definition at line 94 of file kunzel2.h.

Referenced by CorD(), and read().

double moist [private]

Definition at line 100 of file kunzel2.h.

double rho_m [private]

Definition at line 100 of file kunzel2.h.

Referenced by DerivaceHustotyEntalpiePodleTeploty(), get_othervalue(), and kunmat2().

double rho_w [private]

Definition at line 100 of file kunzel2.h.

Referenced by get_othervalue(), and kunmat2().


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

Generated by  doxygen 1.6.2