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

📄 feisol2.m

📁 采用Matlab编写的有限元方法
💻 M
字号:
function [shape,dhdr]=kwisol2(rvalue)
%--------------------------------------------------------
%Purpose
%	Compute isoparametric 2-node shape functions
%	and their derivatives at the selected
%       point in terms of the natural coordinate.
%   
%Synopsis:
%	[shape,dhdr]=kwisol2(rvalue)
%
%Variable Description:
%	shape - shape functions for the linear element
%       dhdr - derivatives of shape functions
%       rvalue - r coordinate valute of the selected point   
%   
%Notes:
%	1st node at rvalue=-1
%       2nd node at rvalue=1
%--------------------------------------------------------

shape(1)=0.5*(1.0-rvalue);  % first shape function
shape(2)=0.5*(1.0+rvalue);  % second shape function

dhdr(1)=-0.5;  % derivative of the first shape function
dhdr(2)=0.5; % derivative of the second shape function


⌨️ 快捷键说明

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