Hi all, I am trying to implement mIFEM(modified immersed finite element method) in FEniCS. Basically, I want to solve an FSI problem using a background Eulerian mesh for the fluid and a separate Lagrangian mesh for the solid. The solid mesh is allowed to deform freely. In mIFEM, the portion of the fluid domain that coincides with the “moving” solid mesh at any time instant is called the artificial fluid. I want to basically divide the fixed fluid mesh in the background into the “artificial fluid” region and “real fluid” region.
Is there a class or a function in FEniCS that can help me keep track of the portion of the fluid mesh that coincides with the overlapping (moving) solid mesh? I have been looking at using the SubDomain class in FEniCS to achieve that but unfortunately, I have not found a way to update the SubDomain based on the position of the overlapping solid domain.
I would be glad if anyone could point me in the right direction. Thanks