亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ex5115.m

?? 通過Matlab實現有限元算法第二版
?? M
字號:
%----------------------------------------------------------------------------
% EX5.11.5.m                                                              
% to solve the two-dimensional Laplace's equation given as            
%   u,xx + u,yy =0,  0 < x < 5, 0 < y < 10                                                                        
%   u(x,0) = 0, u(x,10) = 100sin(pi*x/10), 
%   u(0,y) = 0, u,x(5,y) = 0
% using linear triangular elements 
%(see Fig. 5.9.1 for the finite element mesh)
%
% Variable descriptions                                                      
%   k = element matrix                                             
%   f = element vector
%   kk = system matrix                                             
%   ff = system vector                                                 
%   fn = effective system vector
%   kn = effective system matrix
%   fsol = solution vector
%   sol = time-history solution of selected nodes
%   gcoord = coordinate values of each node
%   nodes = nodal connectivity of each element
%   index = a vector containing system dofs associated with each element     
%   bcdof = a vector containing dofs associated with boundary conditions     
%   bcval = a vector containing boundary condition values associated with    
%           the dofs in 'bcdof'                                              
%----------------------------------------------------------------------------            
clear
%------------------------------------
%  input data for control parameters
%------------------------------------

nel=16;                  % number of elements
nnel=4;                  % number of nodes per element
ndof=1;                  % number of dofs per node
nnode=25;                % total number of nodes in system
sdof=nnode*ndof;         % total system dofs  
deltt=0.04;               % time step size for transient analysis
stime=0.0;               % initial time
ftime=2;               % termination time
ntime=fix((ftime-stime)/deltt); % number of time increment
a=0.04;
%---------------------------------------------
%  input data for nodal coordinate values
%  gcoord(i,j) where i->node no. and j->x or y
%---------------------------------------------

gcoord(1,1)=0.0;   gcoord(1,2)=0.0;   
gcoord(2,1)=1.25;  gcoord(2,2)=0.0;
gcoord(3,1)=2.5;   gcoord(3,2)=0.0;   
gcoord(4,1)=3.75;  gcoord(4,2)=0.0;
gcoord(5,1)=5.0;   gcoord(5,2)=0.0;   
gcoord(6,1)=0.0;   gcoord(6,2)=2.5;
gcoord(7,1)=1.25;  gcoord(7,2)=2.5;   
gcoord(8,1)=2.5;   gcoord(8,2)=2.5;
gcoord(9,1)=3.75;  gcoord(9,2)=2.5;   
gcoord(10,1)=5.0;  gcoord(10,2)=2.5;
gcoord(11,1)=0.0;  gcoord(11,2)=5.0;  
gcoord(12,1)=1.25; gcoord(12,2)=5.0;
gcoord(13,1)=2.5;  gcoord(13,2)=5.0;  
gcoord(14,1)=3.75; gcoord(14,2)=5.0;
gcoord(15,1)=5.0;  gcoord(15,2)=5.0;  
gcoord(16,1)=0.0;  gcoord(16,2)=7.5;
gcoord(17,1)=1.25; gcoord(17,2)=7.5;  
gcoord(18,1)=2.5;  gcoord(18,2)=7.5;
gcoord(19,1)=3.75; gcoord(19,2)=7.5;  
gcoord(20,1)=5.0;  gcoord(20,2)=7.5;
gcoord(21,1)=0.0;  gcoord(21,2)=10.;  
gcoord(22,1)=1.25; gcoord(22,2)=10.;
gcoord(23,1)=2.5;  gcoord(23,2)=10.;  
gcoord(24,1)=3.75; gcoord(24,2)=10.;
gcoord(25,1)=5.0;  gcoord(25,2)=10.;  

%---------------------------------------------------------
%  input data for nodal connectivity for each element
%  nodes(i,j) where i-> element no. and j-> connected nodes
%---------------------------------------------------------

