GetB_conduct

PURPOSE ^

GETB_CONDUCT - compute the B matrix for conduction in thermal model

SYNOPSIS ^

function B=GetB_conduct(pentaelem,xyz_list,gauss_coord)

DESCRIPTION ^

GETB_CONDUCT - compute the B matrix for conduction in thermal model

   Compute B  matrix. B=[B1 B2 B3 B4 B5 B6] where Bi is of size numgrids*NDOF
   For grid i, Bi can be expressed in the basic coordinate system by:
   Bi_basic=[dh/dx]
            [dh/dy]
            [dh/dz]
   where h is the interpolation function for grid i.

   Usage:
      B=GetB_conduct(pentaelem,xyz_list,gauss_coord)

   See also GETB_ADVEC, GETBPRIME_ADVEC, CREATEKMATRIX

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function B=GetB_conduct(pentaelem,xyz_list,gauss_coord)
0002 %GETB_CONDUCT - compute the B matrix for conduction in thermal model
0003 %
0004 %   Compute B  matrix. B=[B1 B2 B3 B4 B5 B6] where Bi is of size numgrids*NDOF
0005 %   For grid i, Bi can be expressed in the basic coordinate system by:
0006 %   Bi_basic=[dh/dx]
0007 %            [dh/dy]
0008 %            [dh/dz]
0009 %   where h is the interpolation function for grid i.
0010 %
0011 %   Usage:
0012 %      B=GetB_conduct(pentaelem,xyz_list,gauss_coord)
0013 %
0014 %   See also GETB_ADVEC, GETBPRIME_ADVEC, CREATEKMATRIX
0015 
0016 num_grids=6;    
0017 
0018 dh1dh6_basic=GetNodalFunctionsDerivativesBasic(pentaelem,xyz_list,gauss_coord);
0019 %Build B:
0020 B=zeros(3,num_grids);
0021 for i=1:num_grids,
0022     B(1,i)=dh1dh6_basic(1,i);
0023     B(2,i)=dh1dh6_basic(2,i);
0024     B(3,i)=dh1dh6_basic(3,i);
0025 end

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003