mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-24 19:19:54 +00:00
possibility to manually remove dofs from problems by adding dof number to problem.assembly.removed_dofs vector
This commit is contained in:
@@ -84,6 +84,9 @@ end
|
||||
bc1 = Problem(Dirichlet, "symmetry dx=0", 2, "displacement")
|
||||
push!(bc1, dx1, dx2)
|
||||
|
||||
# remove dof 9 from bc1 to avoid overconstrained problem
|
||||
push!(bc1.assembly.removed_dofs, 9)
|
||||
|
||||
# boundary elements for dirichlet dy=0
|
||||
dy1 = Element(Seg2, [1, 2])
|
||||
update!(dy1, "geometry", X)
|
||||
|
||||
Reference in New Issue
Block a user