Changeset 4339


Ignore:
Timestamp:
06/30/10 10:56:05 (15 years ago)
Author:
seroussi
Message:

fixed problem with transient when overshoot:
make sure that vx and vxold are similar once the solution has converged

Location:
issm/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solvers/solver_diagnostic_nonlinear.cpp

    r4219 r4339  
    125125        }
    126126       
     127        //Now that the solution has converged, update once again the solution to make sure that vx and vxold are similar (for next step in transient or steadystate)
     128        InputUpdateFromSolutionx( femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,ug);
     129
    127130        /*extrude if we are in 3D: */
    128131        if (dim==3){
  • issm/trunk/src/m/solvers/solver_diagnostic_nonlinear.m

    r4287 r4339  
    7979        end
    8080       
     81        %Now that the solution has converged, update once again the solution to make sure that vx and vxold are similar
     82        femmodel.elements=InputUpdateFromSolution(femmodel.elements,femmodel.nodes,femmodel.vertices,loads,femmodel.materials,femmodel.parameters,ug);
     83
    8184        %extrude if we are in 3D:
    8285        if dim==3,
Note: See TracChangeset for help on using the changeset viewer.