Sunday, January 22, 2012

Using Finite Element Toolbox CALFEM in FreeMat

FreeMat is a free environment for rapid engineering and scientific prototyping and data processing. It is similar to commercial systems such as MATLAB from Mathworks.
CALFEM is a free interactive computer program for teaching the finite element method (FEM). The name CALFEM is an abbreviation of "Computer Aided Learning of the Finite Element Method".

Although CALFEM was designed as a MATLAB toolbox, CALFEM can be integrated and used in FreeMat.
Below the steps to integrate CALFEM into FreeMat.

Step 1, FreeMat installation:
 Install Freemat from Ubuntu Software Center or
 from the terminal sudo apt-get install freemat

 A windows installer can be downloaded from FreeMat download link, then install as a normal installation procedure in Windows machine.

Step 2, CALFEM installation:
CALFEM zip file (CALFEM-3.4.zip) should be downloaded from its sourceforge repository. You need to unzip it.

Put in a folder of your preference and unzip it. Just right click and select extract here.

Put in a folder of your preference and unzip it by using unzip software available in your windows machine.

Step 3, Integrating CALFEM into FreeMat:
All the program routines of CALFEM must be recognized in FreeMat. The folder where CALFEM is saved should be defined from pathtool.

(a) Open FreeMat and type pathtool and Enter
(b) Find the location where you unzip CALFEM on the left box, then select  Add With Subfolders.
(c) Confirm the selection by pressing Done, then you need to save changes. Restart FreeMat to completely define the new CALFEM pathtool.

Step 4, Test CALFEM function in FreeMat:
You should be able to use CALFEM functions in FreeMat.
Type bar1e(50) and press Enter.
If FreeMat can recognize one of functions, bar1e, it means CALFEM has been properly integrated in your FreeMat. Now you can employ other FEM functions defined by CALFEM.

9 comments:

  1. learning CALFEM in Freemat

    ReplyDelete
  2. Thanks for the guide, very helpful :)

    ReplyDelete
  3. This is a very helpful and informative post. Thanks it to share keeps it up.

    ReplyDelete
  4. Many engineers and students who are currently studying about this field will surely find this tool useful and effective that can give them the desired output that they were trying to have.

    ReplyDelete
  5. i just like your website while searching coupon codes,

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. it was a great article thanks for sharing this interesting information. best sewing machine for leather

    ReplyDelete