×
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

Free Finite Element Program
3

Free Finite Element Program

Free Finite Element Program

(OP)
Hi,

Does anybody know a good but free :)finite element program for

1. Elastic Analysis
2. Creep Analysis

for bridge engineering.

The important point is the program has a strong meshing capability...

RE: Free Finite Element Program

You could try looking at the list of free FEA tools given at:-

http://www.dermotmonaghan.com/wwwLinks/index.php

Some of those listed like Calculix (an Abaqus clone) have very good solvers, expecting something like creep analysis from freeware is a tall order and Calculix is the only one I know of worth investigating for that. But I've never seen any freeware that is really good at meshing (yet !), and be warned free-ware will never compare well with a commercial offering.

You might consider one of the lower cost FEA packages instead:-

GiD - http://gid.cimne.upc.es/index.html
FemDesigner - http://www.femdesigner.co.uk
Roshaz - http://www.roshaz.com

RE: Free Finite Element Program

(OP)
Thanks,

The major problem of freewares is it is difficult to install....because we are used to unzip the files and Windows does the rest of the installation.

Just for my information, is Linux very common in your country. In the UK, it is not very common

RE: Free Finite Element Program

Well my country is the UK !

Don't let Calculix being Linux based put you off if that's your concern, as I have only ever used the windows port of the code. I heard about the code from a colleague who had visited an office that had one licensed version of Abaqus but had also installed Calculix on every PC (as it's an Abaqus clone). Every PC only had the Linux OS along with StarOffice etcetera and all the useful free stuff installed, and that was in the UK !

RE: Free Finite Element Program

Has anyone tried the software recommended by johnhors.  Can anyone suggest which of these is best...  I have tried some of the dozens of free FEA software programs on the internet only to find that most of them are... less than satisfactory.  I need a program to design simple beam structures on concrete slab foundations (mezanines, bridge crane structures, etc...).  I do not need to design intricate parts.  I would definitely like it to be Windows "friendly".  Any help would be appreciated.

RE: Free Finite Element Program

Steelforbrains

For very simple beam analysis I recommend DTBeam. You van vary the supports and section properties and have answers in seconds. www.dtware.com



RE: Free Finite Element Program

Thanks crisb.
I have made an excel file that does simple beam stresses and deflections but it does not have a nice GUI like this program seems to have.  Does anyone know of any similar program for column/baseplate design.  Whenever I try to do simple column buckling analysis using things like Euler's formula, I come up with unreasonably small members.  I am  not sure as to how I should add lateral forces to my analysis.  Should I try to determine a Von Mises stress from the axial and lateral loads?  If I do that I am determining failure due to yielding and not buckling which seams to be a different type of failure.  I now read the thread from MrMikee and I will check that out too, thanks.

RE: Free Finite Element Program

Steelforbrains,

When you have both axial and bending stresses you need to check the combined stresses per Chapter H in the ASD manual (allowable stress design) or the comparable part of LRFD.  Von Mises stresses are seldom checked for building type stresses.

-Mike

RE: Free Finite Element Program

(OP)
johnhors,

I had a look at Calculix's website, the procedures of the installation look a bit unfamiliar…..

RE: Free Finite Element Program

Steve

Are you looking at the procedure for Linux installation ?

Under windows you only require the two files:-

ccx_1.4.exe
cygwin1.dll

You can then use Roshaz for pre and post processing.

There is also a full windows installation available if you prefer.

RE: Free Finite Element Program

johnhors

Where this "full windows installation" located?

RE: Free Finite Element Program

Sorry, I found it but the documentation files give error when trying to uncompress them.

RE: Free Finite Element Program

Sorry Israelkk, but I just tested the install and have successfully downloaded and installed the product. The exe requires perl to be installed, but the documentation gives me no problems.

RE: Free Finite Element Program

perl?

RE: Free Finite Element Program

Steelforbrains, I clicked on the icon for "test calculix 1.4" by mistake , which uses a perl script. The exe's as installed work fine otherwise.

RE: Free Finite Element Program

(OP)
johnhors

I went to http://bconverged.com/calculix/index.php and downloaded an exe file " CalculiX_1_4_win_005.exe"

Later I downloaded ActivePerl 5.8.7.813 from http://www.activestate.com/Products/ActivePerl/

After all installation, I found Calculix was not working properly.....

There were three problems/questions:
1. Is it necessary to download this file cygwin1.dll? If so, how to download this file and where is it saved?

2. I did a trial run as recommeded by the program documentation. In the command windows, I typed cgx result.frd. However, the output was not what I expected
Firstly, the word "Main Menu" didn't appear on the left hand side of the graphic window (Calculix Graphix). Secondly, a message came up in the common window which was
------------------------------------------------------
GLUT: Warning in C:\Program Files\CalculiX\cgx_1.4\cgx_1.4.exe: glutReshapeWindow: non-positive width or height not allowed
------------------------------------------------------

3. Back to the web page http://bconverged.com/calculix/index.php, it states that ""The documentation link within CGX requires a browser path be defined. This path ought to be set in CalculiX/common/site/cmdStartup.bat"". However, I don't know what I should do.

RE: Free Finite Element Program

Steve

1). Yes you require cygwin1.dll, a google search reveals several sites to download from, one is:-

