No BSD License  

Highlights from
Finite Element Toolbox 2.1

4.05556

4.1 | 20 ratings Rate this file 103 Downloads (last 30 days) File Size: 132.14 KB File ID: #2808
image thumbnail

Finite Element Toolbox 2.1

by Rasmus Anthin

 

03 Dec 2002 (Updated 06 Jul 2004)

Piecewise linear Galerkin method with piecewise constant coeffs for static PDE probelms.

| Watch this File

File Information
Description

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I've discovered that the piecewise coefficients method I'm using is wrong. To get correct results use constant coefficients. This will be corrected in the next version. This will make the release for the next version a bit more delayed than expected. I'm also writing a paper on how FEM works that will be included in the toolbox (as a tutorial).

Version 3.0 will contain:
* 3D FEM
* improved function documentations
* introduction to applied linear Galerkin (document)
* correction of the piecewise constant coefficients
* correction on how to enter Robin condition in the 1D case
* improved syntax

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

This is a toolbox for computing ODEs or PDEs in BVPs using FEM in 1D, 2D (and 3D, yet to come).

* FEM1
this is the main routine for solving ODE BVPs using any combination of Dirichlet, Neumann or Robin conditions.

* GENMAT1
called by FEM1 and is the core of the program. It generates the matrices used for solving the linear equation system for the ODE. Uses alytical results of the integration of basis functions (for sake of efficiency).

* REFINE1
with this routine you can refine the mesh over certain critical grid points. The the gridpoints will become nonuniformly linearly spaced.

* TEST1
this is a test for the 1D case of FEM. Look through this example carefully in order to fully understand how FEM1 works.

* PLOTGRID2
plot mesh/triangulation in 2D and put a number in each corresponding element (triangle).

* QUADSPACE
generates quadratically spaced vectors. That is, the spaces are linearly decreasing/increasing.

* FEM2
this is the main routine for solving PDE BVPs using any combination of Dirichlet, Neumann or Robin conditions.

* GENMAT2
called by FEM2 and is the core of the program. It generates the matrices used for solving the linear equation system for the PDE.

* TEST2
test for the 2D case of FEM. Test this for better learning how to use FEM2 and other utilities.

Both FEM1 and FEM2 uses the sparse class in order to become more efficient (since the matrices generated are in general tridiagonal).

These routines may be useful for solving electrostatic problems with strange geometries and with spatially changing dielectric constants (or similar).
Of course the elliptical problem is universal and can be used for a lot of other applications such as the classical heat equation, etc...

Unfortunately, the FEM solvers does not support parabolic nor hyperbolic problems "yet".

the FEM1 and FEM2 routines should be fairly user friendly, and not much knowledge about finite elements ought to be required to operate them.

Remark: in the FEM1 routine you have to enter the neumann/(robin)-condition as

 U'(a)+gamma*U(a)=R

rather than

 alpha*U'(a)+gamma*U(a)=R

and I will correct this minor inconsistency for future versions.

Have fun!

More toolboxes and assorted m-files can be found at:
http://www.etek.chalmers.se/~e8rasmus/eng/matlab_programs.html

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (31)
16 May 2003 javad Eashraghi  
24 Aug 2003 Zhang Shaozhi

good

05 Mar 2004 Syed Ali

Ex1 does not work
load ex1 gives error.

23 Mar 2004 (author) Rasmus Anthin

It'll be fixed for next version. There might be some incompability with the mat-files somehow, that I do not understand :). Another explanation could be that it have been corrupted in the packing or unpacking process of the toolbox. Seems that mat-files are sensitive to compression.

14 May 2004 lalu PP  
18 Dec 2004 abbassi ammar  
14 Mar 2005 Hossein Kazemi

Thanks

12 Apr 2005 Johnny C.

Great package, works well and runs fast. More comments in the source code would help students taking a FEM course understand how the included functions work. This, of course, isn't needed for just using the package.

27 Apr 2005 adi sayoga

good

04 Aug 2005 Hieu Vu Duc

Good!
Thank!

05 Sep 2005 Rasmus Anthin

Ok... this project has been on ice for some time and it is uncertain when I can pick it up again. Perhaps within a year or two. If you are interested in the theory behind Galerkin finite elements, you can read my article about it:
http://www.etek.chalmers.se/~e8rasmus/eng/facts/galerkin(1).pdf
it is not yet completed though. The article will be included in the next version of this toolbox.
/the author.

09 Feb 2006 phuong nguyen  
18 Mar 2006 osmar monteagudo  
17 Oct 2006 kyun wo

none of the links (chalmers.se) you provided are working.

18 Apr 2007 joao gouveia  
07 May 2007 david Zeitoun  
22 Dec 2007 roozbeh Behzadi

Hi,thanks for your help

21 Jan 2008 arash shabani

tanks for useful helps.

28 Jan 2008 yuga gautama  
28 Jan 2008 yuga gautama

good

30 Jan 2008 yuga gautama

GOOD

01 Mar 2008 HICHEM HERMI

ASSEMBLER DES TRIANGLES 2D PAR L4EQUATION ELLIPTIQUES ET PAR LE LANGUAGE MATLAB

06 Mar 2008 OSCAR NARDUZZU  
13 Apr 2008 hamlet hamlet

probleme de stabilité des plaques la matrice
de geometrie et element finis par matleb

10 Jun 2008 HANAN BAGHDADY

????? ???? ????

14 Jun 2008 alaa taha

thank u

08 Jul 2008 Didit Nugroho  
25 Sep 2008 liviu b

...

18 Sep 2009 Pier-Yves

When do you expect the 3.0 version to be available ?

26 Apr 2010 Methodist Hospital System Tan  
26 Apr 2010 Methodist Hospital System Tan

by the way, i can not reach you via the email you offered.

Please login to add a comment or rating.
Updates
03 Sep 2003

Only changed the packing format from tar.gz to zip since many people seems to have problems with corrupted mat-files. The tar.gzipped file can still be found on my homepage.

23 Oct 2003

Updated information/description.

17 Nov 2003

Updated information/description.

06 Jul 2004

Updated information/description.

Tag Activity for this File
Tag Applied By Date/Time
differential equations Rasmus Anthin 22 Oct 2008 06:54:33
linear Rasmus Anthin 22 Oct 2008 06:54:33
galerkin Rasmus Anthin 22 Oct 2008 06:54:33
elliptic Rasmus Anthin 22 Oct 2008 06:54:34
finite elements Rasmus Anthin 22 Oct 2008 06:54:34
fem Rasmus Anthin 22 Oct 2008 06:54:34
fea Rasmus Anthin 22 Oct 2008 06:54:34
fe Rasmus Anthin 22 Oct 2008 06:54:34
elliptic trung trinh 13 Apr 2010 08:22:02
fea Prem 17 Jun 2010 06:26:29
differential equations Muhammad Awais 02 Nov 2010 21:31:30
differential equations Soheila 23 Dec 2011 11:29:40
elliptic Soheila 23 Dec 2011 11:29:46
fe Soheila 23 Dec 2011 11:29:49
finite element Wang 24 Mar 2012 05:23:26

Contact us at files@mathworks.com