Skip to content

2D elastic model and free slip boundary conditions #936

Answered by kinnala
SebfraOslo asked this question in Q&A
Discussion options

You must be logged in to vote

Passing

D = basis.get_dofs({'left','right','bottom','top'})

to condense(..., D=D) causes all DOFs to be eliminated.

I suggest you do something like

D1 = basis.get_dofs({'left', 'right', 'bottom'}).all()  # all DOFs fixed
D2 = basis.get_dofs('top').all('u^2')  # all 'u^2' DOFs fixed
D = np.concatenate((D1, D2))

Hopefully this solves your problem.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SebfraOslo
Comment options

Answer selected by SebfraOslo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants