cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Operation on matrix with inconsistent units

yoohooos
12-Amethyst

Operation on matrix with inconsistent units

I have a stiffness matrix where units within columns and rows are inconsistent. I tried to inverse the matrix but it said " The matrix element units are not compatible with this operation". How can I fix this? If possible. Or I just did this wrong.

 

ps: I this question  a few years ago. The very same question. However, the solution is no longer working.

 

Thank you for any inputs!

yoohooos_0-1698113226683.png

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:yoohooos)

If you assign suitable units to the zero values

Werner_E_3-1698122669500.png

then your matrix k.free ends up like this

Werner_E_1-1698122543840.png

and can be inverted without errors

Werner_E_2-1698122574764.png

 

 

 

View solution in original post

6 REPLIES 6

Hi,

Typical structural stiffness matrices are of multiple units for various elements.  Inversion or decomposition of the matrices will result in unit inconsistent equations.

For this reason it is best to work in a consistent set of units so the value of the stiffness matrix elements are correct but without units.

A consistent set of units for imperial system is fps.  This is from a commercial software suite.

Capture.JPG

You need to divide the stiffness matrix entry values to these consistent units.

Capture2.JPG

So working unitless on the whole worksheet? I mean, one of the top reason people use Mathcad is so they don't have to worry about units. Working with scalars, excel is thousands times more appropriate and robust. 

Werner_E
25-Diamond I
(To:yoohooos)

If you assign suitable units to the zero values

Werner_E_3-1698122669500.png

then your matrix k.free ends up like this

Werner_E_1-1698122543840.png

and can be inverted without errors

Werner_E_2-1698122574764.png

 

 

 

yoohooos
12-Amethyst
(To:Werner_E)

Thank you!! So, it's not just any unit or same unit in the same row or column.

 

Hi,

Setting a few zeroes to have units works easily for the current example with only two elements oriented in the same direction.

A more complex example with rotated members like this:

Capture.JPG

Produces with a additional node at quarter point of rafters a six by six matrix for each element without zeros due to the rotations in the xy plane assembled like this

Capture2.JPG

green shows non-zero values, white shows zeros in the 33x33 matrix.   You would need to set units for 810 zero values for solution.

 

This why I work unitless for global matrix using a consistent set of units.

 

Cheers

Terry

Werner_E
25-Diamond I
(To:yoohooos)


@yoohooos wrote:

Thank you!! So, it's not just any unit or same unit in the same row or column.

 


Yes, and I don't think that the units in that matrix make any practical sense.
So even though its true that when you work with Mathcad or Prime you should take advantage of its ability to handle units, in this case I would second what Terry suggests - get rid of the units in this case 😉

Announcements

Top Tags