Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FEA / FEM coding

Status
Not open for further replies.

peto24ap

Structural
Oct 7, 2014
14
0
0
SK
Hi all,

I am looking for some textbook, lecture notes or online resource about how to efficiently organize FEM code (from the programming point of view).
I have already wrote some small FEM codes for specific problems, but this time I need to make it bigger (coupling different element types - 1D, 2D, 3D, different solvers for built in material and geometric nonlinearity, and so on..). I am not looking for theory of FEM, just some guideline, how to make the structure of the code as general, clear and transparent, as possible.

Any advice will be greatlly apreciated.

Thank you
 
Replies continue below

Recommended for you

I am not sure if this is significant, but have you decided which programming language are you going to use? When I was developing the FE codes (last century), I used Fortran 77, and I would imagine that with all the OO etc, the structure would be much different now.

 
Thank you for you suggestions gentleman,

bkal: until present day I was using Matlab, but my current work deals with form finding, nonlinear analysis and structural optimization of shell and tensile membrane structures. I need quiet strong pre-processor for that, so I decided to build a Python application for a Rhinoceros CAD software. My work until today was relatively easy, since Matlab has many useful options and procedures already build in. With Python I have to start from the ground. Had you been developing FE codes in a commercial level ? What was your specialization ?

ShellsPlatesMeshes: Thank you for your suggestion. I saw this book couple of months ago somewhere on the web, but I was affraid that the stuff in there will be more mathematical then practical, and pretty much advanced for my relativelly common problems. I was affraid to spend 200 dollars for something I will not be able to use. Do you have some experience with the book ?

avscorreia: Thank you. It looks like a good beggining !
 
peto24ap: The very reason why I suggested that book is that the CD-ROM contains really working codes for the FEA of shells. You just copy them to you hard disk, compile/link into an executable (using any C/C++ compiler, like MSVC 2008 Express Edition, which is downloadable from the Microsoft website for free). It takes just 2-3 minutes. Of course, the codes are large and rather complex; but so is the problem itself: FEA of shells. I am not aware of any other book that would contain working FEA codes for arbitrarily complex shells.
 
I was doing my programming in late 80-es, and I was at Swansea at the time, so influenced by authors such as Zienkiewicz, Owen and Hinton, but also Bathe and Wilson. In my case, the main area of interest was development of material constitutive models and I used a commercial, off-the-shelf pre- and post-processor. Because of that, Fortran seemed like a good choice for a number crunching application.
 
Status
Not open for further replies.
Back
Top