forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrea Rovinelli
committed
Dec 17, 2020
1 parent
43d08e5
commit b7404bd
Showing
7 changed files
with
184 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
test/tests/executioners/nl_divergence_tolerance/nl_abs_divergence_tolerance.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
nx = 15 | ||
ny = 15 | ||
[] | ||
|
||
[Variables] | ||
[./u] | ||
scaling = 1e-5 | ||
[../] | ||
[] | ||
|
||
[Kernels] | ||
[./diff] | ||
type = CoefDiffusion | ||
variable = u | ||
coef = 0.1 | ||
[../] | ||
[./time] | ||
type = TimeDerivative | ||
variable = u | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
[./left] | ||
type = DirichletBC | ||
variable = u | ||
preset = false | ||
boundary = left | ||
value = -1000 | ||
[../] | ||
[./right] | ||
type = DirichletBC | ||
variable = u | ||
preset = false | ||
boundary = right | ||
value = 100000 | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
scheme = 'implicit-euler' | ||
line_search = 'none' | ||
solve_type = PJFNK | ||
|
||
l_max_its = 20 | ||
nl_max_its = 20 | ||
nl_abs_div_tol = 1e+7 | ||
nl_div_tol = 1e+50 | ||
dt = 1 | ||
num_steps = 2 | ||
|
||
petsc_options = '-snes_converged_reason -ksp_converged_reason ' | ||
petsc_options_iname = '-pc_type -pc_hypre_type ' | ||
petsc_options_value = 'hypre boomeramg' | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
nx = 15 | ||
ny = 15 | ||
[] | ||
|
||
[Variables] | ||
[./u] | ||
scaling = 1e-5 | ||
[../] | ||
[] | ||
|
||
[Kernels] | ||
[./diff] | ||
type = CoefDiffusion | ||
variable = u | ||
coef = 0.1 | ||
[../] | ||
[./time] | ||
type = TimeDerivative | ||
variable = u | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
[./left] | ||
type = DirichletBC | ||
variable = u | ||
preset = false | ||
boundary = left | ||
value = -1000 | ||
[../] | ||
[./right] | ||
type = DirichletBC | ||
variable = u | ||
preset = false | ||
boundary = right | ||
value = 100000 | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
scheme = 'implicit-euler' | ||
line_search = 'none' | ||
solve_type = PJFNK | ||
|
||
l_max_its = 20 | ||
nl_max_its = 20 | ||
nl_forced_its = 4 | ||
nl_abs_div_tol = 1e+5 | ||
|
||
dt = 1 | ||
num_steps = 2 | ||
|
||
petsc_options = '-snes_converged_reason -ksp_converged_reason ' | ||
petsc_options_iname = '-pc_type -pc_hypre_type ' | ||
petsc_options_value = 'hypre boomeramg' | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Tests] | ||
design = 'syntax/Executioner/index.md' | ||
[./test_nl_forced_iterations] | ||
type = RunApp | ||
input = 'nl_forced_its.i' | ||
expect_out = "Nonlinear solve did not converge due to DIVERGED_DTOL iterations 4" | ||
requirement = 'The system shall perform n non linear iterations before checking for non linear divergence' | ||
issues = '#16474' | ||
design = 'FEProblemSolve.md' | ||
[../] | ||
[] |