Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Displacement field in Structural Mechanics Module

Please login with a confirmed email address before reporting spam

Hello,

I use COMSOL to successfully calculate a displacement field (u, v, w) for a given model in the Structural Mechanics Module.

I then use the COMSOL API to load the z-displacement (that is, w) field into an array structure.

The array W has dimensions (12, 257527). Can someone tell me how this conversion process works, i.e. what do the elements in W correspond to?

I know that the rows in this array probably correspond to the number of eigenfrequencies I solve for. But how can I associate the individual columns with my mesh elements?

Thanks.


0 Replies Last Post Feb 12, 2024, 10:34 a.m. EST
COMSOL Moderator

Hello Leo Kon

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.