# \#finite-element

**URL:** https://discourse.julialang.org/tag/finite-element/431.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Ferrite.jl release announcements](https://discourse.julialang.org/t/ferrite-jl-release-announcements/93157)

<div class="topic-metadata">

**Author:** [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Replies:** 24\
**Last updated:** [September 7, 2026, 10:31am UTC](https://discourse.julialang.org/t/ferrite-jl-release-announcements/93157 "2026-09-07T10:31:13Z")

</div>

I would like to start this thread for Ferrite.jl release announcements. However, since this package have not been properly announced in this forum to begin with, so I guess I should do that first. Ferrite.jl: A finite e…

---

## [\[ANN\] LowLevelFEM.jl is now published in JOSS](https://discourse.julialang.org/t/ann-lowlevelfem-jl-is-now-published-in-joss/138524)

<div class="topic-metadata">

**Author:** [@perebalazs](https://discourse.julialang.org/u/perebalazs)\
**Replies:** 0\
**Last updated:** [July 29, 2026, 9:43am UTC](https://discourse.julialang.org/t/ann-lowlevelfem-jl-is-now-published-in-joss/138524 "2026-07-29T09:43:01Z")

</div>

I’m happy to share that LowLevelFEM.jl has been published in the Journal of Open Source Software (JOSS). LowLevelFEM.jl is a lightweight finite element toolbox written in Julia for education, research, and rapid prototy…

---

## [Gridap use for finite element modelling for electrochemical electrode modelling](https://discourse.julialang.org/t/gridap-use-for-finite-element-modelling-for-electrochemical-electrode-modelling/135377)

<div class="topic-metadata">

**Author:** [@algoking](https://discourse.julialang.org/u/algoking)\
**Replies:** 1\
**Last updated:** [June 17, 2026, 12:35pm UTC](https://discourse.julialang.org/t/gridap-use-for-finite-element-modelling-for-electrochemical-electrode-modelling/135377 "2026-06-17T12:35:11Z")

</div>

Hi everyone, I am currently transitioning our lab’s electrochemical modeling workflow from COMSOL to Gridap.jl. My goal is to move away from proprietary licenses and leverage the flexibility of the Julia ecosystem. The…

---

## [Stokes Operator is Singular After Applying Dirichlet Boundary Conditions](https://discourse.julialang.org/t/stokes-operator-is-singular-after-applying-dirichlet-boundary-conditions/135278)

<div class="topic-metadata">

**Author:** [@noetheriankoala](https://discourse.julialang.org/u/noetheriankoala)\
**Replies:** 7\
**Last updated:** [January 27, 2026, 5:53pm UTC](https://discourse.julialang.org/t/stokes-operator-is-singular-after-applying-dirichlet-boundary-conditions/135278 "2026-01-27T17:53:11Z")

</div>

Hello! I am trying to implement a simple incompressible Navier-Stokes simulation. I have a mesh consisting of a cylinder with the Stanford bunny excised from its center. When I apply Drichlet boundary conditions, the Sto…

---

## [\[ANN\] LowLevelFEM.jl – Engineering-oriented FEM in pure Julia](https://discourse.julialang.org/t/ann-lowlevelfem-jl-engineering-oriented-fem-in-pure-julia/133561)

<div class="topic-metadata">

**Author:** [@perebalazs](https://discourse.julialang.org/u/perebalazs)\
**Replies:** 0\
**Last updated:** [October 30, 2025, 6:12pm UTC](https://discourse.julialang.org/t/ann-lowlevelfem-jl-engineering-oriented-fem-in-pure-julia/133561 "2025-10-30T18:12:40Z")

</div>

LowLevelFEM.jl is a lightweight finite element toolbox written entirely in Julia. It focuses on engineering-oriented workflows — boundary conditions, meshing with Gmsh, mechanical and thermo-mechanical analyses, and di…

---

## [Unit tangent vector in Gridap.jl](https://discourse.julialang.org/t/unit-tangent-vector-in-gridap-jl/108181)

<div class="topic-metadata">

**Author:** [@andy45](https://discourse.julialang.org/u/andy45)\
**Replies:** 4\
**Last updated:** [January 7, 2025, 8:38am UTC](https://discourse.julialang.org/t/unit-tangent-vector-in-gridap-jl/108181 "2025-01-07T08:38:16Z")

</div>

Hi. I am trying to solve two-dimensional Stokes-Darcy equations using Gridap.jl. One of the terms in a weak formulation has the form {\\int\_{I}\\lambda\\left(u\\cdot\\tau\\right)\\left(v\\cdot\\tau\\right)ds} where \\tau is a unit …

---

## [Compliance on displacement control model](https://discourse.julialang.org/t/compliance-on-displacement-control-model/120934)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 6:49pm UTC](https://discourse.julialang.org/t/compliance-on-displacement-control-model/120934 "2024-10-07T18:49:28Z")

</div>

Hi, I have a domain with applied displacement BC. To find the compliance I read this in a paper “due to equilibrium requirements and the use of displacement control, the components of the external force vector, f F , …

---

## [Coupled, non-linear, time dependant system of PDE, finite element method, gridap](https://discourse.julialang.org/t/coupled-non-linear-time-dependant-system-of-pde-finite-element-method-gridap/119271)

<div class="topic-metadata">

**Author:** [@karthikeyan98pdy](https://discourse.julialang.org/u/karthikeyan98pdy)\
**Replies:** 6\
**Last updated:** [September 12, 2024, 8:01am UTC](https://discourse.julialang.org/t/coupled-non-linear-time-dependant-system-of-pde-finite-element-method-gridap/119271 "2024-09-12T08:01:54Z")

</div>

New to Julia gridap Personal context I am a phd student who works in numerical characterisation of electrochemical performance of fuel cells/electrolysis cells. This involves resolution of a system of coupled, non line…

---

## [\[ANN\] Solution of linear finite element problems with domain decomposition](https://discourse.julialang.org/t/ann-solution-of-linear-finite-element-problems-with-domain-decomposition/118346)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [August 18, 2024, 10:53pm UTC](https://discourse.julialang.org/t/ann-solution-of-linear-finite-element-problems-with-domain-decomposition/118346 "2024-08-18T22:53:00Z")

</div>

GitHub - PetrKryslUCSD/FinEtoolsDDMethods.jl has now reached the stage when it becomes possible to use it, either in serial fashion or with MPI parallelization. Feedback and suggestions will be appreciated.

---

## [Adjoint vector boundary condition](https://discourse.julialang.org/t/adjoint-vector-boundary-condition/118149)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 1\
**Last updated:** [August 15, 2024, 7:31pm UTC](https://discourse.julialang.org/t/adjoint-vector-boundary-condition/118149 "2024-08-15T19:31:48Z")

</div>

Hi, I am using Gridap to find adjoint vectors in finite element space. Assume that I have a beam with applied displacement as boundary condition on a line. In this case I got discontinuities in values of adjoint vectors.…

---

## [SingularException(0) error in affineFEoperator](https://discourse.julialang.org/t/singularexception-0-error-in-affinefeoperator/117957)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [August 8, 2024, 4:04pm UTC](https://discourse.julialang.org/t/singularexception-0-error-in-affinefeoperator/117957 "2024-08-08T16:04:06Z")

</div>

Hi I am using gridap for topology optimisation based on gridap tutorial 18. Based on the tutorial there are two domains for problem one for design variable and one another for entire domain. I did the same thing and i go…

---

## [2D examples of DistMesh.jl or other simple mesh generator?](https://discourse.julialang.org/t/2d-examples-of-distmesh-jl-or-other-simple-mesh-generator/114404)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 7:02pm UTC](https://discourse.julialang.org/t/2d-examples-of-distmesh-jl-or-other-simple-mesh-generator/114404 "2024-05-17T19:02:16Z")

</div>

Hi everyone. I am looking to generate some simple 2D meshes (triangles filling a big rectangle with some smaller square holes). I used for years the DistMesh for Matlab. Now I am trying to use the Julia port. There are …

---

## [Extracting neumann boundary in Gridap - discrepancy](https://discourse.julialang.org/t/extracting-neumann-boundary-in-gridap-discrepancy/114179)

<div class="topic-metadata">

**Author:** [@DnBgk](https://discourse.julialang.org/u/DnBgk)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 10:12pm UTC](https://discourse.julialang.org/t/extracting-neumann-boundary-in-gridap-discrepancy/114179 "2024-05-12T22:12:54Z")

</div>

So I want to model the Neumann-to-Dirichlet map in a Poisson like equation. If I can give it my neumann boundary right away is there an implemented method that also extracts the neumann boundary values? If no. I’m wond…

---

## [Anyone has a starter guide on finite element analysis?](https://discourse.julialang.org/t/anyone-has-a-starter-guide-on-finite-element-analysis/112894)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 5\
**Last updated:** [April 29, 2024, 12:22pm UTC](https://discourse.julialang.org/t/anyone-has-a-starter-guide-on-finite-element-analysis/112894 "2024-04-29T12:22:45Z")

</div>

After exploring several ideas, I think the idea I’m going to implement would be to simulate air pressure in a musical instrument or vocal tract to synthesize voice. I found finite-element method to be suitable for this a…

---

## [How to define some predefined values to some part of the domain in gridap](https://discourse.julialang.org/t/how-to-define-some-predefined-values-to-some-part-of-the-domain-in-gridap/113254)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [April 19, 2024, 9:38pm UTC](https://discourse.julialang.org/t/how-to-define-some-predefined-values-to-some-part-of-the-domain-in-gridap/113254 "2024-04-19T21:38:56Z")

</div>

Hi, I have a domain and I want to solve the pde to get the displacement and phase field. meanwhile I want to set the value of phase field in 3 surfaces near the supports and load line as 1 (s=1) I wrote this in julia u…

---

## [Modeling deformation in Julia](https://discourse.julialang.org/t/modeling-deformation-in-julia/111941)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 4\
**Last updated:** [March 23, 2024, 11:58pm UTC](https://discourse.julialang.org/t/modeling-deformation-in-julia/111941 "2024-03-23T23:58:50Z")

</div>

Hi everyone, a general question here about Finite elements in Julia. I am trying to do something rather “simple”. Imaging a large body (3D), fully constrained. In side there is a fault/fracture/weak zone inside. There …

---

## [Implementing Laplacian operator acting on a 2D array](https://discourse.julialang.org/t/implementing-laplacian-operator-acting-on-a-2d-array/111615)

<div class="topic-metadata">

**Author:** [@matt1](https://discourse.julialang.org/u/matt1)\
**Replies:** 6\
**Last updated:** [March 18, 2024, 5:41pm UTC](https://discourse.julialang.org/t/implementing-laplacian-operator-acting-on-a-2d-array/111615 "2024-03-18T17:41:03Z")

</div>

Hello, I’m interested in implementing the laplacian operator \\nabla^2=\\partial\_x^2+\\partial\_y^2, such that I can apply it to a matrix A\_{ij} and obtain the corresponding matrix: B\_{ij}=(\\nabla^2A)\_{i,j}. For example, th…

---

## [Shape optimization in FEM](https://discourse.julialang.org/t/shape-optimization-in-fem/107635)

<div class="topic-metadata">

**Author:** [@rguerrab](https://discourse.julialang.org/u/rguerrab)\
**Replies:** 10\
**Last updated:** [February 16, 2024, 10:10pm UTC](https://discourse.julialang.org/t/shape-optimization-in-fem/107635 "2024-02-16T22:10:25Z")

</div>

Hi there, I have a feeling this may have been asked before but I can’t seem to find an answer online. The general question is: how can I compute the gradient of a function where the function depends on the solution of …

---

## [Physics-informed training of a surrogate model involving finite element analysis](https://discourse.julialang.org/t/physics-informed-training-of-a-surrogate-model-involving-finite-element-analysis/103735)

<div class="topic-metadata">

**Author:** [@touste](https://discourse.julialang.org/u/touste)\
**Replies:** 4\
**Last updated:** [February 2, 2024, 10:29pm UTC](https://discourse.julialang.org/t/physics-informed-training-of-a-surrogate-model-involving-finite-element-analysis/103735 "2024-02-02T22:29:53Z")

</div>

Hi all, I’m looking at ways to accelerate mechanical simulations for endovascular applications. We published a paper recently where we present EndoBeams.jl, a finite element framework for beam elements in contact with a…

---

## [FEniCS Wrapper works with FEniCSx?](https://discourse.julialang.org/t/fenics-wrapper-works-with-fenicsx/106376)

<div class="topic-metadata">

**Author:** [@emmanuellfc](https://discourse.julialang.org/u/emmanuellfc)\
**Replies:** 1\
**Last updated:** [November 18, 2023, 6:15pm UTC](https://discourse.julialang.org/t/fenics-wrapper-works-with-fenicsx/106376 "2023-11-18T18:15:05Z")

</div>

Hello, I’m trying to use the wrapper FEniCS, but I have some questions, the chip of my computer is an M2 model and as far as I know, there are some issues installing the FEniCS legacy version on that kind of architecture…

---

## [How to efficiently differentiate backslash operator for sparse matrix?](https://discourse.julialang.org/t/how-to-efficiently-differentiate-backslash-operator-for-sparse-matrix/43778)

<div class="topic-metadata">

**Author:** [@Liang\_Chen](https://discourse.julialang.org/u/Liang_Chen)\
**Replies:** 23\
**Last updated:** [May 1, 2023, 4:21pm UTC](https://discourse.julialang.org/t/how-to-efficiently-differentiate-backslash-operator-for-sparse-matrix/43778 "2023-05-01T16:21:24Z")

</div>

My problem is to calculate the gradient, dL(u)/dp, where L() is a loss function which takes a vector u as the input and outputs a scalar value. The vector p are parameters that defines a large sparse matrix K, such that K…

---

## [Favorite lectures on the Finite Element Method?](https://discourse.julialang.org/t/favorite-lectures-on-the-finite-element-method/83211)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 3:22pm UTC](https://discourse.julialang.org/t/favorite-lectures-on-the-finite-element-method/83211 "2022-06-29T15:22:12Z")

</div>

Do you have a favorite set of lectures on the Finite Element Method? Possibly a set of lectures with a heavy list of programming exercises that encourages students to build all the building blocks of a modern software li…

---

## [\[ANN\] Flywheel: 1-D finite element tool for gyroscopic systems](https://discourse.julialang.org/t/ann-flywheel-1-d-finite-element-tool-for-gyroscopic-systems/57662)

<div class="topic-metadata">

**Author:** [@LysandrosAn](https://discourse.julialang.org/u/LysandrosAn)\
**Replies:** 0\
**Last updated:** [March 21, 2021, 4:15pm UTC](https://discourse.julialang.org/t/ann-flywheel-1-d-finite-element-tool-for-gyroscopic-systems/57662 "2021-03-21T16:15:18Z")

</div>

Hello together, this announces Flywheel on GitHub, a 1-D finite element tool for simulating gyroscopic equipment, such as satellite reaction wheels, laboratory centrifuges and kinetic energy storage devices. Feel free t…

---

## [\[ANN\] Gridap.jl 0.15 comes with major enhancements!](https://discourse.julialang.org/t/ann-gridap-jl-0-15-comes-with-major-enhancements/51971)

<div class="topic-metadata">

**Author:** [@fverdugo](https://discourse.julialang.org/u/fverdugo)\
**Replies:** 7\
**Last updated:** [January 6, 2021, 10:41pm UTC](https://discourse.julialang.org/t/ann-gridap-jl-0-15-comes-with-major-enhancements/51971 "2021-01-06T22:41:06Z")

</div>

After months of work, the Gridap developers are happy to announce the Gridap v0.15 release :rocket:! This new version comes with major improvements in the user API (and also in the library internals). The most exciting …

---

## [\[ANN\] NodesAndModes.jl: orthogonal polynomials and interpolation nodes on common reference elements](https://discourse.julialang.org/t/ann-nodesandmodes-jl-orthogonal-polynomials-and-interpolation-nodes-on-common-reference-elements/51165)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 7\
**Last updated:** [December 12, 2020, 4:17pm UTC](https://discourse.julialang.org/t/ann-nodesandmodes-jl-orthogonal-polynomials-and-interpolation-nodes-on-common-reference-elements/51165 "2020-12-12T16:17:02Z")

</div>

NodesAndModes.jl is a package to compute “nodes” (interpolation and quadrature points) and “modes” (orthogonal polynomials) on various reference elements for use in high order finite element or discontinuous Galerkin met…

---

## [ANN: GXBeam.jl](https://discourse.julialang.org/t/ann-gxbeam-jl/46591)

<div class="topic-metadata">

**Author:** [@taylormcd](https://discourse.julialang.org/u/taylormcd)\
**Replies:** 16\
**Last updated:** [September 15, 2020, 9:39pm UTC](https://discourse.julialang.org/t/ann-gxbeam-jl/46591 "2020-09-15T21:39:10Z")

</div>

Announcing GXBeam.jl This package provides an thoroughly verified and validated implementation of geometrically exact beam theory written in pure Julia. It’s also extremely fast, rivaling Fortran implementations of geo…

---

## [FreeCAD with Julia](https://discourse.julialang.org/t/freecad-with-julia/44966)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 10\
**Last updated:** [August 15, 2020, 4:16pm UTC](https://discourse.julialang.org/t/freecad-with-julia/44966 "2020-08-15T16:16:11Z")

</div>

Looks like the FreeCAD community has taken an interest in supporting Julia computations: https://forum.freecadweb.org/viewtopic.php?f=8&t=42400

---

## [Announcing Elfel.jl: finite element programming the Julian way](https://discourse.julialang.org/t/announcing-elfel-jl-finite-element-programming-the-julian-way/42179)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 1\
**Last updated:** [June 28, 2020, 9:05pm UTC](https://discourse.julialang.org/t/announcing-elfel-jl-finite-element-programming-the-julian-way/42179 "2020-06-28T21:05:01Z")

</div>

The package is intended to facilitate construction of mixed methods. The library provides low-level building blocks rather than prepackaged procedures. In addition to the usual nodal bases, edge, face, and cell basis fun…