nodes(1,1)=1;    nodes(1,2)=2;    nodes(1,3)=7;    nodes(1,4)=6;
nodes(2,1)=2;    nodes(2,2)=3;    nodes(2,3)=8;    nodes(2,4)=7;
nodes(3,1)=3;    nodes(3,2)=4;    nodes(3,3)=9;    nodes(3,4)=8;
nodes(4,1)=4;    nodes(4,2)=5;    nodes(4,3)=10;   nodes(4,4)=9;
nodes(5,1)=6;    nodes(5,2)=7;    nodes(5,3)=12;   nodes(5,4)=11;
nodes(6,1)=7;    nodes(6,2)=8;    nodes(6,3)=13;   nodes(6,4)=12;
nodes(7,1)=8;    nodes(7,2)=9;    nodes(7,3)=14;   nodes(7,4)=13;
nodes(8,1)=9;    nodes(8,2)=10;   nodes(8,3)=15;   nodes(8,4)=14;
nodes(9,1)=11;   nodes(9,2)=12;   nodes(9,3)=17;   nodes(9,4)=16;
nodes(10,1)=12;  nodes(10,2)=13;  nodes(10,3)=18;  nodes(10,4)=17;
nodes(11,1)=13;  nodes(11,2)=14;  nodes(11,3)=19;  nodes(11,4)=18;
nodes(12,1)=14;  nodes(12,2)=15;  nodes(12,3)=20;  nodes(12,4)=19;
nodes(13,1)=16;  nodes(13,2)=17;  nodes(13,3)=22;  nodes(13,4)=21;
nodes(14,1)=17;  nodes(14,2)=18;  nodes(14,3)=23;  nodes(14,4)=22;
nodes(15,1)=18;  nodes(15,2)=19;  nodes(15,3)=24;  nodes(15,4)=23;
nodes(16,1)=19;  nodes(16,2)=20;  nodes(16,3)=25;  nodes(16,4)=24;

%-------------------------------------
%  input data for boundary conditions
%-------------------------------------

bcdof(1)=1;             % first node is constrained
bcval(1)=0;             % whose described value is 0 
bcdof(2)=2;             % second node is constrained
bcval(2)=0;             % whose described value is 0
bcdof(3)=3;             % third node is constrained
bcval(3)=0;             % whose described value is 0 
bcdof(4)=4;             % 4th node is constrained
bcval(4)=0;             % whose described value is 0
bcdof(5)=5;             % 5th node is constrained
bcval(5)=0;             % whose described value is 0 
bcdof(6)=6;             % 6th node is constrained
bcval(6)=0;             % whose described value is 0
bcdof(7)=11;            % 11th node is constrained
bcval(7)=0;             % whose described value is 0 
bcdof(8)=16;            % 16th node is constrained
bcval(8)=0;             % whose described value is 0
bcdof(9)=21;            % 21st node is constrained
bcval(9)=0;             % whose described value is 0 
bcdof(10)=22;           % second node is constrained
bcval(10)=38.2683;      % whose described value is 38.2683
bcdof(11)=23;           % third node is constrained
bcval(11)=70.7107;      % whose described value is 70.7107
bcdof(12)=24;           % 4th node is constrained
bcval(12)=92.3880;      % whose described value is 92.3880
bcdof(13)=25;           % 5th node is constrained
bcval(13)=100;          % whose described value is 100

%-----------------------------------------
%  initialization of matrices and vectors
%-----------------------------------------

ff=zeros(sdof,1);       % system vector
fn=zeros(sdof,1);       % effective system vector
fsol=zeros(sdof,1);     % solution vector
sol=zeros(1,ntime+1);   % time-history solution
kk=zeros(sdof,sdof);    % initialization of system matrix
mm=zeros(sdof,sdof);    % initialization of system matrix
kn=zeros(sdof,sdof);    % effective system matrix
index=zeros(nnel*ndof,1);  % initialization of index vector

%-----------------------------------------------------------------
%  computation of element matrices and vectors and their assembly
%-----------------------------------------------------------------

for iel=1:nel           % loop for the total number of elements

nd(1)=nodes(iel,1); % 1st connected node for (iel)-th element
nd(2)=nodes(iel,2); % 2nd connected node for (iel)-th element
nd(3)=nodes(iel,3); % 3rd connected node for (iel)-th element
nd(4)=nodes(iel,4); % 4th connected node for (iel)-th element
x1=gcoord(nd(1),1); y1=gcoord(nd(1),2);% coord values of 1st node
x2=gcoord(nd(2),1); y2=gcoord(nd(2),2);% coord values of 2nd node
x3=gcoord(nd(3),1); y3=gcoord(nd(3),2);% coord values of 3rd node
x4=gcoord(nd(4),1); y4=gcoord(nd(4),2);% coord values of 4th node
xleng=x2-x1;        % element size in x-axis
yleng=y4-y1;        % element size in y-axis

index=feeldof(nd,nnel,ndof);% extract system dofs associated with element

k=felp2dr4(xleng,yleng); % compute element matrix
m=a*felpt2r4(xleng,yleng); % compute element matrix

kk=feasmbl1(kk,k,index);  % assemble element matrices 
mm=feasmbl1(mm,m,index);  % assemble element matrices 

end

%-----------------------------
%   loop for time integration 
%-----------------------------

for in=1:sdof
fsol(in)=100.0;    % initial condition
end

sol(1)=fsol(13);    % sol contains time-history solution at node 13

kn=2*mm+deltt*kk;   % compute effective system matrix

for it=1:ntime

fn=deltt*ff+(2*mm-deltt*kk)*fsol;    % compute effective column vector

[kn,fn]=feaplyc2(kn,fn,bcdof,bcval); % apply boundary condition

fsol=kn\fn;     % solve the matrix equation 

sol(it+1)=fsol(13);  % sol contains time-history solution at node 13

end


%------------------------------------
% plot the solution at node 13
%------------------------------------

time=0:deltt:ntime*deltt;
plot(time,sol);
xlabel('Time')
ylabel('Solution at the center')

%---------------------------------------------------------------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人国产精品免费观看| 国产成人免费视频网站高清观看视频| 久久久不卡网国产精品二区| 日韩一区二区三区精品视频| 欧美色涩在线第一页| 欧美久久高跟鞋激| 日韩欧美国产三级电影视频| 日韩视频国产视频| 久久亚洲精精品中文字幕早川悠里| 精品久久人人做人人爽| 精品国产亚洲在线| 国产日产欧美一区| 亚洲色图在线看| 日韩精品成人一区二区三区| 美女mm1313爽爽久久久蜜臀| 国产不卡视频在线观看| 91麻豆精品一区二区三区| 91亚洲精品乱码久久久久久蜜桃| 成人黄色国产精品网站大全在线免费观看 | 亚洲欧美影音先锋| 亚洲精品中文在线影院| 亚洲国产aⅴ天堂久久| 六月婷婷色综合| 国产91精品一区二区| 欧美性猛片aaaaaaa做受| 欧美大胆人体bbbb| 国产精品国产三级国产a| 一二三区精品福利视频| 美腿丝袜亚洲综合| 成人h版在线观看| 91精品国产高清一区二区三区 | 91视频在线观看| 日韩一级免费观看| 国产精品二三区| 日日夜夜精品免费视频| 不卡视频一二三四| 精品理论电影在线观看| 一区二区在线观看免费| 国产麻豆成人精品| 欧洲生活片亚洲生活在线观看| 亚洲精品一区二区三区蜜桃下载 | www一区二区| 亚洲色图清纯唯美| 国产伦精品一区二区三区视频青涩 | 亚洲欧美日韩国产综合在线| 精品一区二区三区欧美| 一本一道久久a久久精品| 久久网站热最新地址| 亚洲午夜激情网页| 色综合天天综合在线视频| 日韩欧美中文字幕制服| 国产精品不卡一区| 国产毛片精品视频| 欧美一区二区在线免费播放| 亚洲综合男人的天堂| jvid福利写真一区二区三区| 久久一区二区视频| 日本欧美一区二区三区乱码| 91视频www| 国产精品国产三级国产有无不卡| 激情深爱一区二区| 日韩一级高清毛片| 免费视频最近日韩| 欧美一区二区三区人| 亚洲一区二区美女| 欧美三日本三级三级在线播放| 国产精品久久久久四虎| 福利视频网站一区二区三区| 久久这里只有精品首页| 蜜桃一区二区三区在线| 欧美一区二区在线观看| 青草国产精品久久久久久| 欧美日韩不卡在线| 丝袜亚洲另类丝袜在线| 欧美精品在线观看播放| 男男视频亚洲欧美| 精品久久久久久综合日本欧美| 麻豆精品国产传媒mv男同| 日韩美女在线视频 | 国产欧美日韩精品一区| 成人性视频网站| 亚洲国产高清在线| 91麻豆免费视频| 爽爽淫人综合网网站| 日韩限制级电影在线观看| 狠狠色综合播放一区二区| 久久久精品综合| jlzzjlzz亚洲日本少妇| 亚洲综合色噜噜狠狠| 欧美一区二区人人喊爽| 激情另类小说区图片区视频区| 国产欧美日韩综合| 欧美中文字幕一区| 美女久久久精品| 国产精品久久久久久久久图文区 | 欧美一区二区三区公司| 久久99精品国产麻豆婷婷| 久久久久国产成人精品亚洲午夜| 国产白丝精品91爽爽久久 | 日韩av电影天堂| 亚洲精品一区二区三区精华液 | 日韩电影在线免费| 久久久亚洲综合| 色一情一伦一子一伦一区| 午夜精品123| 国产欧美日韩精品一区| 欧美在线一二三四区| 精品在线观看视频| 一区二区三区四区中文字幕| 日韩欧美一二三区| 99精品视频一区二区三区| 视频一区在线视频| 国产精品每日更新| 欧美va亚洲va| 在线看一区二区| 国产精品亚洲午夜一区二区三区| 亚洲欧美精品午睡沙发| 久久色在线视频| 欧美日韩大陆在线| 99视频一区二区| 久久99精品一区二区三区| 一区二区激情视频| 久久精品亚洲麻豆av一区二区| 欧美视频在线播放| 99久久夜色精品国产网站| 久久99精品国产.久久久久| 亚洲午夜免费视频| 日韩一区欧美小说| 国产三级欧美三级日产三级99 | 久久er精品视频| 亚洲成人福利片| 亚洲乱码中文字幕综合| 国产日本欧洲亚洲| 久久日韩粉嫩一区二区三区| 欧美一区二区三区四区在线观看| 日本高清成人免费播放| 成人小视频在线观看| 国产综合色产在线精品| 日本不卡在线视频| 丝袜亚洲另类丝袜在线| 亚洲午夜视频在线| 亚洲成人在线免费| 亚洲国产你懂的| 亚洲国产精品一区二区久久 | 国产精品自在在线| 美女一区二区视频| 日本伊人午夜精品| 日韩高清中文字幕一区| 亚洲午夜电影在线观看| 亚洲综合在线第一页| 亚洲精品日日夜夜| 一区二区三区精品| 亚洲成人自拍偷拍| 青青草国产成人av片免费| 五月天一区二区三区| 日本欧美一区二区三区| 看国产成人h片视频| 精品一区二区三区免费播放 | 亚洲香肠在线观看| 性做久久久久久久免费看| 亚洲 欧美综合在线网络| 婷婷综合另类小说色区| 六月丁香婷婷久久| 国产美女av一区二区三区| 国产成人精品午夜视频免费| gogogo免费视频观看亚洲一| 色94色欧美sute亚洲线路一ni| 色噜噜狠狠成人中文综合| 欧美在线观看视频在线| 91精品国产综合久久福利| 精品久久99ma| 中文字幕亚洲电影| 亚洲一区二区三区自拍| 日本v片在线高清不卡在线观看| 麻豆高清免费国产一区| 国产精品一区二区男女羞羞无遮挡| www.爱久久.com| 欧美日韩一区二区三区四区| 精品成人佐山爱一区二区| 国产精品区一区二区三区| 亚洲一区二区免费视频| 狠狠色综合播放一区二区| 99精品视频一区| 日韩一级免费观看| 亚洲人成网站精品片在线观看 | 精品少妇一区二区三区免费观看| 中文字幕国产一区| 婷婷成人激情在线网| 国产乱子轮精品视频| 欧美三片在线视频观看| 久久免费美女视频| 亚洲国产欧美日韩另类综合| 国产精品亚洲一区二区三区在线| 欧美自拍偷拍一区| 亚洲国产精品精华液2区45| 首页欧美精品中文字幕| 99re在线视频这里只有精品| 日韩欧美一卡二卡| 亚洲一区免费视频| av不卡一区二区三区|