For periodic condition i do something like :
--------------------------------------------------------------------------------------------------------------------
ConstraintMatrix = gf.Spmat('empty',1 ,mfu.nb_basic_dof())
L=np.zeros((mfu.nb_basic_dof()
,1))
for i in range(len(leftDof)):
ConstraintMatrix[0,leftDof[i]]=1
ConstraintMatrix[0,rightDof[i]]=1
md.add_variable('mult_spec'+str(i),1)
# print(i)
md.add_constraint_with_multipliers( 'u','mult_spec'+str(i), ConstraintMatrix,0)
--------------------------------------------------------------------------------------------------------------------
And it worked perfectly;Now i want to add another periodic condition: this new on derivatives
The derivative of u in leftDof must equal the derivative of T in rightDOF
Do you have ideas