devriesmat Class Reference

#include <devriesmat.h>

List of all members.

Public Member Functions

void auxiliarydata (double x1, double x2, double x3)
double c11 (double x1, double x2, double x3)
double c12 (double x1, double x2, double x3)
double c13 (double x1, double x2, double x3)
double c21 (double x1, double x2, double x3)
double c22 (double x1, double x2, double x3)
double c23 (double x1, double x2, double x3)
double c31 (double x1, double x2, double x3)
double c32 (double x1, double x2, double x3)
double c33 (double x1, double x2, double x3)
double coeff_dtv (double x1, double x2, double x3)
double coeff_dwv (double x1, double x2, double x3)
double coeff_of_water_diffusion_by_moisture_grad (double x1, double x2, double x3)
double coeff_of_water_diffusion_by_temperature_grad (double x1, double x2, double x3)
void CorD (int cislochar, int &kvyhl, double in, int rhw, double x, double &y, double &z, double &z2)
double derivation_drov_dw (double x1, double x2, double x3)
double derivation_pressure_head (double x1, double x2, double x3)
double derivation_saturation_water_vapour_pressure_temperature (double x1, double x2, double x3)
double derivation_specific_internal_energy_of_water_vapour (double x1, double x2, double x3)
double derivation_surface_tension_on_temperature (double x1, double x2, double x3)
 devriesmat (void)
