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

📄 fsi_mod.m

📁 用于在matlab平台上进行有限元分析
💻 M
字号:
function  [Amodc] = fsipr(laS,fiS,listS,laF,fiF,listF,H,fp,string)% [Amodc] = fsipr(laS,fiS,listS,laF,fiF,listF,H,fp,string)%-------------------------------------------------------------% PURPOSE %   Generates a coupled system of equations %   according to Eq. 32 or Eq. 32%   % INPUT:%   laS :    column matrix, contains the eigenvalues, structure%   fiS :    eigenvectors, structure%   listS :  list of egenvectors, structure%   laF :    column matrix, contains the eigenvalues, fluid%   fiF :    eigenvectors, fluid%   listF :  list of egenvectors, fluid  %   H     :  coupling matrix%   fp   :   fluid properties  [rho c]%   string:  'right' or 'left'%% OUTPUT:%   Amodc   coupled system matrix according to Eq. 31 or Eq. 32% --------------------------------------------------%% Literature:% Sandberg, G.: %	A new strategy for solving fluid-structure problems, %	International Journal for Numerical Methods in Engineering,%	38, (1995), 357--370.% --------------------------------------------------% REFERENCES%    G Sandberg  1996-08-07% Copyright (c) 1991-96 by Division of Structural Mechanics and%                          Department of Solid Mechanics.%                          Lund Institute of Technology%-------------------------------------------------------------% ---- fluid properties ----------------------rho=fp(1); c=fp(2); rhoc2=rho*c*c;% ---- right system --------------------------if string(1) == 'r'% ---- structure -----------------------------AmodS = diag(laS(listS));% ---- coupling ------------------------------Hmod=fiS(:,listS)'*H*fiF(:,listF);Hmodc=-sqrt(rhoc2)*sqrt(AmodS)*Hmod;% ---- fluid ---------------------------------AmodF = diag(laF(listF)) + rhoc2*Hmod'*Hmod;% ---- total system --------------------------Amodc=[AmodS  Hmodc;       Hmodc'  AmodF];end% ---- left system ---------------------------if string(1) == 'l'% ---- fluid ---------------------------------AmodF = diag(laF(listF));% ---- coupling ------------------------------Hmod=fiS(:,listS)'*H*fiF(:,listF);Hmodc=-sqrt(rhoc2)*Hmod*sqrt(AmodF);% ---- structure -----------------------------AmodS = diag(laS(listS)) + rhoc2*Hmod*Hmod';% ---- total system --------------------------Amodc=[AmodS  Hmodc;       Hmodc'  AmodF];end%--------------------------end--------------------------------

⌨️ 快捷键说明

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