Am Dienstag, 30. April 2019 05:59:05 UTC+2 schrieb Wolfgang Bangerth:
>
>
> Maxi, 
>
> >     What did you have to do? I was going to reproduce your problem today 
> by 
> >     installing a Trilinos version that has NOX enabled. Is this moot 
> now, 
> >     i.e., was it a bug in your code or did you just work around the 
> issue in 
> >     some way that doesn't expose it? 
> > 
> > NOX expects vectors containing only the local elements, but no ghost 
> elements. 
> > Thus I had to initialize all vectors going in or out from any 
> NOX-related 
> > function using locally_owned_dofs, and copy accordingly if external 
> vectors 
> > contained ghost elements. 
>
> I see. So this is a NOX requirement, not something that we could have done 
> anything about on the deal.II side? 
>
> No, as far as I understand. NOX needs those vectors to be in the correct 
way, else it will not work. 

>
> > The solver does not converge, and the output looks as if it is using 
> > Dirichlet-conditions with u = 0, independently of the "real" boundary 
> conditions. 
>
> I don't know NOX, but is it using an update that it adds to the solution 
> in 
> each step? If so, you need to have the correct boundary conditions in the 
> initial guess already. What happens if you only allow NOX to do zero or 
> one 
> iterations? 
>
> Best 
>   W. 
>
> Zero iterations is not allowed, the first iteration already goes way off 
(expected highest value: 1, calculated value: 1e6), regardless if I set 
boundary conditions already to the solution vector I feed to NOX, or if I 
set the boundary conditions during the assembly of the right hand side. 

> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
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