Closed TomMHGW closed 2 hours ago
Duplicate of https://fenicsproject.discourse.group/t/why-do-non-interacting-cylinders-bend-in-unintuitive-direction-under-identical-forces/16306/5 . It's not likely that it is a bug in dolfinx, and even if it were the example would need to be much more minimal.
Summarize the issue
I have two cylinders which are not supposed to interact with each other. I apply a pressure at the right face of both cylinders. But instead of going straight they are bending in a random direction.
If I move them further away from each other this effect increases. Moving the cylinders to different coordinates does not change the direction of the bending, e.g. if their positions were swapped they would bend towards each other and not away from each other.
I am not sure if this is a numerical artifact or if there is something not working as expected when there are multiple objects.
It is possible to reduce this effect by lowering the mesh size with
gmsh.option.setNumber("Mesh.MeshSizeMax", 0.05)
, but I would expect it to also work with a bigger mesh as long as it works when there is only one cylinder (with the same parameter).How to reproduce the bug
Run the provided code and look at the generated "results.pvd" using paraview. Changing
plot_both_cylinders = False
will only generate one cylinder.Minimal Example (Python)
Output (Python)
No response
Version
main branch
DOLFINx git commit
4116cca8cf91f1a7e877d38039519349b3e08620
Installation
Docker image
Additional information
No response