http://www.dll-files.com/dllindex/dll-files.shtml?cygwin1

Place the dll in the same directory as the calculix solver.
You can then run the solver using Roshaz for pre and post processing.

However the windows installer from http://www.bconverged.com/calculix should have included this dll.

I have tested this installation on two machines (XP and Win2K) and all works fine after installation (including the test of the installation when perl is also installed)

2). I tried cgx also and found it some what lacking as well, with the menu not appearing in the graphic window as you did but I didn't get the GLUT warning (which is an OpenGL error message). Also I had to fire it up from the DOS command line with the model to view as an argument on the command line, which is a rather cumbersome way of doing things. If you didn't get the cygwin1.dll , did you also not get the glut32.dll appear in the same directory as cgx ?

The command language that it uses is based on that used by Cadfix (formerly known as FAMbuild and FAMresult which was itself based on FemGen), and will be difficult for those unfamiliar with command line based programs.

3). From the Start menu to Programs to Calculix to Documentation , I had no trouble with the html help files.
The file CalculiX/common/site/cmdStartup.bat on my machines (which I have not modified) is :-

@echo off

rem   Modify this file to change your startup settings for the CalculiX command window.

set HOME=E:\temp
set CALCULIX_ROOT=C:\Program Files\CalculiX
set PATH=%PATH%;C:\Program Files\CalculiX\bin;C:\Program Files\CalculiX\ccx_1.4;C:\Program Files\CalculiX\cgx_1.4
rem (the doc paths should be URLs in quotes and have a trailing question mark)
set CCXDOCS="file:%CALCULIX_ROOT%/ccx_1.4/doc/html/ccx.html?"
set CGXDOCS="file:%CALCULIX_ROOT%/cgx_1.4/doc/html/index.html?"
set BROWSER=c:/progra~1/mozill~1/firefox.exe

cd %HOME%

cls
echo.
echo     CalculiX command window
echo         usage: ccx jobname
echo            (no extension)
echo.
echo         usage: cgx [-b^|-g^|-c^|-duns2d^|-duns3d] filename [ccxfile]
echo            (extension required)
echo          -a  auto-mode, geometry file derived from a cad-file must be provided
echo          -b  build-mode, geometry file must be provided
echo          -c  read an solver input file (ccx)
echo          -duns2d  read duns result files (2D)
echo          -duns3d  read duns result files (3D)
echo          -g  use element-group-numbers from the result-file
echo          -stl  read stl triangles
echo          -v  (default) read a result file in frd-format and optional a solver
echo              input file (ccx) which provides the sets and loads used in the
echo              calculation.
echo.
echo         usage: acis2fbd ^< infile.sat ^> outfile.fbd
echo.
echo         usage: vda2fbd infile.vda ^> outfile.fbd
echo.


However I use Roshaz both to create input models for Calculix and to display the results.

RE: Free Finite Element Program

2
Hello,

I wrote the Window's port for CalculiX, and do not mind helping you get it running.  Also, if you have found some bugs, let me know and I will try to get them fixed.

