⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hooke.m

📁 用于在matlab平台上进行有限元分析
💻 M
字号:
  function [D]=hooke(ptype,E,v)% D=hooke(ptype,E,v)%-------------------------------------------------------------%  PURPOSE%   Calculate the material matrix for a linear%   elastic and isotropic material.%% INPUT:  ptype=1:  plane stress%               2:  plane strain%               3:  axisymmetry%               4:  three dimensional%%          E : Young's modulus%          v : Poissons const.%% OUTPUT: D : material matrix%-------------------------------------------------------------% LAST MODIFIED: M Ristinmaa 1995-10-25% Copyright (c)  Division of Structural Mechanics and%                Department of Solid Mechanics.%                Lund Institute of Technology%------------------------------------------------------------- if ptype==1        Dm=E/(1-v^2)*[1  v   0;                      v  1   0;                      0  0 (1-v)/2]; elseif ptype==2        Dm=E/(1+v)/(1-2*v)*[1-v  v    v        0;                             v  1-v   v        0;                             v   v   1-v       0;                             0   0    0   (1-2*v)/2];; elseif ptype==3        Dm=E/(1+v)/(1-2*v)*[1-v  v    v        0;                             v  1-v   v        0;                             v   v   1-v       0;                             0   0    0   (1-2*v)/2];; elseif ptype==4        Dm=E/(1+v)/(1-2*v)*[1-v  v    v    0    0    0;                             v  1-v   v    0    0    0;                             v   v   1-v   0    0    0;                             0   0    0 (1-2*v)/2    0    0;                             0   0    0    0 (1-2*v)/2    0;                             0   0    0    0    0  (1-2*v)/2]; else   error('Error ! Check first argument, ptype=1,2,3 or 4 allowed')   return end D=Dm;%--------------------------end--------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -