Code covered by the BSD License  

Highlights from
Fast assembly of stiffness and matrices in finite element method

Be the first to rate this file! 31 Downloads (last 30 days) File Size: 26.86 KB File ID: #27826
image thumbnail

Fast assembly of stiffness and matrices in finite element method

by Jan Valdman

 

03 Jun 2010 (Updated 02 Mar 2011)

vectorization of FEM matrices assembly

| Watch this File

File Information
Description

This code demonstrates vectorization concepts from a report by

Talal Rahman and Jan Valdman

on

Fast MATLAB assembly of FEM matrices in 2D and 3D: nodal elements

Technical report is available at
http://www.mis.mpg.de/publications/other-series/tr/report-1111.html

To run the code, call

"start_assembly_P1_3D" or
"start_assembly_P1_2D"

in the Matlab window (for 3D or 2D cases)
 
Considering a given 3D or 2D triangulation, mass and stiffness matrices corresponding to linear nodal elements are generated in an efficient vectorized and fast way.

Recently, functionality was extended to generate mass and stiffness matrices for a (vector) linear elasticity problem.

To run the code, call

"start_assembly_P1_3D_elasticity" or
"start_assembly_P1_2D_elasticity"

MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
10 Jul 2010

2D functionality added

16 Sep 2010

added start_calculate_areas

17 Feb 2011

tested for both linux and windows

02 Mar 2011

report link add, extended to work for linear elasticity

Tag Activity for this File
Tag Applied By Date/Time
fem Jan Valdman 04 Jun 2010 09:28:18
vectorization Jan Valdman 04 Jun 2010 09:28:18
stiffness matrix Jan Valdman 04 Jun 2010 09:28:18
mass matrix Jan Valdman 04 Jun 2010 09:28:18
fem noam 19 Dec 2010 07:10:00
fem matrix assembly Hussein 27 Dec 2010 01:55:09
linear elasticity Jan Valdman 02 Mar 2011 10:59:10
linear elasticity TienDinh HOANG 27 Dec 2011 20:18:32

Contact us at files@mathworks.com