Dear Wolfgang

Problem solved, thank you! For other people's references, here is what I 
did: 1. when setting the nonzero_constraints, always query the current 
value first and then substract it from the target value so that the 
solution delta is constrained correctly. 2. Apply nonzero_constraints at 
the first Newton iteration in every time step. 3. By not eliminating 
constrained dofs from the sparsity pattern, no need to recreate it when the 
constraints change, thus no need to reinitialize the matrices and vectors.

Jie

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to