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
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 <[email protected]
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
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 <[email protected]
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: [email protected] web: http://www.civil.gla.ac.uk/~kaczmarczyk/
participants (2)
-
Lukasz Kaczmarczyk -
Matthew Knepley