Hey!!
I have a hard time implementing periodic boundary conditions to both x and y directions. After investigation it seems that the only way to do this using FEniCSx and not FEniCS is to use dolphinx_mpc. But I cannot find a way to install dolphinx_mpc in wsl ubuntu. Any suggestions?
How did you install DOLFINx on WSL ubuntu?
DOLFINx_MPC is on debian: Debian -- Details of package python3-dolfinx-mpc in sid
Conda: Dolfinx Mpc | Anaconda.org
And as a docker image:
Package dolfinx_mpc · GitHub
Hey! First of all thank you for the great work you are doing! I installed DOLHINx on WSL ubuntu with the following commands:
add-apt-repository ppa:fenics-packages/fenics
apt update
apt install fenicsx
The simplest way to install mpc on Ubuntu is from the PPA
apt update
apt dist-upgrade
apt install python3-dolfinx-mpc
2 Likes
Thank you! I have managed to install mpc on Ubuntu. Any tips for the periodic boundary conditions?
That is a very generic question. There are plenty of demos in DOLFINx_MPC, and several examples on the forum itself.
Please consult the demos first:
1 Like