Você está na página 1de 8

ac ap0

prescribed value of S versus pc parameter --used to compute degree of saturation =183.765 sw_func ac*p_atm sw_func prescribed value of S versus pc parameter --used to compute degree of saturation =2.27 prescribed value = 133.322 used to compute Saturated vapour pressure prescribed value = 8.07131 used to compute Saturated vapour pressure prescribed value = 1730.63 used to compute Saturated vapour pressure prescribed value = 233.426 used to compute Saturated vapour pressure prescribed value = 273.0 used to compute Saturated vapour pressure variable containing beta_c (props(lprop,3)) of side i cartesian derivative [min(x),min(y),max(x),max(y)] coords x coord y coord Diffusivity constant (m^2/s) dNdNL(1:nevab*nevab) Dpv_dpc drov_dpc dSw_pc = derivative of Sw wrt pc

b b1 b2 b3 b4 b5 beta cartd

sw_func RHfunc RHfunc RHfunc RHfunc RHfunc

colim coord(i,1) coord(i,2) difvp dNdNe dpelm dpvdpc drhovpc dSdpc

flux jacob global_variables Set max and min ReadShrink plotting functions

global_variables Elmatx diff2d Rhfunc Rhfunc sw_func global_variables ReadShrink FEShrink global_variables ReadShrink FEShrink global_variables FEShrink globdiffusion

dtim1

Initial time step

dtim2

Second time step

dtime dummy dummy

Dummy argument

elcod(nnode,ndime) fb

element coordinates returns the value of interp

diff2d jacob FEShrink.m

Elmatx

flux

henvr(i) humdf humen

rh of environment for side i

global_variables ReadShrink flux ReadShrink

variable containing the relative humidity (henvr) of side i flux global_variables ReadShrink initialise flux flux various global_variables ReadShrink Elmatx global_variables FEShrink output FEShrink step i ???counts the total number of gauss points Characteristic length for scaling check for convergence (if error smaler then tolerrance) initially it converges output

humin iedge ielem ieltt

ielty(i) ifile iiter iplt iplt iset itime kgast lch lchek

read from input file Initial relative humidity variable containing the Edge number (1 to 4 for four sided elements) (ledge) of side i variable containing the Element no. of edge (neleg) of side i variable containing the...(ielty) of side i reads the type of the finite element: 3 noded triangle,4-noded quad, 6-noded quad,8-noded quad counter of no of iteration within time step it is = 1 in output

initialise global_variables

FEShrink global_variables ReadShrink flux ReadShrink global_variables ReadShrink FEShrink global_variables ReadShrink diff2d global_variables initialise FEShrink global_variables ReadShrink global_variables flux global_variables ReadShrink Elmatx flux

ledge(i) lelem

Edge number (1 to 4 for four sided elements) reads the element number

lfgrp

lnods(nelem,nnode)

node topology for element

lpint lpoin(i) lprop reads the node label variable containing the ..(matno) of side i

matno

reads the material number of the finite element

miter mnodt molda molwt muwat Mw ndime ndofn

initialised with 4 cummulative no of nodes Molecular mass dry air (kg/kmol) prescribed value of Molecular mass water (kg/kmol) =18.0 Viscosity of liquid water (P prescribed value of molecular mass of water =18.0=molwt Set number of dimensions no of degrees of freedom per node

global_variables initialise FEShrink ReadShrink global_variables Setcon

Rhfunc

diflow

global_variables ReadShrink global_variables ReadShrink flux global_variables ReadShrink flux global_variables ReadShrink no of Elmatx globdiffusion global_variables ReadShrink ReadShrink global_variables ReadShrink Elmatx ReadShrink global_variables ReadShrink diff2d global_variables ReadShrink global_variables Elmatx ReadShrink +various global_variables ReadShrink Elmatx global_variables ReadShrink

nedge

Number of env. bound. element edges

neleg(i) nelem

Element no. of edge Number of elements Total number of variables per element nodes per elem *no of degr of freedom =nnode*ndofn Total number of gauss points in total mesh prescribed no gauss pts per edge function of element type prescribed no gauss pts per element function of element type ngaup(ielty(i)) returns the node no corresponding to the node label lpoin reads from input file the Number of mat sets NNL(1:nevab*nevab) SCALAR variable containing prescribed No. of nodes per el. (nnods) VECTOR = prescribed no nodes per element function of element type (ALL THE POSSIBILITIES) the label of the fixed node prescribed no nodes per edge function of element type

nevab ngast ngau1

ngaup ngaus

nipon nmats NNe nnode

nnods nofix noped

npint npoin nprop nstep

Plot file interval Number of total nodal points

global_variables ReadShrink FEShrink global_variables ReadShrink

no of constant material properties of each element ReadShrink global_variables read from input file Number of steps ReadShrink global_variables ReadShrink FEShrink global_variables ReadShrink global_variables ReadShrink global_variables

nswit ntotv nvfix ofile p_atm p_atm pc(1:npoin) pc_out pcd pcelm

Switch step (tim1 -> tim2) Total number of degrees of freedom =npoin*ndofn Number of fixed nodes Atmospheric pressure (Pa) patm I nitialise all pc to atmospheric

pcg pcpve permy pfile pn

capillary pressure function of relative humidity Rhfunc [pcd,dummy,dummy,dummy]=RHfunc(dummy,hu min,2) ReadShrink diff2d used as a variable when defining the functions depending current capillary pressure = pc*psi_0/psi on pc diff2d variable containing the K_i - intrinsic permeability global_variables flux (props(lprop,1)) of side i + others global_variables pcg/ap0 sw_func global_variables ReadShrink FEShrink global_variables ReadShrink diff2d global_variables ReadShrink diff2d global_variables ReadShrink diff2d global_variables ReadShrink diff2d

presc

presc(ivfix)=pcd

props(1,nmat)

K_i=const=intrinsic permeability=3*10^-22

props(2,nmat)

D_v0= constant=Vapour diffusivity at Tref

props(3,nmat)

beta_c=const

props(4,nmat)

torsy=fc=tortousity..

props(5,nmat) props(6,nmat) ptNN ptshp pv pvs rcgas rh_out rhosd rhov rhovs rhowt rsmax shpel
Sw

porey=n(gama) thickness

global_variables ReadShrink diff2d global_variables global_variables Rhfunc Rhfunc global_variables Setcon Rhfunc Rhfunc Rhfunc

vapour pressure Saturated vapour pressure prescribed value of Universal gas constant (J/K/KMol) = 8314.47 relative humidity Density of solids (kg/m^3) vapour density saturation pressure density Density of water at 20oC (kg/m^3) Initialise scalar which records the maximum residual on any step degree of saturation function of pc prescribed Temperature (Kelvin)=293 Crank-Nicholson time stepping factor factor variable containing the thickness (props(lprop,6)) of side i

tempr theta thick

global_variable sw_func global_variables Setcon

toler tprsc ttime ztasc

Convergence tolerance=0.05

flux + others global_variables ReadShrink FEShrink global_variables FEShrink initialise FEShrink global_variables flux global_variables ReadShrink FEShrink flux global_variables ReadShrink FEShrink flux global_variables ReadShrink FEShrink flux

time value at step i scaling constant = -muwat*lch^2/(rhowt*p_atm*permy)

ncurv

tcurv

fcurv Ma pg

prescribed value of Molecular mass of dry air Rhfunc gass pressure equal to the atmospheric pressure by assumption Rhfunc

Você também pode gostar