This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Deformation of a solid inside a liquid

+1 vote

Hello
I want to simulate the deformation of a solid that is inside a solution or liquid (Lets say it is water). I need to model and mesh both the liquid domain and the solid domain. This figure explains the whole domain before deformation:
enter image description here

Next figure is the deformation of the solid inside the water:

enter image description here

I was wondering if there was any similar FEniCS example about this simulation (Anything about deformation or movement of a solid inside a liquid). Actually I searched about it but I could not find anything similar to this problem. I would appreciate you letting me know about any similar FEniCS worked example.

asked May 31, 2017 by Leo FEniCS Novice (840 points)

1 Answer

+1 vote

Hi, see here for some FSI related works with FEniCS. Note that the repo is a bit outdated and the code will need to be freshened up.

answered May 31, 2017 by MiroK FEniCS Expert (80,920 points)

Thank you for your response. However this example seems pretty complicated for me to understand as it has many details. Is there any other simpler example for the simulation of deformation of domain.1 inside domain.2? I would like to explain my purpose a little more:

There is an example to solve the the equations of linear elasticity to simulate the deflection of a clamped beam under its own weight. The complete code is provided:

https://fenicsproject.org/pub/tutorial/html/._ftut1008.html

Now lets say the whole clamped beam is inside water and the deflection is dependent to the time. When the beam is deflected under its weight, it enters the liquid domain little by little and I think the mesh (and probably the domain) for the liquid domain should be redefined at every time step according to the deformation of the beam. I have never used moving mesh in FEniCS and I am not even sure if this issue could be resolved using moving mesh.
In one sentence, I am confused about handling mesh for domain.1 and mesh for domain.2 when the boundaries of domain.1 are moving inside domain.2.
I would appreciate you making it clear with a simple example. Once thanks again for your time.

...