I have not seen the GLUT error before.  Would you check that glut32.dll is in:
C:\Program Files\CalculiX\cgx_1.4\
Does the CGX window still appear and function when this error is displayed?  What OS are you using?

The menu functionality and the requirement of a command line execution are a bit unusual for a Windows application.  I did not change any of the functionality from the UNIX version yet.  My goal was to port the application from UNIX unchanged, and then update to improve the usability for the Windows users.  

You can get to the menu once you have started CGX by using the left mouse button in the left border area.  This space on the left side of the window is for contour maps.

The documentation is accessible via Start menu short cuts as well as from within CGX.  If you want to open them from with CGX, you have to make sure the path to your browser is correct in the file:
    C:/Program Files/CalculiX/common/site/cmdStartup.bat
I have it set for Firefox by default.  If you use IE, you need to change the path.  There is also a change that I will be making in subsequent releases.  The way the browser is started right now, it does not release control back to CGX until it is closed.  This can be fixed by changing the path to:
    set BROWSER=start c:/progra~1/mozill~1/firefox.exe
for IE:
    set BROWSER=start c:/progra~1/intern~1/iexplore.exe

Also, only the CCX testing script requires Perl.

I hope this will help.

Regards,
Jeff

RE: Free Finite Element Program

Jeff

First, thank you for a very good port of a Linux application into windows, well done!

"port the application from UNIX unchanged" that explains why the input files must be in unix format and not DOS?

I found that the solver is faster than Abaqus but more memory hungry. Also it produces an error when trying to solve models with more than about 60000 nodes, whilst I see from the web site that the Linux version does not have this limitation, is this a limitation of the windows SPOOLES solver? Also the frd results files have slight differences in the format to the specification from Femsys Ltd, which are easily overcome anyway.

Finally imho, it's easily the best freeware FEA available.

RE: Free Finite Element Program

johnhors,

I am glad that the Windows port of CalculiX has been useful.  Guido and Klaus deserve the appreciation for making their applications open source.

I thought I had fixed the UNIX-DOS file format problem in CCX.  Are you finding this problem in version 1.4?  Is this also a problem with CGX?  I am currently working on a bug regarding control characters showing up at the end of set names when generated by CGX via picking from the screen.  It would not surprise me if there are a few more issues like that.

