festim-dev / FESTIM

Coupled hydrogen/tritium transport and heat transfer modelling using FEniCS
https://festim.readthedocs.io/en/stable/
Apache License 2.0
90 stars 23 forks source link

Support for Periodic boundary conditions #748

Open RemDelaporteMathurin opened 5 months ago

RemDelaporteMathurin commented 5 months ago

It would be nice to support periodic boundary conditions.

It is possible in legacy fenics, I would assume it is also possible in fenicsx.

In legacy fenics, these BCs are not treated as DirichletBCs but added as a constraint to the functionspace. https://fenicsproject.org/olddocs/dolfin/1.4.0/python/demo/documented/periodic/python/documentation.html