Skip to content
Snippets Groups Projects
Commit 89a75f81 authored by Timo Koch's avatar Timo Koch
Browse files

[richards] Use new chop property to speed up convergene with the implemented chop algo

parent c33c55dc
No related branches found
No related tags found
2 merge requests!617[WIP] Next,!360Improve Richards model - Add RichardsNC model
...@@ -80,7 +80,8 @@ public: ...@@ -80,7 +80,8 @@ public:
{ {
ParentType::newtonUpdate(uCurrentIter, uLastIter, deltaU); ParentType::newtonUpdate(uCurrentIter, uLastIter, deltaU);
if ((!GET_PARAM_FROM_GROUP(TypeTag, bool, Newton, UseLineSearch))) if ((!GET_PARAM_FROM_GROUP(TypeTag, bool, Newton, UseLineSearch))
&& GET_PARAM_FROM_GROUP(TypeTag, bool, Newton, EnableChop ))
{ {
// do not clamp anything after 5 iterations // do not clamp anything after 5 iterations
if (this->numSteps_ > 4) if (this->numSteps_ > 4)
......
...@@ -11,8 +11,9 @@ Name = richardslensbox ...@@ -11,8 +11,9 @@ Name = richardslensbox
EnableGravity = 1 # enable gravity EnableGravity = 1 # enable gravity
[Implicit] [Implicit]
EnablePartialReassemble = 1 # enable partial reassembly of the Jacobian matrix EnablePartialReassemble = true # enable partial reassembly of the Jacobian matrix
EnableJacobianRecycling = 1 # EnableJacobianRecycling = true #
[Newton] [Newton]
TargetSteps = 18 # set the "desireable" number of newton iterations of a time step TargetSteps = 18 # set the "desireable" number of newton iterations of a time step
EnableChop = true # chop for better convergence
...@@ -11,8 +11,9 @@ Name = richardslenscc ...@@ -11,8 +11,9 @@ Name = richardslenscc
EnableGravity = 1 # enable gravity EnableGravity = 1 # enable gravity
[Implicit] [Implicit]
EnablePartialReassemble = 1 # enable partial reassembly of the Jacobian matrix EnablePartialReassemble = true # enable partial reassembly of the Jacobian matrix
EnableJacobianRecycling = 1 # EnableJacobianRecycling = true #
[Newton] [Newton]
TargetSteps = 18 # set the "desireable" number of newton iterations of a time step TargetSteps = 18 # set the "desireable" number of newton iterations of a time step
EnableChop = true # chop for better convergence
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment