millymat Class Reference

#include <millymat.h>

List of all members.

Public Member Functions

void aux_values (long ipp, double *in, double *inp, double *ineq, double *out)
void auxiliarydata (double x1, double x2)
double c11 (double x1, double x2, long ipp)
double c12 (double x1, double x2, long ipp)
double c21 (double x1, double x2, long ipp)
double c22 (double x1, double x2, long ipp)
double capilar_pressure (double x1, double x2)
double coeef_B (double x1, double x2, long ipp)
double coeef_C (double x1, double x2, long ipp)
double coeef_zaporneA (double x1, double x2, long ipp)
double coeff_Dtv (double x1, double x2, long ipp)
double coeff_Kv (double x1, double x2, long ipp)
void CorD (int cislochar, int &kvyhl, double in, int rhw, double x, double &y, double &z, double &z2)
double derivation_saturation_water_vapour_pressure_temperature (double x1, double x2)
double derivation_sorption_izoterm_data (double x1, double x2, int kod)
double derivation_water_retention_curve_by_pressure_head (double x1, double x2)
double derivation_water_retention_curve_by_temperature (double x1, double x2)
double DerivativeOfTheSorptionIsotherm (double x1, double x2, double rh, double &moistakt1)
double diffusion_coefficient_of_water_vapor_in_air (double x1, double x2)
double gaseous_moisture_content_by_mass (double x1, double x2, long ipp)
double get_othervalue (long compother, long ipp, double x1, double x2)
double get_transmission_flux_11 (double bv, double x1, double x2, long bc, long ipp)
double get_transmission_nodval_11 (double bv, double x1, double x2, long bc, long ipp)
double get_transmission_transcoeff_11 (double x1, double x2, long bc, long ipp)
double give_ul (double x1, double x2, double &fi, double &dmoistdrh)
double give_ul_retention_curve (double x1, double x2, double rh, double &dmoistdrh)
double give_ul_sorption_izothemrs (double x1, double x2, double rh, double &dmoistdrh)
void give_values (long ipp, double *av, double *pv, double *eq)
void initvalues (long ipp, long ido)
double k11 (double x1, double x2, long ipp)
double k12 (double x1, double x2, long ipp)
double k21 (double x1, double x2, long ipp)
double k22 (double x1, double x2, long ipp)
double latent_heat_of_evaporation_of_water (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)
 millymat (void)
double partial_water_vapour_pressure_function (double x1, double x2, long ipp)
void print_othervalue_name (FILE *out, long compother)
void read (XFILE *in)
double relative_humidity_pc (double x1, double x2)
double relative_humidity_psi (double x1, double x2)
double relative_volume_ration_a (double x1, double x2, double ul)
double saturation_water_vapour_pressure (double x1, double x2)
void save_values (long ipp, double *out)
double specific_enthalpy_of_gaseous_phase (double x1, double x2)
double specific_enthalpy_of_liquid_phase (double x1, double x2)
double specific_enthalpy_of_porous_matrix (double x1, double x2)
double transmission_flux (double nodval, long ri, long ci, long nn, long bc, long ipp)
double transmission_nodval (double nodval, 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)
double ul_to_w (double ul)
void values_correction (vector &nv)
 ~millymat (void)

Private Attributes

double a1
double a2
double a3
int kd
int madripom
int MatChar [20]
double MatConst [20]
double MatData [20][3][150]
double MatFunce [20][5]

Detailed Description

Definition at line 7 of file millymat.h.


Constructor & Destructor Documentation

millymat ( void   ) 

Definition at line 44 of file millymat.cpp.

~millymat ( void   ) 

Definition at line 47 of file millymat.cpp.


Member Function Documentation

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

Definition at line 479 of file millymat.cpp.

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

Definition at line 411 of file millymat.cpp.

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

Referenced by matcap().

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

Definition at line 424 of file millymat.cpp.

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

Referenced by matcap().

double c21 ( double  x1,
double  x2,
long  ipp 
)
double c22 ( double  x1,
double  x2,
long  ipp 
)
double capilar_pressure ( double  x1,
double  x2 
)

Definition at line 1013 of file millymat.cpp.

References g, and rl.

Referenced by give_ul_retention_curve().

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

Definition at line 804 of file millymat.cpp.

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

Referenced by c11(), and c21().

double coeef_C ( double  x1,
double  x2,
long  ipp 
)
double coeef_zaporneA ( double  x1,
double  x2,
long  ipp 
)

Definition at line 795 of file millymat.cpp.

References intpointst::eqother, transmat::ip, M, R, rl, saturation_water_vapour_pressure(), and Tm.

Referenced by c11(), c12(), c21(), and c22().

double coeff_Dtv ( double  x1,
double  x2,
long  ipp 
)
double coeff_Kv ( double  x1,
double  x2,
long  ipp 
)
void CorD ( int  cislochar,
int &  kvyhl,
double  in,
int  rhw,
double  x,
double &  y,
double &  z,
double &  z2 
)
double derivation_saturation_water_vapour_pressure_temperature ( double  x1,
double  x2 
)

Definition at line 757 of file millymat.cpp.

Referenced by coeef_C(), and coeff_Dtv().

double derivation_sorption_izoterm_data ( double  x1,
double  x2,
int  kod 
)

Definition at line 1026 of file millymat.cpp.

References MatData.

Referenced by give_ul_retention_curve(), and give_ul_sorption_izothemrs().

double derivation_water_retention_curve_by_pressure_head ( double  x1,
double  x2 
)

Definition at line 917 of file millymat.cpp.

double derivation_water_retention_curve_by_temperature ( double  x1,
double  x2 
)

Definition at line 924 of file millymat.cpp.

Referenced by aux_values().

double DerivativeOfTheSorptionIsotherm ( double  x1,
double  x2,
double  rh,
double &  moistakt1 
)

Definition at line 1043 of file millymat.cpp.

References a2, a3, CorD(), g, kd, M, R, and rl.

Referenced by give_ul_sorption_izothemrs().

double diffusion_coefficient_of_water_vapor_in_air ( double  x1,
double  x2 
)

Definition at line 830 of file millymat.cpp.

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

Referenced by coeff_Dtv(), and coeff_Kv().

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

Definition at line 880 of file millymat.cpp.

References a2, a3, CorD(), intpointst::eqother, g, transmat::ip, kd, M, R, rl, saturation_water_vapour_pressure(), and Tm.

Referenced by c22().

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

function computes all variables in nodes

Parameters:
compother - number of other components
ipp - first integration point on element
x1 ... x3 - actual unknowns on the boundary

Definition at line 705 of file millymat.cpp.

References other, and relative_humidity_psi().

Referenced by med2::compute_othervalues().

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

function creates flux on the boundary (transmission - convective mass transfer) for 1st medium

Parameters:
new_nodval - flux on the boundary
bv - prescribed value near the boundary
x1 ... x3 - actual unknowns on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 680 of file millymat.cpp.

References flux.

Referenced by transmission_flux().

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

function creates correct new nodal value on the boundary (transmission) for 1st medium

Parameters:
new_nodval - new prescribed value near the boundary
bv - value of prescribed value near the boundary
x1 ... x3 - actual unknowns on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 627 of file millymat.cpp.

References nodval().

Referenced by transmission_nodval().

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

function creates correct transfer coefficient on the boundary (transmission) for 1st medium

Parameters:
f11 - correct transfer coefficient
x1 ... x3 - actual unknowns on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 653 of file millymat.cpp.

Referenced by transmission_transcoeff().

double give_ul ( double  x1,
double  x2,
double &  fi,
double &  dmoistdrh 
)
double give_ul_retention_curve ( double  x1,
double  x2,
double  rh,
double &  dmoistdrh 
)

Definition at line 987 of file millymat.cpp.

References a1, a2, a3, capilar_pressure(), CorD(), derivation_sorption_izoterm_data(), kd, and rl.

Referenced by give_ul().

double give_ul_sorption_izothemrs ( double  x1,
double  x2,
double  rh,
double &  dmoistdrh 
)

Definition at line 951 of file millymat.cpp.

References a1, a2, a3, CorD(), derivation_sorption_izoterm_data(), DerivativeOfTheSorptionIsotherm(), kd, and rl.

Referenced by give_ul().

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

Definition at line 1206 of file millymat.cpp.

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

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

void initvalues ( long  ipp,
long  ido 
)

Definition at line 1183 of file millymat.cpp.

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

Referenced by transmat::initvalues().

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

Definition at line 352 of file millymat.cpp.

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

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

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

Definition at line 366 of file millymat.cpp.

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

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

double k21 ( double  x1,
double  x2,
long  ipp 
)
double k22 ( double  x1,
double  x2,
long  ipp 
)
double latent_heat_of_evaporation_of_water ( double  x1,
double  x2 
)

Definition at line 912 of file millymat.cpp.

Referenced by specific_enthalpy_of_gaseous_phase().

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 202 of file millymat.cpp.

References intpointst::av, c11(), c12(), c21(), c22(), 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 69 of file millymat.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 103 of file millymat.cpp.

References intpointst::av, transmat::ip, k11(), k12(), k21(), k22(), 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 133 of file millymat.cpp.

References intpointst::av, fillm(), transmat::ip, k11(), k12(), k21(), k22(), 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 167 of file millymat.cpp.

References intpointst::av, fillm(), transmat::ip, k11(), k12(), k21(), k22(), and Tm.

Referenced by matcond().

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

Definition at line 837 of file millymat.cpp.

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

Referenced by coeff_Dtv(), and coeff_Kv().

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 739 of file millymat.cpp.

Referenced by med2::print_othervaluesnames().

void read ( XFILE in  ) 

function reads data and material parameters

Parameters:
in - input file

Definition at line 229 of file millymat.cpp.

References MatChar, MatConst, MatData, MatFunce, and xfscanf().

Referenced by transmat::readmattype().

double relative_humidity_pc ( double  x1,
double  x2 
)

Definition at line 772 of file millymat.cpp.

References M, R, and rl.

double relative_humidity_psi ( double  x1,
double  x2 
)

Definition at line 786 of file millymat.cpp.

References g, M, and R.

Referenced by get_othervalue(), and give_ul().

double relative_volume_ration_a ( double  x1,
double  x2,
double  ul 
)

Definition at line 762 of file millymat.cpp.

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

Referenced by aux_values().

double saturation_water_vapour_pressure ( double  x1,
double  x2 
)
void save_values ( long  ipp,
double *  out 
)

Definition at line 1192 of file millymat.cpp.

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

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

double specific_enthalpy_of_gaseous_phase ( double  x1,
double  x2 
)

Definition at line 906 of file millymat.cpp.

References cvapd, latent_heat_of_evaporation_of_water(), and T0.

Referenced by c21(), c22(), k21(), and k22().

double specific_enthalpy_of_liquid_phase ( double  x1,
double  x2 
)

Definition at line 902 of file millymat.cpp.

References cwatd, and T0.

Referenced by c21(), c22(), and k21().

double specific_enthalpy_of_porous_matrix ( double  x1,
double  x2 
)

Definition at line 894 of file millymat.cpp.

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

double transmission_flux ( double  nodval,
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
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 587 of file millymat.cpp.

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

Referenced by med2::transmission_flux().

double transmission_nodval ( double  nodval,
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
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 542 of file millymat.cpp.

References get_transmission_nodval_11(), pvalt::getval(), gtopology::give_dof(), Gtt, 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 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 498 of file millymat.cpp.

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

Referenced by med2::transmission_transcoeff().

double ul_to_w ( double  ul  ) 

Definition at line 1019 of file millymat.cpp.

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

Referenced by aux_values().

void values_correction ( vector nv  ) 

Definition at line 50 of file millymat.cpp.


Member Data Documentation

double a1 [private]

Definition at line 89 of file millymat.h.

Referenced by give_ul_retention_curve(), and give_ul_sorption_izothemrs().

double a2 [private]
double a3 [private]
int kd [private]
int madripom [private]

Definition at line 87 of file millymat.h.

int MatChar[20] [private]

Definition at line 82 of file millymat.h.

Referenced by CorD(), and read().

double MatConst[20] [private]

Definition at line 83 of file millymat.h.

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

double MatData[20][3][150] [private]

Definition at line 84 of file millymat.h.

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

double MatFunce[20][5] [private]

Definition at line 85 of file millymat.h.

Referenced by CorD(), and read().


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

Generated by  doxygen 1.6.2