Skip to content

Commit

Permalink
[T] SD/hollow sphere. Changes solver tols.
Browse files Browse the repository at this point in the history
Vectorize sigma in reference file.
Enable for Eigen builds too, update tolerance for sigma.
  • Loading branch information
endJunction committed Nov 6, 2018
1 parent 5cc9614 commit 517c317
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ProcessLib/SmallDeformation/Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ AddTest(
EXECUTABLE ogs
EXECUTABLE_ARGS hollow_sphere.prj
TESTER vtkdiff
REQUIREMENTS OGS_USE_LIS
REQUIREMENTS NOT OGS_USE_MPI
DIFF_DATA
expected_hollow_sphere_pcs_0_ts_1_t_1.000000.vtu hollow_sphere_pcs_0_ts_1_t_1.000000.vtu displacement displacement 1e-15 0
expected_hollow_sphere_pcs_0_ts_1_t_1.000000.vtu hollow_sphere_pcs_0_ts_1_t_1.000000.vtu sigma sigma 1e-15 0
expected_hollow_sphere_pcs_0_ts_1_t_1.000000.vtu hollow_sphere_pcs_0_ts_1_t_1.000000.vtu sigma sigma 1e-11 0
)

# Pressure boundary condition: elastic pipe plain strain
Expand Down
Git LFS file not shown
6 changes: 3 additions & 3 deletions Tests/Data/Mechanics/Linear/PressureBC/hollow_sphere.prj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<abstol>1e-16</abstol>
<abstol>1e-14</abstol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
Expand Down Expand Up @@ -172,7 +172,7 @@
<nonlinear_solver>
<name>basic_newton</name>
<type>Newton</type>
<max_iter>5</max_iter>
<max_iter>10</max_iter>
<linear_solver>general_linear_solver</linear_solver>
</nonlinear_solver>
</nonlinear_solvers>
Expand All @@ -181,7 +181,7 @@
<name>general_linear_solver</name>
<lis>-i bicgstab -p jacobi -tol 1e-16 -maxiter 100000</lis>
<eigen>
<solver_type>BiCGSTAB</solver_type>
<solver_type>CG</solver_type>
<precon_type>DIAGONAL</precon_type>
<max_iteration_step>100000</max_iteration_step>
<error_tolerance>1e-6</error_tolerance>
Expand Down

0 comments on commit 517c317

Please sign in to comment.