資源簡介
這是《結構分析的有限元法與MATLAB程序設計》書本的源代碼,我向作者索要的,特給大家共享,希望對大家有用
代碼片段和文件信息
function?exam3_1
%?本程序為第三章的第一個算例,采用平面梁單元計算平面剛架的變形和內力
%??????輸入參數:?無
%??????輸出結果:?節點位移和單元節點力?
????PlaneframeModel?;??????%?定義有限元模型
????SolveModel?;???????????%?求解有限元模型
????DisplayResults?;???????%?顯示計算結果
return?;
function?PlaneframeModel
%??定義平面桿系的有限元模型
%??輸入參數:
%??????無
%??返回值:
%??????無
%??說明:
%??????該函數定義平面桿系的有限元模型數據:
%????????gNode?-------?節點定義
%????????gElement?----?單元定義
%????????gMaterial?---?材料定義,包括彈性模量,梁的截面積和梁的抗彎慣性矩
%????????gBC1?--------?約束條件
%????????gNF?---------?集中力
%????????gDF?---------?分布力
????global?gNode?gElement?gMaterial?gBC1?gNF?gDF
????%?節點坐標
????%?????????x??????y
????gNode?=?[0.0???0.0??????????%?節點?1
?????????????0.0???4.0??????????%?節點?2
?????????????3.0???0.0??????????%?節點?3
?????????????3.0???4.0??????????%?節點?4
?????????????4.5???4.0??????????%?節點?5
?????????????6.0???0.0??????????%?節點?6
?????????????6.0???4.0?]?;??????%?節點?7
?????
????%?單元定義
????%??????????節點1??節點2??材料號
????gElement?=?[1??????2??????1???????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10056??2008-11-25?09:05??exam3_1.m
?????文件???????2731??2005-08-26?18:37??exam3_2.dat
?????文件??????10320??2005-10-25?13:44??exam3_2.m
?????文件???????7662??2006-01-05?16:44??exam4_1.m
?????文件?????297557??2005-09-01?20:07??exam4_2.dat
?????文件??????11115??2005-10-25?15:36??exam4_2.m
?????文件??????13411??2005-10-25?13:52??exam4_2_post.m
?????文件?????391178??2005-09-12?13:54??exam5_1.dat
?????文件??????13883??2006-01-05?17:00??exam5_1.m
?????文件???????5561??2006-03-28?10:53??exam5_1_post.m
?????文件??????86792??2005-09-17?13:45??exam5_2.dat
?????文件???????9754??2005-10-25?15:46??exam5_2.m
?????文件??????21065??2005-10-25?15:28??exam6_1.m
?????文件?????112381??2005-09-28?15:15??exam6_2.dat
?????文件??????20386??2006-06-19?09:36??exam6_2.m
?????文件???????2688??2006-01-05?17:26??exam6_2_post.m
?????文件??????14203??2005-10-25?15:27??exam7_1.m
?????文件??????13543??2005-10-13?13:01??exam7_2.m
?????文件???????8962??2006-04-20?16:28??exam8_1.m
?????文件???????9840??2006-06-13?20:04??exam8_2.m
-----------?---------??----------?-----??----
??????????????1063088????????????????????20
評論
共有 條評論