Writing Finite Element Code for Structural Analysis

Click For Summary
SUMMARY

This discussion centers on the development of a 3D finite element code for structural analysis, highlighting the complexities involved in assembling the global stiffness matrix and applying boundary conditions. The author, Hassan, utilizes various boundary conditions including Dirichlet, Neumann, and periodic conditions, and employs a matrix assembly technique focused on unknowns to manage complexity. The software is developed in Java, leveraging the Java3D library for visualization, despite some limitations in solver performance. The conversation emphasizes the common challenges faced in finite element analysis coding and the importance of sharing experiences for improvement.

PREREQUISITES
  • Understanding of finite element analysis (FEA) principles
  • Familiarity with boundary conditions in structural analysis (Dirichlet, Neumann)
  • Proficiency in Java programming language
  • Knowledge of matrix assembly techniques in computational mechanics
NEXT STEPS
  • Research advanced matrix assembly techniques for finite element solvers
  • Explore optimization strategies for Java in numerical computations
  • Learn about different boundary condition implementations in FEA
  • Investigate visualization libraries compatible with Java for enhanced FEA output
USEFUL FOR

Structural engineers, software developers working on finite element analysis, and researchers interested in computational mechanics will benefit from this discussion.

Hassan2
Messages
422
Reaction score
5
Structural Analysis-Writing Finite Element Code,

Dear all,

I have written a code ( in fact it is a software) for 3D finite element structural analysis. While developing the code I found that assembling global stiffness matrix is quite complicated. The complication is even more when we want to reduce the degree of freedom of some of the nodes. Also for giving boundary condition, when we set one or two components of deformation rather that all the three. Now these parts of my code has become so complicated even to myself.
My code works well now but I am wondering if the complexity is usual or if I am doing the job in an ineffective way. Since I have not discussed my methods with anyone else, I thought it would be helpful if I post the problem here. Perhaps some of you have experiences to share.

Regards,

Hassan
 
Engineering news on Phys.org
Dear Hassan, I also developed finite element Solver and automatic mesh generation program in Java, but for 2D only. I getting accurate result for elliptical, parabolic and hyperbolic governing equations. Your description is short.
Please describe complete problem.
Could you give information of following questions?
1. What type of boundary condition you applied: Dirichlet or Neumann?
2. which technique, you are using for elimination of boundary nodes?
3. which language, you used for software?
 
Thanks mdn for the reply.

The post is almost two years old and the problems are solved now. For your information the answer to your questions are the following:

1. I use a variety of boundary conditions. In fact they are not limited to the boundary. I may have Dirichlet/ Neumann/Periodic boundary conditions, or "sliders". By sliders, I mean a certain component of the displacement at a defined region is fixed ( usually to zero).

2. I assemble the matrix for the unknowns only. this may make the matrix construction a bit complicated though but I am satisfied with it.

3. I use Java programming language. The language may not be advantageous for the solvers but since I have also developed the visualization software and that is easier in Java using Java3D library, I keep using Java for the solver too.

Thanks again.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
3
Views
2K