KratosMultiphysics / Kratos

Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
https://kratosmultiphysics.github.io/Kratos/
Other
1k stars 243 forks source link

Contact test example result not correct #8078

Open dzheng26 opened 3 years ago

dzheng26 commented 3 years ago

Description I copied the example from ./ContactStructuralMechanicsApplication/tests/ALM_frictional_contact_test_3D and enabled the output to vtk. Then I plotted the deformation. The deformation looks not right.

Scope test example results

To Reproduce Run the example

Expected behavior The example is with two blocks. The top block is sliding from left to right in contact with the bottom block. The expected result is the lower part of the top block been bushed backward (right) due to friction. The calculated result does not show that. The original example is with frictional coefficient 0.1. When I changed it to 0.5 or 0.9, the deformation was even worse and the simulation did not finish to the end.

Environment

AlejandroCornejo commented 3 years ago

Hi @dzheng-conti ! Can you share with me the input files that you are using to run it in my pc?

dzheng26 commented 3 years ago

@AlejandroCornejo , Here is the test examples I did.

friction_bug.tar.gz

loumalouomega commented 3 years ago

Hi @dzheng-conti I have checked, and you are right. There is an unexpected behaviour which had not noticed before. We are working on it.

loumalouomega commented 3 years ago

ezgif-2-2d72412411b3

Greetings @dzheng-conti, the example has been updated, and now it gives consisting behaviour (see gif). There were two problems:

*NOTE: Instead of considering the objective formulation for the slip calculation detailed in my thesis, a non-objective calculation is considered. In theory for small displacements and problems not dealing with rigid movements the values should coincide, but of course in practice is a bit more troublesome.

Sorry for the inconvenience, best regards

Vicente Mataix Ferrándiz

dzheng26 commented 3 years ago

@loumalouomega Thanks for the quick response. Could you tell me where I can find the changed example? I cannot find it in the master.

loumalouomega commented 3 years ago

@dzheng-conti I have updated the example in the example repository: https://github.com/KratosMultiphysics/Examples/tree/master/contact_structural_mechanics/validation/press_fit/source/3D

I am currently checking something in the repository and I will update the code and tests accordingly.

Best regards,

Vicente Mataix Ferrándiz

rubenzorrilla commented 1 year ago

@loumalouomega is this still an issue?

loumalouomega commented 1 year ago

The issue is still there but the "fix" in the example is already applied. I need a lot of time to actually test and check the fix.