×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

AN EFFICIENT WAY TO DO THE ASSEMBLY OF GLOBAL STIFFNESS MATRIX

AN EFFICIENT WAY TO DO THE ASSEMBLY OF GLOBAL STIFFNESS MATRIX

AN EFFICIENT WAY TO DO THE ASSEMBLY OF GLOBAL STIFFNESS MATRIX

(OP)
Hi all,
I develop a finite element code in java.
I looking for an efficiency algorithm to do the assembly process... i need to assemble the global matrix into sparse vector for using in minimum memory.
someone that develop a finite element code maybe encounter in a memory problem when he allocate the global stiffness matrix? if yes how can i overcome this problem?
thanks in advance:)

RE: AN EFFICIENT WAY TO DO THE ASSEMBLY OF GLOBAL STIFFNESS MATRIX

(OP)
what is the conection between wavefront analysis to assembly process?

RE: AN EFFICIENT WAY TO DO THE ASSEMBLY OF GLOBAL STIFFNESS MATRIX

I've used a method that uses an additional 50-100% of the memory of the matrix itself. The matrix is sparse and each finite element is added to it one by one.

You'll need to define the sparsity pattern before using it. You can do that with a initial dummy "assembly" run which just builds a data structure representing where all the non-zeros are. I store this in an array of lists (variable length arrays). Each element in the array is one row, and each element in the list is the column number of a non-zero in that row. This probably wastes a lot of memory because of unused space in the lists so you can use a more efficient jagged array instead.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources