I want to resolve the Fick’s law over a domain that will not be static. I mean, the region of interest is variable over time (in future, dynamic will be dependen of the solution.
¿Anyone did it? I’he been researching and the best way to implement is using subdomains. Ther is one better way?
have a look at the FEniCS tutorial on the heat equation. To move your domain, you can use ALE.move(mesh, deformation) inside a for loop to get a dynamic domain. See these tests and demos for examples