There was a post to the CalculiX user group on Yahoo (http://groups.yahoo.com/group/calculix/) a few weeks ago with a bug report and fix to a memory problem for larger models (the user had a 65k node model).  I do not know if that will solve the problem you are referring to, but it may.  The fix will probably make it into the next version.

Regards,
Jeff

RE: Free Finite Element Program

(OP)
Johnhors:

1. I found the file “cygwin1.dll” was in directory “C:\Program Files\CalculiX\ccx_1.4” I don’t know this directory is taken to house the solver because I haven’t gone through all documentation,


2. I have “glut32.dll” in C:\Program Files\CalculiX\cgx_1.4

3. Sorry for misleading……There is no problem with viewing the documentation

However, there is a problem with the installation of ActivePerl…. Since I installed this program on my machine in my office and I was not the “system administrator”, I should have some kinds of problem in the installation. However, there was not error message at all and ActivePerl seemed to have set up on my machine successfully


I have just installed ActivePerl and run calculiX_1_4_win_005.exe? Are there any more programs I have to install or set up I have to do to any *.bat files??

RE: Free Finite Element Program

(OP)
Jeff,

Do you have any idea why the following message popped up when I run a command “”cgx result.frd”” shown in the manual -- C:\Program Files\CalculiX\cgx_1.4\doc\html\node5.html


Error Message
---------------------------------------------------------------------------------------------------------------
GLUT: Warning in C:\Program Files\CalculiX\cgx_1.4\cgx_1.4.exe: glutReshapeWindow: non-positive width or height not allowed

In addition, my cmdStartup.bat has already been set to:

@echo off

rem   Modify this file to change your startup settings for the CalculiX command window.

set HOME=\\SGBCRA1001\home$\chun7981\My Documents\Analysis_Data
set CALCULIX_ROOT=C:\Program Files\CalculiX
set PATH=%PATH%;C:\Program Files\CalculiX\bin;C:\Program Files\CalculiX\ccx_1.4;C:\Program Files\CalculiX\cgx_1.4
rem (the doc paths should be URLs in quotes and have a trailing question mark)
set CCXDOCS="file:%CALCULIX_ROOT%/ccx_1.4/doc/html/ccx.html?"
set CGXDOCS="file:%CALCULIX_ROOT%/cgx_1.4/doc/html/index.html?"
set BROWSER=start c:/progra~1/intern~1/iexplore.exe

cd %HOME%

cls
echo.
echo     CalculiX command window
echo         usage: ccx jobname
echo            (no extension)
echo.
echo         usage: cgx [-b^|-g^|-c^|-duns2d^|-duns3d] filename [ccxfile]
echo            (extension required)
echo          -a  auto-mode, geometry file derived from a cad-file must be provided
echo          -b  build-mode, geometry file must be provided
echo          -c  read an solver input file (ccx)
echo          -duns2d  read duns result files (2D)
echo          -duns3d  read duns result files (3D)
echo          -g  use element-group-numbers from the result-file
echo          -stl  read stl triangles
echo          -v  (default) read a result file in frd-format and optional a solver
echo              input file (ccx) which provides the sets and loads used in the
echo              calculation.
echo.
echo         usage: acis2fbd ^< infile.sat ^> outfile.fbd
echo.
echo         usage: vda2fbd infile.vda ^> outfile.fbd
echo.

I also found that in order to run result.frd I have to save result.frd in this directory “” C:\Program Files\CalculiX\common\site””. As you can see above, I have set the path as “”set HOME=\\SGBCRA1001\home$\chun7981\My Documents\Analysis_Data””. In theory, the program is able to read any data saved in …..\Analysis_Data.

RE: Free Finite Element Program

Steve

Perl is only required for the installation test, which you get to from the start up model, everything else should run okay.

Jeff

Yes, the unix-dos issue was in the previous version, I hadn't checked the latest delivery for this. And thanks for the link to the memory issue.

RE: Free Finite Element Program

steveyeung,

The environment variable %HOME% is currently only used as the start up location when you open a new command window.  When you run the "CalculiX Command" short cut in your start menu, does it start in your analysis data folder?  If not, open a DOS shell and type:
cd \\SGBCRA1001\home$\chun7981\My Documents\Analysis_Data
Does this result in changing your current directory to the analysis data folder?  If not, try mapping this file system as a network drive.  

CGX will only look in the directory in which it is running for files.  If you execute "cgx result.frd", you must be in the same folder as "result.frd".

I have not seen the glut error before.  What operating system are you using?  Does the CGX window still appear and function?

Regards,
Jeff

RE: Free Finite Element Program

I don't mean to sound pessimistic but is this Calculix program really the best freeware FEA program available?  I haven't tried it yet, but it seems to have a lot of bugs, which scares me if I'm building a huge model.  I have spent hours before trying to load FEA software only to find out that the program was definitely not worth the trouble.  I have to balance the fact, however, that I'm to cheap to buy a registered FEA program.  Could I be wasting my time loading Calculix or is it more reliable than I believe?

RE: Free Finite Element Program

Steelforbrains,

You are right to be pessimistic (I think all engineers should be by nature).  Like any other FEA application, there is a learning curve to using CalculiX.  Much of what we are talking about here are issues regarding usability that one would encounter when installing and learning to use Abaqus from the command line.  There are sure to be bugs as well (the glut error probably is one), just like with any other software application.  The benefit that an open source application offers is that the users who find the bugs are able to provide the fixes.  You can also browse the source to see the actual formulation for an element, solver, etc.

My time contributed to the CalculiX project eventually shows up on the same balance sheet as my license costs for commercial codes (I just paid my bill for a commercial app).  Before I started working on CalculiX, I spent a few months downloaded and evaluating quite a few other applications.  CaluliX is the closest to meeting my finite element analysis needs, though it may not be for everyone.  

One thing that CalculiX does have, that I think may be unique among open source finite element analysis codes, is a support mechanism.  The user group is more responsive than many commercial support systems.  If you want to get a feel for the usability, I would check out the archives on the Yahoo group.  There are some very serious users.  I will admit though that I am not using it exclusively for my analysis work.  My customers often expect specific commercial applications, either ANSYS or Abaqus.  I also work on a commercial FEA application (not one of the two preceding).

All that said, I guess I need to go back to bugs.  Any application (including FEA) will have bugs.  I have found them in every commercial FEA app I have used and I find them in CalculiX.  Use all of them with care.  The thing I like about CalculiX is that I can fix the problems that I find.

Regards,
Jeff

RE: Free Finite Element Program

sfb

try lisa, it's been around forever.

But I bet you'll prefer using calculix. Seems to work just like it says on the box.


Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: Free Finite Element Program

(OP)
Jeff,

The program runs on Windows 2000

Steve

RE: Free Finite Element Program

Jeff I d/led your install to XP home sp2 and it worked with no fudging. Thanks. Oh, sfb, try Z88 as well.

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: Free Finite Element Program

Thanks for the feedback Steve and Greg.  I hope it will be useful for you.  Don't hesitate to email about bugs.

It is tough to tell how much serious use the Windows version of CalculiX is getting, but there have been more than six downloads per day since 1.4 was released.  There have been quite a few engineers who have given feedback that suggest that they have been using it successfully.  The Linux version has been around for a long time and has had a lot of folks pounding on it with serious problems, while the Windows port has had only a few months now.  There are minimal code changes for the Windows port and none in the FEA application CCX.

If it will be useful, I can post some of my notes regarding the other open source applications I have evaluated.

Regards,
Jeff

RE: Free Finite Element Program

To steelforbrains,

You may try Cadre Pro 5. Somebody has recommended it to me in this forum too and you can use it for 50 runs free or buy it for like less than $400.00 unlimited adn for your solution it seems a good one because it is an FEA program. Try searching with search engine. Good luck.


RE: Free Finite Element Program

Thanks Phil.  I have used RISA 3D and I like the way it works but you can only save a model with 40 or less nodes.  I will try Cadre Pro, are there any limits on model size?

RE: Free Finite Element Program

I have not build real big models in my present evaluaton (I'm just using a 512 MB Laptop, 3.0 GHZ in my apartment) but I think there is no limit in size. The last thing I realized that did not suit one of my purpose is that it does not support evaluating torsion in shells. Seems excellent and quick doing beam element, even spheres, sheel plate but no twisting (I hope I was mistaken the last I tried it). Good luck.

Regards,

Phil

RE: Free Finite Element Program

Steelforbrains

CADRE has three FEA programs, check here for comparison:  http://cadreanalytic.com/compare.htm

If you don't need plates or dynamics the Lite or evaluation versions should be ok.  Also note that the evaluation version (free) doesn't have tension only or compression only members.  

None of these programs handle multiple load cases well, however.

Regards,
-Mike

RE: Free Finite Element Program

Most of the problems I come across are simple I-beam/angle/channel frame mezanines/support structures.  I need a program that I can quickly build a frame and apply my loads.

RE: Free Finite Element Program

I used CADRE for several projects and think it's a good program for the money ($142).  Since I typically have to design for 20 or more load cases I had to find a program better suited for running multiple combinations.

-Mike

RE: Free Finite Element Program

I also used Calculix - but was double careful to make as many sanity checks as possible to convince myself that results were ok. What was good about it was that it almost seamlessly integrated with FEMGV pre/post-processor (while I had a licence). I have a number of FE programs which I developed over time for my own purposes, but I would like to get hold of a free / cheap pre and postprocessor, preferably for Windows. Any suggestions?

RE: Free Finite Element Program

Bkal

Look at :-

GiD - http://gid.cimne.upc.es/index.html

and

Roshaz - http://www.roshaz.com (has seamless integration to Calculix)

The Calculix pre and post is closely based on the command line language of FEMGEN and FEMVIEW when they worked together, they then developed (seperately after ending their collaboration) into Cadfix and FEMGV respectively.

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