Books‎ > ‎All Books‎ > ‎

Programming the Finite Element Method in Java and Android

by Dr. Bryan J. Mac Donald

This book provides an introduction to programming the finite element method in Java for students, researchers and engineers who are reasonably familiar with the finite element method and want to learn how to write their own finite element code using Java.
This book is written as an introductory text and it is assumed that the reader has little or no knowledge of object‐oriented programming or Java. By concentrating on line elements, specifically structural trusses, it is possible to make the code very simple and relatively easy to understand. The philosophy of the book is to teach the reader how to write a very simple object‐oriented finite element code in Java, with the understanding that once the reader has these skills they should easily be able to extend the code to more complex problems.
As newcomers to programming find dealing with command line executed software frustrating and challenging; the Android operating system is used to develop a graphical user interface to allow the reader to interact with their Java code. Android provides a relatively simple (and very well supported) platform for coding a user interface and means that the finished application will work on any Android device (smartphone, tablet, etc.) The book is supported by a webpage which contains the source code for the Android app and other helpful material. The Android app that is detailed in the book is also available for download from the Google Play store.

About the Author

Dr. Bryan J. Mac Donald is senior lecturer in engineering at Dublin City University, Ireland, where he teaches on the undergraduate and postgraduate programmes in mechanical and biomedical engineering. He has been teaching finite element analysis to trainee engineers for over 15 years. He is the author of the highly acclaimed finite element analysis textbook Practical Stress Analysis with Finite Elements which is also published by Glasnevin Publishing. His research interests include computational mechanics, design and analysis of medical devices, computational modelling of the in-service behaviour of implantable medical devices and computational modelling of complex metal forming operations.

Book Details:

Price:  €60.00 / STG £50.00 / $80.00

Size: 246x189mm

Binding: PB

ISBN-13: 978‐1‐908689-18-4

Pages: 300

Release date: 3rd June 2013

Buy Print Book: Click here Click here

The Book Depository: Click here

Contents (Outline)

Part 1: Preliminaries
Chapter 1: Introduction,Chapter 2: The Finite Element Method, Chapter 3: Introduction to Java, Chapter 4: Setting up your development environment, Chapter 5: Structure of the Finite Element Code
Part 2: Java Finite Element Code
Chapter 6: The FeConstants Class, Chapter 7: Nodes, Chapter 8: Elements, Chapter 9: The Assembly Class, Chapter 10: The TrussSolver Class, Chapter 11: the TrussPost Class
Part 3: Android GUI
Chapter 12: Getting Started with Android, Chapter 13: The addNode() Method, Chapter 14: The deleteNode() Method, Chapter 15: The addElement() Method, Chapter 16: The deleteElement() Method, Chapter 17: The addConstraint() Method, Chapter 18: The deleteConstraint() Method, Chapter 19: The addForce() Method, Chapter 20: The deleteForce() Method, Chapter 21: The calculate() Method, Chapter 22: The printTrussResults() Method, Chapter 23: Testing the Simple Truss App, Chapter 24: Conclusion
Setting up an AVD - Troubleshooting Eclipse - Full Code Listings


Download the Simple Truss app from Google Play:
Get it on Google Play

Download the source code for the book:
Click on the link below to download the source code used in the book. The zip file is password protected - in order to open the file you will need to enter a case sensitive password. The password is the first word on page 134 of the book.
Helen Glasnevin,
3 Jun 2013, 17:49