Questions tagged [finite-element-analysis]

Anything related to finite element analysis or finite element methods (FEMs), i.e. a number of advanced numerical analysis techniques for finding approximate solutions of differential equations. FEMs are heavily used in many branches of engineering, for example to simplify the design phase of a project.

The methods transform the differential equation into a weak form over the problem domain, which is then discretized by a set of elements (e.g. a triangle-shaped plate or quadrilateral shells). This allows for a per-element approximation of the solution and an assembly of global quantities by local quadrature rules, resulting in a possibly nonlinear system of equations. For large problem statements, finding a solution might require parallel computing strategies.

Many areas of engineering profit from these techniques, e.g. solid and structural mechanics on various time- and size-scales, electrical field theory or diffusion problems, and there are plenty of (free) software solutions available. In scientific computing, users regularly need to extend the method by custom element formulations or new solution procedures, which is often done in fortran, c++ or python.

See also the Wikipedia page on FEMs.

235 questions
2
votes
1 answer

Beginner Finite Elemente Code does not solve equation properly

I am trying to write the code for solving the extremely difficult differential equation: x' = 1 with the finite element method. As far as I understood, I can obtain the solution u as with the basis functions phi_i(x), while I can obtain the u_i…
Luca Thiede
  • 3,229
  • 4
  • 21
  • 32
2
votes
1 answer

Surface to Tetrahedral Mesh

Does anybody know a way to generate a tetrahedral mesh from the surface of a geometrc object? I only got 1D and 2D elements (nodes, lines, triangles) in 3D space and want to generate tetrahedrons out of it. I know that it's not always possible, but…
Mario
  • 214
  • 2
  • 10
2
votes
1 answer

Program to build adaptive mesh (triangles in 2D and tetrahedron in 3D) for Finite Element Method in Fortran

I'm writting a Fotran code of Finite Elements Method and I need some program to generate adaptive meshes inside my program (that is: without read/write input/output files). This meshes are to calculate aposteriori errors. I tried to use triangle…
user106306
  • 315
  • 2
  • 10
2
votes
1 answer

Is it possible to import material from material library in Abaqus CAE using scripts?

I'm working on Abaqus 6.14 plugin that would help me in my Engineer's Thesis, which I'm writing in Python. According to Abaqus scripting reference guide it is possible to import materials from Output Databases (*.odb files) by calling: from abaqus…
user7346816
2
votes
1 answer

solving a singular matrix

I am trying to write a little unwrapper for meshes. This uses a finite-element-method to solve for minimal linear stress between flattened and the raw surface. At the moment there are some vertices pinned to get a result. Without this the triangles…
Lo L
  • 21
  • 3
2
votes
1 answer

Node indexing from coordinates

I'm working in a FEA (Finite Element Analysis) procedure inside Rhino/Grasshopper using C#. I have lines(FDs) and mesh triangular faces (NFDs) as inputs, each one with their nodes coordinates. I'm trying to get these coordinates and resume them up…
2
votes
1 answer

How to make a good mesh in a biologically accurate model with very small domains

I have been trying to make a biologically accurate 2D spatial model of tissue layers, where different physiological processes happen. This includes mainly chemical reactions, diffusion and fluxes over boundaries. I am making this model in COMSOL…
Dandelion
  • 23
  • 4
2
votes
1 answer

Adaptive mesh refinement - Python

i'm currently incredibly stuck on what isn't working in my code and have been staring at it for hours. I have created some functions to approximate the solution to the laplace equation adaptively using the finite element method then estimate it's…
James
  • 395
  • 2
  • 8
  • 16
2
votes
1 answer

Automated Design in CAD, Analysis in FEA, and Optimization

I would like to optimize a design by having an optimizer make changes to a CAD file, which is then analyzed in FEM, and the results fed back into the optimizer to make changes on the design based on the FEM, until the solution converges to an…
2
votes
1 answer

Solidworks deformation before yield point

I'm running a solidworks drop test simulation and I'm having some trouble making sense of the results. The idea is basically a hollow shell made of aluminum that will impact the ground at 5 m/s. It is carrying some weight inside which I was unsure…
Elbimio
  • 1,041
  • 2
  • 10
  • 25
2
votes
0 answers

Find optimal position of a node under constraints - Algorithm

I want to move the node at the center to a position so all triangle angles are closer to 60 degrees. I am thinking of calculating the standard deviation of angles for each triangle and try to minimize it. Is there any other way?
2
votes
2 answers

Freefem++: Solving poisson equation with numerical function

I am using Freefem++ to solve the poisson equation Grad^2 u(x,y,z) = -f(x,y,z) It works well when I have an analytical expression for f, but now I have an f numerically defined (i.e. a set of data defined on a mesh) and I am wondering if I can still…
DJames
  • 571
  • 3
  • 17
2
votes
1 answer

How can I find all points of a given triangle for a refined triangulation in matplotlib?

To give you some background information (If this doesen't interest you at all you may skip the whole next paragraph): I am working on my thesis on building a 2D-FEM solver for the poisson equation from "scratch". The basic idea is to divide an area…
2
votes
1 answer

Raytracing via diffusion algorithm

Many certain resources about raytracing tells about: "shoot rays, find the first obstacle to cut it" "shoot secondary rays..." "or, do it reverse and approximate/interpolate" I didnt see any algortihm that uses a diffusion algorithm. Lets assume a…
huseyin tugrul buyukisik
  • 11,469
  • 4
  • 45
  • 97
2
votes
2 answers

Using 10-node tetrahedron, is strain continuous between neighbouing tetrahedons?

I'm trying to implementing a Finite Element Analysis algorithm. I solve K u = f to get the displacement u, and then calculate strain with u, then calculate the stress. Finally, I use the stress to calculate the Von Mises Stress, and visualize this.…
Yue Xie
  • 23
  • 3