Issue with use_displaced_mesh in Viscoelastic Adhesive Contact Setup #29918
-
I am currently working on implementing viscoelastic adhesive contact in MOOSE. To achieve this, I have considered using the BilinearMixedModeCohesiveZoneModel user object along with NormalMortarMechanicalContact constraints for defining the adhesive contact behavior. Additionally, I have chosen the GeneralizedMaxwellModel as the material model to capture the viscoelastic response. However, after running my input file, I encountered the following error message:*** ERROR *** use_displaced_mesh: 'use_displaced_mesh' must be true for the WeightedGapUserObject objectTo resolve this, I attempted to set the global parameter use_displaced_mesh = true, but the issue persists. I would appreciate any insights on how to correctly enable use_displaced_mesh in this setup or any necessary modifications to properly model viscoelastic adhesive contact. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello! I'm not familiar with contact problems or methods, but I think you need specify displacement variables for the
Where the number of
|
Beta Was this translation helpful? Give feedback.
-
Thanks @zachmprince, that turned out to be the issue. Although I wanted to respond to this and let @GiudGiud know, since perhaps the error message could be improved. My guess is, there is a logical test inside |
Beta Was this translation helpful? Give feedback.
Hello! I'm not familiar with contact problems or methods, but I think you need specify displacement variables for the
Problem
. The easiest way to do this is usingGlobalParams
:Where the number of
disp_*
entries should equal the dimensionality of your mesh. If you don't have variables representing displacements, you can create fake ones for now like this: