Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

In Segregated Step 1: There was an error message from the linear solver. The relative error (2.2e+002) is greater than the relative tolerance.

Please login with a confirmed email address before reporting spam

Hi all,

Why does this error happen and how do I solve it?

This is the log file:

============================================================
Minimum element quality: 0.03333
============================================================
Stationary Solver 1 in Study 1/Solution 3 (sol3) started at 18-Mar-2016 08:12:59.
Nonlinear solver
Number of degrees of freedom solved for: 86118.
Nonsymmetric matrix found.
Scales for dependent variables:
Electric potential (mod1.V): 29
Displacement field (Material) (mod1.u): 6.5e-008
Pressure (mod1.p): 1e+005
Displacement field (Material) (mod1.u2): 1e-008
Orthonormal null-space function used.
Iter SolEst ResEst Damping Stepsize #Res #Jac #Sol LinErr LinRes
1 0.065 3.2 1.0000000 7.2 2 1 2 2.1e-010 1.9e-011
2 3e-006 0.00061 1.0000000 0.031 3 2 4 1.7e-010 8.3e-012
Stationary Solver 1 in Study 1/Solution 3 (sol3): Solution time: 3 s
Physical memory: 1.28 GB
Virtual memory: 1.41 GB
Time-Dependent Solver 1 in Study 1/Solution 3 (sol3) started at 18-Mar-2016 08:13:04.
Time-dependent solver (BDF)
Number of degrees of freedom solved for: 73170.
Nonsymmetric matrix found.
Scales for dependent variables:
Pressure (mod1.p2): 1e+005
Velocity field, continuous phase (Spatial) (mod1.uc): 3.8e+002
Velocity field, dispersed phase (Spatial) (mod1.ud): 3.4e+002
Nonsymmetric matrix found.
Scales for dependent variables:
Volume fraction, dispersed phase (mod1.phid): 0.0093
Nonsymmetric matrix found.
Step Time Stepsize Res Jac Sol Order Tfail NLfail LinErr LinRes
0 0 - out 22 15 22 0
Group #1: 11 3 11 0.005 1.2e-013
Group #2: 11 12 11 1.7e-013 1.5e-016
1 2.5e-005 2.5e-005 94 65 93 1 0 1
Group #1: 34 5 34 0.00032 5.8e-014
Group #2: 60 60 59 1.4e-013 2.2e-016
2 7.5e-005 5e-005 100 69 99 1 0 1
Group #1: 37 6 37 0.0094 3.9e-014
Group #2: 63 63 62 1.4e-013 2.2e-016
3 0.000175 0.0001 102 71 101 1 0 1
Group #1: 38 7 38 0.0024 5.5e-014
Group #2: 64 64 63 1.4e-013 1.8e-016
4 0.000375 0.0002 104 73 103 1 0 1
Group #1: 39 8 39 0.0047 2.8e-014
Group #2: 65 65 64 1.4e-013 1.7e-016
5 0.000775 0.0004 107 76 106 1 0 1
Group #1: 40 9 40 0.0042 1.6e-014
Group #2: 67 67 66 1.6e-013 1.8e-016
6 0.001575 0.0008 110 79 109 1 0 1
Group #1: 41 10 41 0.00086 2.2e-014
Group #2: 69 69 68 1.9e-013 1.6e-016
7 0.003175 0.0016 122 88 121 1 0 1
Group #1: 45 11 45 0.0078 3.5e-014
Group #2: 77 77 76 1.6e-013 1.6e-016
8 0.006375 0.0032 125 91 124 1 0 1
Group #1: 46 12 46 0.0054 7.2e-014
Group #2: 79 79 78 1.4e-013 1.5e-016
- 0.01 - out
9 0.012775 0.0064 150 109 149 1 0 1
Group #1: 54 13 54 0.00069 3.9e-014
Group #2: 96 96 95 1.6e-013 1.6e-016
- 0.02 - out
10 0.022775 0.01 190 133 189 1 0 1
Group #1: 71 14 71 0.0098 1.4e-014
Group #2: 119 119 118 2.4e-013 2.1e-016
- 0.03 - out
11 0.032775 0.01 195 137 194 1 0 1
Group #1: 73 15 73 0.004 1.1e-014
Group #2: 122 122 121 1.6e-013 2.1e-016
- 0.04 - out
12 0.042775 0.01 204 144 203 1 0 1
Group #1: 76 16 76 0.0082 5.6e-014
Group #2: 128 128 127 1.8e-013 1.6e-016
- 0.05 - out
13 0.052775 0.01 235 161 234 1 0 1
Group #1: 91 17 91 0.00085 8.7e-015
Group #2: 144 144 143 1.9e-013 1.6e-016
Warning: In Segregated Step 1:
Warning: There was an error message from the linear solver.
Warning: The relative error (2.2e+002) is greater than the relative tolerance.
Stopped
Time-Dependent Solver 1 in Study 1/Solution 3 (sol3): Solution time: 3143 s (52 minutes, 23 seconds)
Physical memory: 1.67 GB
Virtual memory: 1.74 GB

1 Reply Last Post Mar 18, 2016, 9:45 a.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Mar 18, 2016, 9:45 a.m. EDT
Hi,
One can look at the convergence plot of the solver and see the relative error. In order to get rid of the error message one can reduce the relative tolerance in the Solver Settings.
Best regards,
Ivan
Hi, One can look at the convergence plot of the solver and see the relative error. In order to get rid of the error message one can reduce the relative tolerance in the Solver Settings. Best regards, Ivan

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.