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

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)
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 Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2020년 9월 3일

댓글:

2020년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by