How do i create Apply Boundary Conditions

How do I create a Boundary Conditions with GSM.
And here is my previous setup for Element 1,2,and 3 and a GSM with those 3 element.

 採用された回答

Mario Malic
Mario Malic 2020 年 9 月 3 日
編集済み: Mario Malic 2020 年 9 月 3 日

0 投票

It seems that you know force boundary conditions for your nodes.
Following the equation:
[K] {u} = {F}
You do not know your displacements - the x vector, but you know the external forces at the nodes, the F vector.
What you are asked is to assign the external forces as
% Edit 4 nodes
Ext_F = [0; 0; 0 ;F] % Keep in mind, this is a row vector
The hint given to you about, that you don't need the complete global stiffness: you can check on the paper first, how can you obtain i.e. displacement u1.

4 件のコメント

Shing Kwan Tang
Shing Kwan Tang 2020 年 9 月 3 日
ok. But it seems like it said I need to extract the smaller matrix from the full GSM matrix. Cause I have a 4x4 matrix for GSM. For u1,u2,and u3 is the first 3 row and 3 column from the full GSM. in this situation, is there anny way to just get the 3x3 matrix from a 4x4 matrix? or I need to type like
mini_GSM = [ k11 k12 k13 ; k21 k22 k23 ; k31 k32 k33]
to create a small matrix? thank you
Mario Malic
Mario Malic 2020 年 9 月 3 日
Oh, now I see. Mat = GSM(1:end-1, 1:end-1)
Shing Kwan Tang
Shing Kwan Tang 2020 年 9 月 3 日
ok, i get it , thx so much
Mario Malic
Mario Malic 2020 年 9 月 4 日
Please accept the answer if it solved your problem.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by