Dear all,
I am playing around with the step-44 code, and I have made a few (minor)
modifications to it. Namely, I set the sides of the cube to be free (that
is, with BC of null force) and added the whole top side to boundary
6. This results in exactly what I expect, that is, a squished cube, with 90
degrees symmetry. You can see the results in result_squish.png.
I could also modify the program to have a positive pressure. The result was not
what I had antecipated, but upon analysing the BCs, it seems correct. This can
be found in result_pull.png.
However, when I set the pressure to zero, the program stops converging. I do
not understand why that happens, as it seems that the analytical formulation is
independent from an external pressure. I spent quite a while looking how to fix
this, but it seems I am missing rather subtle. Any ideas how to proceed?
I have added both the source code I am using - which, as I said, is based in
step-44 - and the diff between the original version and my version. But, in short,
I removed a few lines make_constraints related to the +- x and +- z sides and
changed make_grid such that the whole +y side is now part of the boundary 6.
There was no changes in parameters.prm.
Bests