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
3
votes
2 answers

Is the linear system solver \ also multi threaded in Julia as in Matlab? And how to "multithread" it in Julia?

I am trying to compare speed and performance between Matlab and Julia. I am looking at a code that does topology optimization of a continuum structure subjected to a given load. The code I am looking at is the public code topopt88.m:…
3
votes
0 answers

How to speed up an N dimensional interval tree in python?

Consider the following problem: Given a set of n intervals and a set of m floating-point numbers, determine, for each floating-point number, the subset of intervals that contain the floating-point number. This problem has been addressed by…
f. c.
  • 1,095
  • 11
  • 26
3
votes
0 answers

Efficiently use Eigen for repeated sparse matrix assembly in nonlinear finite element code

I am trying to use Eigen to efficiently assemble a Stiffness matrix for non-linear finite element computations. From my finite element discretization I can exactly extract my sparsity pattern. Therefore I can just…
3
votes
2 answers

How to auto-generate mesh from .step file using GMSH or similar?

I need to produce simulation data for randomly generated cantilever beams, and save their maximum deflection given a load, and/or perform frequency-response analysis. To do this the body needs to be meshed as an FEM mesh. Hence, I would like to…
avgJoe
  • 832
  • 7
  • 24
3
votes
2 answers

is there a structural analysis library from python?

I want to find the maximum displacement in a 3-dimensional structural system I have the coordinates of the end points of the beams type of support support points material properties cross section information gravitation load I don't need a…
gokul gupta
  • 330
  • 4
  • 13
3
votes
1 answer

Matrix vector multiplication where the vector has been interpolated - Python

I have used the finite element method to approximate the laplace equation and thus have turned it into a matrix system AU = F where A is the stiffness vector and solved for U (not massively important for my question). I have now got my…
James
  • 395
  • 2
  • 8
  • 16
3
votes
0 answers

CGAL-Bindings (Python): Mesh from point cloud

Im trying to do a finite element analysis for the Aorta of a pacient and i have a cloud of 3d points : XYZ = array([[ 23.4929, 126.6431, 78.2083], [ 23.505 , 123.2618, 76.1998], [ 23.52 , 124.356 , 80.4145], …
3
votes
1 answer

Finite element analysis in Sage

Can one do finite element analysis in Sage? If so, is it static or dynamic? If not, can somebody suggest an alternative application? I've tried Impact, but it doesn't meet my needs. Matlab is an option but I'd rather not have to buy a license.
Justin R.
  • 23,435
  • 23
  • 108
  • 157
3
votes
0 answers

A Python library for solving some integro-differential equations?

I have a huge set of coupled nonlinear integro-partial differential equations. After a long while trying to simplify the equations and solve them at least semi-analytically I have come to conclude there has been left no way for me but an efficient…
owari
  • 369
  • 3
  • 14
3
votes
0 answers

Modeling gravity field with finite elements

Original question is here, but I think, here can be the people who knows sfepy and finite element method. Well, I want to model the vector gravity field, i.e. (in weak formulation) Here G is target vector field, rho is a density - value, which is…
Alexander Mihailov
  • 1,154
  • 7
  • 15
2
votes
2 answers

Finite Element Delphi library

Can someone point to me where I can find Finite Element Delphi library. Preferably opensource.
menjaraz
  • 7,551
  • 4
  • 41
  • 81
2
votes
1 answer

Python gekko line break in equation definition

I'm currently implementing the Galerkin-Method for finite Elements by hand and using python gekko to solve the resulting non-linear algebraic equation system. This creates no issues for small systems and works fine. As soon as the system becomes…
2
votes
0 answers

Is it possibile to optimize Plotly carpet rendering?

I am working on a plotter for Finite Element Method solutions. I decided to use the Plotly library because of the carpet plots. I have my data to plot and this is my result: Flow over NACA0012 Each element is represented as a Carpet, and for each…
2
votes
1 answer

Lack of 'convergence' in MATLAB's bvp5c

I am trying to solve the following set of 2nd order non-linear and coupled ODEs: 0 = ² ℎ″() − ℎ′() + ² ()² [1−ℎ()], 0 = ² ″() + '() − ² () [()² + ()² − 2], 0 = ² ″() + ′() − (1/2) () [1−ℎ()]² − ² () [()² + ()² − 2]. (I'm sorry…
2
votes
1 answer

Whas is wrong with my stiffness matrix calculation for a hexahedron element? I'm using finite element method. MWE in Matlab

For my own interest I'm developing a finite element method (FEM) code for solving small problem. I already have working codes for 2D elements, trias and quadriliterals. But I can't make any sense of the stiffness matrix for a hexahedron element. I…
Johan
  • 83
  • 5
1
2
3
15 16