SNES and internal variables

Lukasz Kaczmarczyk likask at civil.gla.ac.uk
Wed Sep 30 11:20:17 CDT 2009


Thank You for Your fast response.

Lukasz


On 30 Sep 2009, at 17:04, Matthew Knepley wrote:

> Yes, that is a general update function, suitable for updating this  
> information at the
> start of a Newton iterate.
>
>   Matt
>
> On Wed, Sep 30, 2009 at 10:53 AM, Lukasz Kaczmarczyk <likask at civil.gla.ac.uk 
> > wrote:
> Hello,
>
> I like to use  SNES to solve nonlinear system of equations. For my  
> problem, I have to update some internal variables for computed  
> newtons increments of primary unknowns, before I update residual  
> (right hand side) and Jacobian. I found function SNESSetUpdate which  
> is called at the beginning o every iteration. But I am not sure  
> enough if that function is proper for updating internal variables.  
> Can You advise me if it is right to use internal variables, f.e.  
> increments of plastic strain at gauss points.
>
> Lukasz Kaczmarczyk
>
>
>
> -- 
> What most experimenters take for granted before they begin their  
> experiments is infinitely more interesting than any results to which  
> their experiments lead.
> -- Norbert Wiener

Lukasz Kaczmarczyk
Lecturer
Department of Civil Engineering,
University of Glasgow,
GLASGOW, G12 8LT
Tel: +44 141 3305348
email: likask at civil.gla.ac.uk
web: http://www.civil.gla.ac.uk/~kaczmarczyk/



More information about the petsc-users mailing list