3-Dimensions Finite Element Programming

Click For Summary

Discussion Overview

The discussion revolves around the programming and visualization of finite element analysis (FEA) in three-dimensional objects. Participants explore options for creating custom software for displaying mesh and discretization without relying on expensive commercial software.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about programming solutions for visualizing finite element meshes, specifically seeking alternatives to established software like ANSYS and Nastran.
  • Another participant suggests that displaying nodes and elements can be approached as a programming problem, potentially using simple tools like Flash for 3D transformations.
  • There is a question regarding the distinction between pre-processing and visualization, with a participant expressing uncertainty about the two concepts.
  • A participant notes that modern FEA programs typically require a combination of programming languages and emphasizes the need for access to nodal and element data for effective visualization.
  • One suggestion is made to use Gmsh and Salomé combined with Code_Aster as a free alternative for FEA visualization, highlighting the learning opportunity it presents.
  • Another participant proposes that developing a simple finite element solver might be easier than focusing solely on visualization, mentioning the need for interpolation methods to display results effectively.
  • A free software option, Calculix, is mentioned as a potential resource for the participant's needs.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility and approach to developing custom visualization software for finite element analysis. There is no consensus on the best method or software to use, and the discussion remains unresolved regarding the optimal path forward.

Contextual Notes

Participants highlight limitations related to the complexity of finite element analysis and the need for specific data access for visualization. The discussion reflects varying levels of familiarity with FEA concepts and programming requirements.

optics.tech
Messages
79
Reaction score
1
Hi,

Does anyone know where I can get any programming for finite element in 3d object not calculation but for the display such as cad (e.g. meshing display)?

Also what software that can do above operation?

I mean, not ansys, nastran, algor, etc., but other that I can make it by myself by my own fe formulas.

Thanks

Huygen
 
Engineering news on Phys.org
Finite element is typically referred to as the application of said principles to solve engineering problems. If you simply want to display a set nodes, with the ability to zoom,rotate and pan, then you have a computer science, programming problem.

Something like this could be made diluted with something as simple as Flash. Most FE file inputs have element numbers with associated connected nodes. You then plot the nodes using 3D transformations to determine the associated 2D screen position and "draw" lines between them. You can then draw areas using bounded lines and shade them accordingly.

Can I ask why you would like to do this? Seems like an awful lot of work that people have already done for you.
 
Are you talking about actual pre-processing or just visualisation?
 
Hi,

Thank you for the reply.

Can I ask why you would like to do this? Seems like an awful lot of work that people have already done for you.
I already know that there are many finite element software(s) e.g. ansys, etc., but the price is very expensive for single person like me.

Are you talking about actual pre-processing or just visualisation?

I am not really sure what is the difference between pre-processing and visualization. But I am looking for not-too-expensive finite element software that when I give it an input manually it will display the correct picture right there should be.

For example, the companion cd rom from most of finite element oriented textbooks is some of finite element programming using vbasic, fortran, excel, c++, etc., however, cmiiw, it is used for the calculation not for the display such as mesh/discretization display.

Thanks

Huygen
 
Well you are asking for a lot. Modern FEA programs use a combiation of Fortran, C++, and other languages. A simple viewing program would require the ability to access all of the nodal/element information in order to display a nice color plot of the nodal solution. A picture does not appear without the needed data. Also, I am assuming that the "pretty picture" plot is what you are after but there are vector plots, element plots, and numerous others. Also, do you want to be able to produce a graph from the plot ?
 
Gmsh/salomé combined with Code_Aster is a free good alternative. Salomé-MECA even comes with a coupling with Code_Aster. That'll force you to learn a thing or two about FEA, I know it did with me :)
 
Quite honestly, it might be easier to develop an actual simple FE solver rather than the visualization. When you think about it, the finite element process is "simple" matrix algebra. Boundary conditions are enforced on the RHS, and much work is done in solve the extremely large, sparse matrix on the LHS.

However, for visualization, you'll need a way to interpolate results as well as display them. You are solving for a discrete set of points, yet you wish to see solid color bands. You need a way to interpolate results from points into an area.

Honestly, I would still look for some sort or trial or student version. Most of them can be gotten (legally even) for quite cheaply.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 10 ·
Replies
10
Views
6K