double diffusion_coefficient_of_water_vapor_in_air (double x1, double x2, double x3)
double get_moisture (double rh)
double get_othervalue (long compother, long ipp, double x1, double x2, double x3)
double get_rel_hum (double w)
double get_transmission_flux_11 (double bv, double x1, double x2, double x3, long bc, long ipp)
double get_transmission_nodval_11 (double bv, double x1, double x2, double x3, long bc, long ipp)
double get_transmission_transcoeff_11 (double x1, double x2, double x3, long bc, long ipp)
void give_data_si_root_dfidw (double x1, double x2, double x3, double rh_hyg, double w_sat, double w_hyg, double shift_w, double &dfdw)
void give_data_si_root_fi (double x1, double x2, double x3, double w_hyg, double w_sat, double rh_hyg, double shift_w, double &relh)
double k11 (double x1, double x2, double x3)
double k12 (double x1, double x2, double x3)
double k13 (double x1, double x2, double x3)
double k21 (double x1, double x2, double x3)
double k22 (double x1, double x2, double x3)
double k23 (double x1, double x2, double x3)
double k31 (double x1, double x2, double x3)
double k32 (double x1, double x2, double x3)
double k33 (double x1, double x2, double x3)
double latent_heat_of_evaporation_of_water (double x1, double x2, double x3)
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 partial_density_of_water_vapor (double x1, double x2, double x3)
double partial_water_vapour_pressure_function (double x1, double x2, double x3)
double pressure_head (double x1, double x2, double x3)
void print (FILE *out)
void print_othervalue_name (FILE *out, long compother)
void read (XFILE *in)
double relative_volume_ration_a (double x1, double x2, double x3)
double saturation_water_vapour_pressure (double x1, double x2, double x3)
void sorption_izoterms_giva_data (int kod, double x1, double x2, double x3, double &fi, double &dfdw)
void sorption_izotherm_derivation (double x1, double x2, double x3, double &derfi)
double sortpion_isotherm_root_shifted (double x1, double w_hyg, double rh_hyg)
double specific_heat_capacities_star (double x1, double x2, double x3)
double surface_tension (double x1, double x2, double x3)
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)
 ~devriesmat (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 devriesmat.h.


Constructor & Destructor Documentation

devriesmat ( void   ) 

Definition at line 19 of file devriesmat.cpp.

~devriesmat ( void   ) 

Definition at line 22 of file devriesmat.cpp.


Member Function Documentation

void auxiliarydata ( double  x1,
double  x2,
double  x3 
)

Definition at line 586 of file devriesmat.cpp.

double c11 ( double  x1,
double  x2,
double  x3 
)
double c12 ( double  x1,
double  x2,
double  x3 
)

Definition at line 500 of file devriesmat.cpp.

Referenced by matcap().

double c13 ( double  x1,
double  x2,
double  x3 
)

Definition at line 507 of file devriesmat.cpp.

Referenced by matcap().

double c21 ( double  x1,
double  x2,
double  x3 
)
double c22 ( double  x1,
double  x2,
double  x3 
)
double c23 ( double  x1,
double  x2,
double  x3 
)

Definition at line 554 of file devriesmat.cpp.

Referenced by matcap().

double c31 ( double  x1,
double  x2,
double  x3 
)

Definition at line 562 of file devriesmat.cpp.

Referenced by matcap().

double c32 ( double  x1,
double  x2,
double  x3 
)

Definition at line 569 of file devriesmat.cpp.

Referenced by matcap().

double c33 ( double  x1,
double  x2,
double  x3 
)

Definition at line 576 of file devriesmat.cpp.

Referenced by matcap().

double coeff_dtv ( double  x1,
double  x2,
double  x3 
)
double coeff_dwv ( double  x1,
double  x2,
double  x3 
)
double coeff_of_water_diffusion_by_moisture_grad ( double  x1,
double  x2,
double  x3 
)

Definition at line 1230 of file devriesmat.cpp.

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

Referenced by k11(), and k21().

double coeff_of_water_diffusion_by_temperature_grad ( double  x1,
double  x2,
double  x3 
)

Definition at line 1240 of file devriesmat.cpp.

References a2, a3, CorD(), derivation_surface_tension_on_temperature(), h(), kd, pressure_head(), and surface_tension().

Referenced by k12(), and k22().

void CorD ( int  cislochar,
int &  kvyhl,
double  in,
int  rhw,
double  x,
double &  y,
double &  z,
double &  z2 
)
double derivation_drov_dw ( double  x1,
double  x2,
double  x3 
)

Definition at line 1320 of file devriesmat.cpp.

References a1, Rvapd, saturation_water_vapour_pressure(), and sorption_izoterms_giva_data().

Referenced by c11(), and c21().

double derivation_pressure_head ( double  x1,
double  x2,
double  x3 
)

Definition at line 1191 of file devriesmat.cpp.

References a1, Rvapd, and sorption_izoterms_giva_data().

Referenced by coeff_of_water_diffusion_by_moisture_grad().

double derivation_saturation_water_vapour_pressure_temperature ( double  x1,
double  x2,
double  x3 
)

Definition at line 1016 of file devriesmat.cpp.

Referenced by coeff_dtv().

double derivation_specific_internal_energy_of_water_vapour ( double  x1,
double  x2,
double  x3 
)

Definition at line 1048 of file devriesmat.cpp.

References cvapd.

double derivation_surface_tension_on_temperature ( double  x1,
double  x2,
double  x3 
)

Definition at line 1224 of file devriesmat.cpp.

Referenced by coeff_of_water_diffusion_by_temperature_grad().

double diffusion_coefficient_of_water_vapor_in_air ( double  x1,
double  x2,
double  x3 
)

Definition at line 1330 of file devriesmat.cpp.

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

Referenced by coeff_dtv(), and coeff_dwv().

double get_moisture ( double  rh  ) 

Definition at line 1081 of file devriesmat.cpp.

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

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

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 846 of file devriesmat.cpp.

References a1, other, and sorption_izoterms_giva_data().

Referenced by med2::compute_othervalues().

double get_rel_hum ( double  w  ) 

Definition at line 1053 of file devriesmat.cpp.

References a1, and sorption_izoterms_giva_data().

double get_transmission_flux_11 ( double  bv,
double  x1,
double  x2,
double  x3,
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 821 of file devriesmat.cpp.

References flux.

Referenced by transmission_flux().

double get_transmission_nodval_11 ( double  bv,
double  x1,
double  x2,
double  x3,
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 768 of file devriesmat.cpp.

References nodval().

Referenced by transmission_nodval().

double get_transmission_transcoeff_11 ( double  x1,
double  x2,
double  x3,
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 794 of file devriesmat.cpp.

Referenced by transmission_transcoeff().

void give_data_si_root_dfidw ( double  x1,
double  x2,
double  x3,
double  rh_hyg,
double  w_sat,
double  w_hyg,
double  shift_w,
double &  dfdw 
)

Definition at line 1065 of file devriesmat.cpp.

Referenced by sorption_izoterms_giva_data().

void give_data_si_root_fi ( double  x1,
double  x2,
double  x3,
double  w_hyg,
double  w_sat,
double  rh_hyg,
double  shift_w,
double &  relh 
)

Definition at line 1151 of file devriesmat.cpp.

Referenced by sorption_izoterms_giva_data().

double k11 ( double  x1,
double  x2,
double  x3 
)

Definition at line 386 of file devriesmat.cpp.

References coeff_dwv(), coeff_of_water_diffusion_by_moisture_grad(), and rold.

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

double k12 ( double  x1,
double  x2,
double  x3 
)

Definition at line 397 of file devriesmat.cpp.

References coeff_dtv(), coeff_of_water_diffusion_by_temperature_grad(), and rold.

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

double k13 ( double  x1,
double  x2,
double  x3 
)

Definition at line 410 of file devriesmat.cpp.

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

double k21 ( double  x1,
double  x2,
double  x3 
)
double k22 ( double  x1,
double  x2,
double  x3 
)
double k23 ( double  x1,
double  x2,
double  x3 
)

Definition at line 449 of file devriesmat.cpp.

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

double k31 ( double  x1,
double  x2,
double  x3 
)

Definition at line 458 of file devriesmat.cpp.

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

double k32 ( double  x1,
double  x2,
double  x3 
)

Definition at line 467 of file devriesmat.cpp.

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

double k33 ( double  x1,
double  x2,
double  x3 
)

Definition at line 476 of file devriesmat.cpp.

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

double latent_heat_of_evaporation_of_water ( double  x1,
double  x2,
double  x3 
)

Definition at line 1314 of file devriesmat.cpp.

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

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 205 of file devriesmat.cpp.

References intpointst::av, c11(), c12(), c13(), c21(), c22(), c23(), c31(), c32(), c33(), 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 36 of file devriesmat.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 70 of file devriesmat.cpp.

References intpointst::av, transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), 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 112 of file devriesmat.cpp.

References intpointst::av, fillm(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), 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 158 of file devriesmat.cpp.

References intpointst::av, fillm(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), and Tm.

Referenced by matcond().

double partial_density_of_water_vapor ( double  x1,
double  x2,
double  x3 
)

Definition at line 1307 of file devriesmat.cpp.

References partial_water_vapour_pressure_function(), and Rvapd.

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

double partial_water_vapour_pressure_function ( double  x1,
double  x2,
double  x3 
)
double pressure_head ( double  x1,
double  x2,
double  x3 
)

Definition at line 1174 of file devriesmat.cpp.

References a1, Rvapd, and sorption_izoterms_giva_data().

Referenced by coeff_of_water_diffusion_by_temperature_grad().

void print ( FILE *  out  ) 

Definition at line 360 of file devriesmat.cpp.

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 880 of file devriesmat.cpp.

Referenced by med2::print_othervaluesnames().

void read ( XFILE in  ) 

function reads data and material parameters

Parameters:
in - input file

Definition at line 243 of file devriesmat.cpp.

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

Referenced by transmat::readmattype().

double relative_volume_ration_a ( double  x1,
double  x2,
double  x3 
)

Definition at line 1208 of file devriesmat.cpp.

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

Referenced by c11(), c21(), c22(), coeff_dtv(), coeff_dwv(), and specific_heat_capacities_star().

double saturation_water_vapour_pressure ( double  x1,
double  x2,
double  x3 
)
void sorption_izoterms_giva_data ( int  kod,
double  x1,
double  x2,
double  x3,
double &  fi,
double &  dfdw 
)
void sorption_izotherm_derivation ( double  x1,
double  x2,
double  x3,
double &  derfi 
)

Definition at line 1033 of file devriesmat.cpp.

References MatData.

Referenced by sorption_izoterms_giva_data().

double sortpion_isotherm_root_shifted ( double  x1,
double  w_hyg,
double  rh_hyg 
)

Definition at line 1060 of file devriesmat.cpp.

Referenced by sorption_izoterms_giva_data().

double specific_heat_capacities_star ( double  x1,
double  x2,
double  x3 
)

Definition at line 1291 of file devriesmat.cpp.

References a2, a3, CorD(), cvapd, cwatd, kd, partial_density_of_water_vapor(), relative_volume_ration_a(), and rold.

Referenced by c22().

double surface_tension ( double  x1,
double  x2,
double  x3 
)

Definition at line 1216 of file devriesmat.cpp.

Referenced by coeff_of_water_diffusion_by_temperature_grad().

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 716 of file devriesmat.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 661 of file devriesmat.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 605 of file devriesmat.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().


Member Data Documentation

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

Definition at line 97 of file devriesmat.h.

Referenced by read().

int MatChar[20] [private]

Definition at line 92 of file devriesmat.h.

Referenced by CorD(), and read().

double MatConst[20] [private]

Definition at line 93 of file devriesmat.h.

Referenced by CorD(), and read().

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

Definition at line 94 of file devriesmat.h.

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

double MatFunce[20][5] [private]

Definition at line 95 of file devriesmat.h.

Referenced by CorD(), and read().


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

Generated by  doxygen 1.6.2