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.

 Respuesta aceptada

Mario Malic
Mario Malic el 3 de Sept. de 2020
Editada: Mario Malic el 3 de Sept. de 2020
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 comentarios

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 el 3 de Sept. de 2020
Oh, now I see. Mat = GSM(1:end-1, 1:end-1)
Shing Kwan Tang
Shing Kwan Tang el 3 de Sept. de 2020
ok, i get it , thx so much
Mario Malic
Mario Malic el 4 de Sept. de 2020
Please accept the answer if it solved your problem.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Sept. de 2020

Comentada:

el 4 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by