[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to impose sliding boundary condition without friction between tw

From: Konstantinos Poulios
Subject: Re: How to impose sliding boundary condition without friction between two 3D meshes?
Date: Fri, 19 Nov 2021 19:33:44 +0100

Dear Anne-Cecile,

Regarding this question, you must decide first if you are going to do a small or large deformation simulation. I think your solid model for the brain is small deformations, so the method you suggest is ok. The syntax should be like

md.add_penalized_contact_between_nonmatching_meshes_brick(mim, "uh", "ub", "penal_r", None, HEAD_BOUND, BRAIN_BOUND)

penal_r must be defined as scalar data to the model. Use a not too big value to begin with, 1e4 or 1e5. This might give you a bit less accurate contact, but once it works you can increase this value further, or even switch to the more accurate version:


But let's take this later when you have one basic version running.


On Fri, Nov 19, 2021 at 7:15 PM Lesage,Anne Cecile J <> wrote:

Hi all,



To set up that the brain is sliding without friction inside the head, I wrote the following python lines


fbb = meshb.outer_faces()  # Boundary of the brain

fbh = meshh.outer_faces()  # Boundary of the head





# selection of faces for contact condition

meshh.set_region(HEAD_BOUND, fbh)

meshb.set_region(BRAIN_BOUND, fbb)


md.add_penalized_contact_between_nonmatching_meshes_brick(mim3h, uh, ub, datanamer, HEAD_BOUND, BRAIN_BOUND, 1, lambda1_n)


Is it a good option? How to choose the parameters datanamer and lambda1?


Thank you

Best Regards


The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]