Shengli Xu wrote:
Dear getfem developers and users,
Can getfem apply the dof constraint function like U_i = U_j? U_i is
the master dof, U_j is the slave dof?
Yes, just use the getfem::mdbrick_constraint to impose U_i - U_j = 0 :
http://www-gmm.insa-toulouse.fr/getfem/getfemuser/getfemuser_20.html#id6
Your constraint matrix B will be a [ nc x nbd ] sparse matrix,
where nc is the number of constraints, and nbd is the number of dof of
the unknown U. Each row will contain a constraint, i.e.
B(i, :) = [0 ... 0 0 0 1 0 0 0 ... 0 -1 0 0 0 ... 0 0]
--
julien
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users