Open maipe7 opened 1 year ago
I can reproduce the problem using deal.ii
release 9.5.1 and the aspect
main branch.
The velocity field looks as follows for the uniformly and adaptively refined meshes. The velocity at the hanging nodes seems fine, but the velocity at the other vertices on the interface between the coarse and fine mesh are strange.
This problem occurs already on the very first output of time step 0. As you claimed in the parameter file, this issue only occurs with mesh deformation (ALE). It would be nice if we could somehow further narrow down the problem by finding an even less complex scenario.
velocity adaptive: velocity uniform:
I made some more tests. The oscillations occur even without the time dependence of gravity. They are present even with a radial constant gravity:
subsection Gravity model
set Model name = radial constant
end
But they disappear if the gravity is 1D, like in this case:
subsection Gravity model
set Model name = function
subsection Function
set Function expression = x*1e-10; 0
end
end
In this case, the mesh velocity is in x-direction only. I also don't see any oscillations in 2D Cartesian box models, probably because the mesh velocity is 1D in these models (only one side of the box is moving).
Velocity oscillations occur if we use a mesh with hanging nodes (refined mesh, but not necessarily changing over time) in combination with mesh deformation due to moving model boundaries (ALE formulation). Maybe they appear only in spherical (or more generally non-cartesian) coordinates, but I have not tested that.
The following model shows oscillations of the velocity that are further amplified for derived quantities - the strain rate and the shear heating term.