# Latest

**URL:** https://getfem.discourse.group/latest.md

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

---

## [Welcome to GetFEM](https://getfem.discourse.group/t/welcome-to-getfem/7)

<div class="topic-metadata">

**Author:** [@system](https://getfem.discourse.group/u/system)\
**Replies:** 0\
**Last updated:** [October 10, 2022, 7:15am UTC](https://getfem.discourse.group/t/welcome-to-getfem/7 "2022-10-10T07:15:57Z")

</div>

Welcome to the GetFEM discourse group! This is the perfect place to discuss all things related to the software, whether you’re a user or a developer. Our community is dedicated to fostering collaboration and sharing know…

---

## [GPU acceleration in GetFEM](https://getfem.discourse.group/t/gpu-acceleration-in-getfem/121)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 2\
**Last updated:** [September 21, 2026, 8:22am UTC](https://getfem.discourse.group/t/gpu-acceleration-in-getfem/121 "2026-09-21T08:22:18Z")

</div>

Hi everyone, I would like to know if anyone has already successfully run GetFEM on a GPU, or integrated GetFEM with a GPU-based computing framework. My goal is to accelerate computationally intensive FEM simulations by…

---

## [Examples of 1D problems in GetFEM](https://getfem.discourse.group/t/examples-of-1d-problems-in-getfem/118)

<div class="topic-metadata">

**Author:** [@Francesco](https://getfem.discourse.group/u/Francesco)\
**Replies:** 1\
**Last updated:** [June 8, 2026, 9:04pm UTC](https://getfem.discourse.group/t/examples-of-1d-problems-in-getfem/118 "2026-06-08T21:04:24Z")

</div>

I would like to simulate a 1D nonlinear ODE on an interval, with Dirichlet boundary conditions. Is it possible to do this in GetFEM, using the classical GWFL? How to visualize the solution, since exporting VTU output fi…

---

## [Rigid bodies and point loads](https://getfem.discourse.group/t/rigid-bodies-and-point-loads/116)

<div class="topic-metadata">

**Author:** [@Francesco](https://getfem.discourse.group/u/Francesco)\
**Replies:** 1\
**Last updated:** [April 24, 2026, 9:04am UTC](https://getfem.discourse.group/t/rigid-bodies-and-point-loads/116 "2026-04-24T09:04:12Z")

</div>

Hi all, Are there any quick workarounds to model situations where contact occurs between a slave rigid body (say, a rigid ring) and a master deformable/rigid body, but using the user’s own solver instead of GetFEM pre…

---

## [Convexes in mesh.set\_regions() and mim.id\_nodes()](https://getfem.discourse.group/t/convexes-in-mesh-set-regions-and-mim-id-nodes/99)

<div class="topic-metadata">

**Author:** [@lorenzo.iron](https://getfem.discourse.group/u/lorenzo.iron)\
**Replies:** 4\
**Last updated:** [April 22, 2026, 1:05pm UTC](https://getfem.discourse.group/t/convexes-in-mesh-set-regions-and-mim-id-nodes/99 "2026-04-22T13:05:24Z")

</div>

Hello, in the user-guide of mesh.set\_regions() it is written “If a vector is provided (or a one row matrix) the region will represent the corresponding set of convex.” but it seems not accepted. For example if I provide…

---

## [Request for guidance on learning fluid-structure interaction (FSI) implementation with GetFEM](https://getfem.discourse.group/t/request-for-guidance-on-learning-fluid-structure-interaction-fsi-implementation-with-getfem/102)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 10:32am UTC](https://getfem.discourse.group/t/request-for-guidance-on-learning-fluid-structure-interaction-fsi-implementation-with-getfem/102 "2026-03-24T10:32:19Z")

</div>

Dear community, I hope you are all doing well. I am currently trying to learn how to implement fluid-structure interaction (FSI) problems using GetFEM. While I have found some examples and documentation related to soli…

---

## [Need help to install both C++ and python version of GetFem to use HHO](https://getfem.discourse.group/t/need-help-to-install-both-c-and-python-version-of-getfem-to-use-hho/89)

<div class="topic-metadata">

**Author:** [@Monirul25](https://getfem.discourse.group/u/Monirul25)\
**Replies:** 9\
**Last updated:** [March 10, 2026, 2:45pm UTC](https://getfem.discourse.group/t/need-help-to-install-both-c-and-python-version-of-getfem-to-use-hho/89 "2026-03-10T14:45:08Z")

</div>

Hello, everyone, i am very beginner in GetFem. I am using Ubuntu in my windows 11 by using WSL( windows linux subsystem). I have installed Conda and Python3 also on that. Can i install GetFem on that to use HHO. Python3…

---

## [Assembly parallelization](https://getfem.discourse.group/t/assembly-parallelization/114)

<div class="topic-metadata">

**Author:** [@EricAComstock](https://getfem.discourse.group/u/EricAComstock)\
**Replies:** 6\
**Last updated:** [February 23, 2026, 5:14pm UTC](https://getfem.discourse.group/t/assembly-parallelization/114 "2026-02-23T17:14:31Z")

</div>

Hello All, Is it possible to parallelize matrix assembly in GetFEM? I have found that assembly has consistently been the bottleneck for large 6D problems, and am curious if that is possible. Sincerely, Eric A. Comstoc…

---

## [Fully automated windows-build, python 3.14 package ready for testing](https://getfem.discourse.group/t/fully-automated-windows-build-python-3-14-package-ready-for-testing/113)

<div class="topic-metadata">

**Author:** [@Konstantinos.Poulios](https://getfem.discourse.group/u/Konstantinos.Poulios)\
**Replies:** 0\
**Last updated:** [February 8, 2026, 8:20am UTC](https://getfem.discourse.group/t/fully-automated-windows-build-python-3-14-package-ready-for-testing/113 "2026-02-08T08:20:06Z")

</div>

I finally got fully reproducible windows-build with Github actions producing a functional python module for getfem. I could reduce it to only 3 third party dlls (Intel) that have to be distributed together with our pyd m…

---

## [Building GetFEM package for Windows](https://getfem.discourse.group/t/building-getfem-package-for-windows/15)

<div class="topic-metadata">

**Author:** [@Konstantinos.Poulios](https://getfem.discourse.group/u/Konstantinos.Poulios)\
**Replies:** 27\
**Last updated:** [January 12, 2026, 9:26pm UTC](https://getfem.discourse.group/t/building-getfem-package-for-windows/15 "2026-01-12T21:26:57Z")

</div>

Discussion about building binary packages for Windows

---

## [Defining a piecewise parameter with Heaviside in GWFL](https://getfem.discourse.group/t/defining-a-piecewise-parameter-with-heaviside-in-gwfl/104)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 4\
**Last updated:** [January 9, 2026, 11:36am UTC](https://getfem.discourse.group/t/defining-a-piecewise-parameter-with-heaviside-in-gwfl/104 "2026-01-09T11:36:18Z")

</div>

Hello everyone, I’m trying to define a spatially varying shear modulus \\mu(r) in a hollow cylinder using the GetFEM Weak Form Language (GWFL). The cylinder has an inner radius R\_i​=2.0 and thickness 0.50. I would like \\…

---

## [Does GetFEM XFEM Support 3D Crack Growth?](https://getfem.discourse.group/t/does-getfem-xfem-support-3d-crack-growth/108)

<div class="topic-metadata">

**Author:** [@HanzeLi](https://getfem.discourse.group/u/HanzeLi)\
**Replies:** 9\
**Last updated:** [January 9, 2026, 10:13am UTC](https://getfem.discourse.group/t/does-getfem-xfem-support-3d-crack-growth/108 "2026-01-09T10:13:01Z")

</div>

Hi everyone, I’m working on fracture mechanics problems and would like to ask whether the XFEM module in GetFEM currently supports 3D crack growth. If anyone knows whether this functionality is available, or if there a…

---

## [Compilation error](https://getfem.discourse.group/t/compilation-error/47)

<div class="topic-metadata">

**Author:** [@Francesco](https://getfem.discourse.group/u/Francesco)\
**Replies:** 19\
**Last updated:** [January 6, 2026, 5:02pm UTC](https://getfem.discourse.group/t/compilation-error/47 "2026-01-06T17:02:11Z")

</div>

I installed GetFEM 5.4.2 both on my MacBook Pro Intel and on my iMac (ARM CPU, M1), but in both cases I get the following error when I run ./configure: you are compiling GetFEM on a arm-apple-darwin23.6.0 Using the GNU …

---

## [Including Surface Roughness in Contact via a Modified Gap Function in GetFEM](https://getfem.discourse.group/t/including-surface-roughness-in-contact-via-a-modified-gap-function-in-getfem/106)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 19\
**Last updated:** [January 3, 2026, 3:04pm UTC](https://getfem.discourse.group/t/including-surface-roughness-in-contact-via-a-modified-gap-function-in-getfem/106 "2026-01-03T15:04:50Z")

</div>

Hello everyone, I am currently exploring how to model surface roughness in contact mechanics using GetFEM, and I would like to know if anyone has already attempted something similar. My idea is to incorporate the rough…

---

## [Large sliding contact brick raytracing with surface mesh as Master surface](https://getfem.discourse.group/t/large-sliding-contact-brick-raytracing-with-surface-mesh-as-master-surface/112)

<div class="topic-metadata">

**Author:** [@Florian](https://getfem.discourse.group/u/Florian)\
**Replies:** 3\
**Last updated:** [December 16, 2025, 10:24am UTC](https://getfem.discourse.group/t/large-sliding-contact-brick-raytracing-with-surface-mesh-as-master-surface/112 "2025-12-16T10:24:35Z")

</div>

Hello everyone! I’m quite new to getfem and the field of FEM simulation in general, so sorry in advance if my question is obvious. I have a problem, where I want to inflate an object inside of another object, say a bal…

---

## [Coordinate naming in MeshFem](https://getfem.discourse.group/t/coordinate-naming-in-meshfem/103)

<div class="topic-metadata">

**Author:** [@bucc95](https://getfem.discourse.group/u/bucc95)\
**Replies:** 5\
**Last updated:** [December 11, 2025, 7:42am UTC](https://getfem.discourse.group/t/coordinate-naming-in-meshfem/103 "2025-12-11T07:42:25Z")

</div>

Hi all, I’m trying to learn how to use GetFEm. I’d like to define a function with the MeshFem.eval method, but I’m not sure about the syntax I am expected to use in the ‘expression’ argument. The GWLF language does not…

---

## [Cleaning up root folder](https://getfem.discourse.group/t/cleaning-up-root-folder/109)

<div class="topic-metadata">

**Author:** [@Konstantinos.Poulios](https://getfem.discourse.group/u/Konstantinos.Poulios)\
**Replies:** 1\
**Last updated:** [December 9, 2025, 10:24pm UTC](https://getfem.discourse.group/t/cleaning-up-root-folder/109 "2025-12-09T22:24:17Z")

</div>

I think it is time to clean up our root folder .travis.yml and requirements.txt added by @tkoyama010 seem to be irrelevant anymore, after Travis stopped serving open source projects for free extract\_gmm++ could be m…

---

## [Navier-Stokes Equation](https://getfem.discourse.group/t/navier-stokes-equation/97)

<div class="topic-metadata">

**Author:** [@Giovanni.Gelmetti](https://getfem.discourse.group/u/Giovanni.Gelmetti)\
**Replies:** 12\
**Last updated:** [December 3, 2025, 11:07am UTC](https://getfem.discourse.group/t/navier-stokes-equation/97 "2025-12-03T11:07:38Z")

</div>

Hello, my goal is to solve the full Navier-Stokes equations for a beam immersed in a fluid (air). The inlet velocity profile is parabolic, with a ramping factor applied to ensure a smoother transition at the start of the…

---

## [Installing GetFEM with MPI Support on Ubuntu 24.04.3 LT](https://getfem.discourse.group/t/installing-getfem-with-mpi-support-on-ubuntu-24-04-3-lt/105)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 18\
**Last updated:** [November 24, 2025, 11:38am UTC](https://getfem.discourse.group/t/installing-getfem-with-mpi-support-on-ubuntu-24-04-3-lt/105 "2025-11-24T11:38:00Z")

</div>

Hi everyone, I would like to install GetFEM with parallel (MPI) support on Ubuntu 24.04.3 LTS. I previously installed the standard version using: sudo apt install python3-getfem but now I’d like to compile or install…

---

## [Issue with getfem.Model().add\_Nitsche\_fictitious\_domain\_contact\_brick() in getfem 5.4.2](https://getfem.discourse.group/t/issue-with-getfem-model-add-nitsche-fictitious-domain-contact-brick-in-getfem-5-4-2/101)

<div class="topic-metadata">

**Author:** [@BichonP](https://getfem.discourse.group/u/BichonP)\
**Replies:** 6\
**Last updated:** [October 2, 2025, 1:30pm UTC](https://getfem.discourse.group/t/issue-with-getfem-model-add-nitsche-fictitious-domain-contact-brick-in-getfem-5-4-2/101 "2025-10-02T13:30:03Z")

</div>

Hello everyone, I’d like to use the method add\_Nitsche\_fictitious\_domain\_contact\_brick() of the Model class. The problem is that with my version of GetFEM (5.4.2), it returns a “Bad command name” error, which makes me t…

---

## [Out of range vector access in gmm\_precond\_ilu.h](https://getfem.discourse.group/t/out-of-range-vector-access-in-gmm-precond-ilu-h/100)

<div class="topic-metadata">

**Author:** [@volkm](https://getfem.discourse.group/u/volkm)\
**Replies:** 2\
**Last updated:** [September 2, 2025, 11:18am UTC](https://getfem.discourse.group/t/out-of-range-vector-access-in-gmm-precond-ilu-h/100 "2025-09-02T11:18:22Z")

</div>

The latest libstdc++ has debug assertions enabled by default and I saw that the gmm\_precond\_ilu.h tries to access out of range indices. I opened a bug report here with the details on how to reproduce the issue. If it wa…

---

## [How do I input gridwise data?](https://getfem.discourse.group/t/how-do-i-input-gridwise-data/98)

<div class="topic-metadata">

**Author:** [@EricAComstock](https://getfem.discourse.group/u/EricAComstock)\
**Replies:** 3\
**Last updated:** [August 11, 2025, 8:03am UTC](https://getfem.discourse.group/t/how-do-i-input-gridwise-data/98 "2025-08-11T08:03:55Z")

</div>

Hello All, I am using electric and magnetic fields as initialized FEM data in my simulation, and I am shifting from using analytical definitions to applying numerically calculated fields (i.e. a seperate function that o…

---

## [Simple 2D isotropic linear elasticity problem on the unit square with a mesh of 2 triangles](https://getfem.discourse.group/t/simple-2d-isotropic-linear-elasticity-problem-on-the-unit-square-with-a-mesh-of-2-triangles/90)

<div class="topic-metadata">

**Author:** [@Francesco](https://getfem.discourse.group/u/Francesco)\
**Replies:** 9\
**Last updated:** [August 6, 2025, 5:09am UTC](https://getfem.discourse.group/t/simple-2d-isotropic-linear-elasticity-problem-on-the-unit-square-with-a-mesh-of-2-triangles/90 "2025-08-06T05:09:54Z")

</div>

To debug a GetFEM code, I am doing “hand-made” computations on a very simple example. Before moving to the contact algorithm, I need to make sure that things work well for the following toy problem without contact. The …

---

## [Retrieve the number of Newton iterations per loading step](https://getfem.discourse.group/t/retrieve-the-number-of-newton-iterations-per-loading-step/96)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 2\
**Last updated:** [July 23, 2025, 8:49am UTC](https://getfem.discourse.group/t/retrieve-the-number-of-newton-iterations-per-loading-step/96 "2025-07-23T08:49:44Z")

</div>

Hello everyone, I am working on a contact problem , and at each loading step, I would like to retrieve the number of Newton iterations required for convergence. Currently, I solve my problem using: model.solve() Howe…

---

## [Post-processing contact pressure and force using augmented Lagrangian method in GetFEM](https://getfem.discourse.group/t/post-processing-contact-pressure-and-force-using-augmented-lagrangian-method-in-getfem/94)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 4\
**Last updated:** [July 22, 2025, 6:54pm UTC](https://getfem.discourse.group/t/post-processing-contact-pressure-and-force-using-augmented-lagrangian-method-in-getfem/94 "2025-07-22T18:54:09Z")

</div>

Hello everyone, I am currently working on a 3D contact mechanics problem using the augmented Lagrangian method. For post-processing purposes, I would like to compute the contact force and the contact pressure. The mult…

---

## [Question about Neumann boundary conditions](https://getfem.discourse.group/t/question-about-neumann-boundary-conditions/95)

<div class="topic-metadata">

**Author:** [@EricAComstock](https://getfem.discourse.group/u/EricAComstock)\
**Replies:** 1\
**Last updated:** [July 22, 2025, 11:43am UTC](https://getfem.discourse.group/t/question-about-neumann-boundary-conditions/95 "2025-07-22T11:43:57Z")

</div>

Hello All, Just to confirm, the BC md.add\_source\_term\_brick(mim, 'f', 'zeros', 45) will add a boundary condition requiring the derivative of f to be zero across the boundary at boundary 45, correct? I want to make sur…

---

## [Parallel mumps solver and custom solver](https://getfem.discourse.group/t/parallel-mumps-solver-and-custom-solver/93)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 9\
**Last updated:** [July 15, 2025, 1:46pm UTC](https://getfem.discourse.group/t/parallel-mumps-solver-and-custom-solver/93 "2025-07-15T13:46:30Z")

</div>

Hello everyone, I am working on a large multi-physics problem. My code was not originally written with parallelism in mind, but I would like to speed up the linear solve phase by using MUMPS in parallel. Is it possible…

---

## [Eigenvalues and Eigenvectors of Right Cauchy-Green Tensor in GetFEM++](https://getfem.discourse.group/t/eigenvalues-and-eigenvectors-of-right-cauchy-green-tensor-in-getfem/91)

<div class="topic-metadata">

**Author:** [@Djoumessi](https://getfem.discourse.group/u/Djoumessi)\
**Replies:** 3\
**Last updated:** [July 10, 2025, 8:06am UTC](https://getfem.discourse.group/t/eigenvalues-and-eigenvectors-of-right-cauchy-green-tensor-in-getfem/91 "2025-07-10T08:06:08Z")

</div>

Dear GetFEM community, I am currently working on a nonlinear solid mechanics problem using GetFEM++, and I would like to compute the eigenvalues and eigenvectors of the right Cauchy-Green deformation tensor , where is …

---

## [Best practice for a combined integration and interpolation](https://getfem.discourse.group/t/best-practice-for-a-combined-integration-and-interpolation/92)

<div class="topic-metadata">

**Author:** [@EricAComstock](https://getfem.discourse.group/u/EricAComstock)\
**Replies:** 17\
**Last updated:** [July 7, 2025, 12:30pm UTC](https://getfem.discourse.group/t/best-practice-for-a-combined-integration-and-interpolation/92 "2025-07-07T12:30:23Z")

</div>

Hello, I would like to know if there are current best practices are for combined integration and interpolation on a solution. For my example, I have a 6D mesh with a particle density on it, with three dimensions of spa…

---

## [Problem during boundary condition assembly](https://getfem.discourse.group/t/problem-during-boundary-condition-assembly/79)

<div class="topic-metadata">

**Author:** [@EricAComstock](https://getfem.discourse.group/u/EricAComstock)\
**Replies:** 133\
**Last updated:** [June 23, 2025, 9:26pm UTC](https://getfem.discourse.group/t/problem-during-boundary-condition-assembly/79 "2025-06-23T21:26:27Z")

</div>

Hello All, I am encountering an issue during assembly of my boundary conditions in the Python interface where after assembling some of the conditions (7 out of 12, in my case) the program stops producing output, and the…

[Next page](https://getfem.discourse.group/latest.md?page=1)
