File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
examples/degeus_mechanics Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 97
97
# deformation tensor is just forwarded Fnew -> F
98
98
forward_buffer = F
99
99
forward_buffer_new = Fnew
100
- substeps = 10
100
+ substeps = 1
101
101
[]
102
102
103
103
[TensorOutputs]
117
117
118
118
[Outputs]
119
119
perf_graph = true
120
+ console = true
120
121
[]
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ FFTMechanics::computeBuffer()
134
134
dFm = dFm_new ;
135
135
136
136
// update DOFs (array -> tens.grid)
137
- _u = _u + dFm .reshape (_r2_shape );
137
+ _u += dFm .reshape (_r2_shape );
138
138
139
139
// new residual stress and tangent
140
140
_constitutive_model .computeBuffer ();
@@ -148,9 +148,7 @@ FFTMechanics::computeBuffer()
148
148
149
149
// print nonlinear residual to the screen
150
150
if (_verbose )
151
- _console << "|R |=" << anorm << "\t |R /R0 |=" << rnorm << '\n ';
152
- std ::cout << iiter << " |R|=" << anorm << " vs " << _nl_abs_tol << "\t|R/R0|=" << rnorm
153
- << " vs " << _nl_rel_tol << '\n' ;
151
+ Moose ::out << "|R |=" << anorm << "\t |R /R0 |=" << rnorm << std::endl;
154
152
155
153
// check convergence
156
154
if (rnorm < _nl_rel_tol || anorm < _nl_abs_tol )
You can’t perform that action at this time.
0 commit comments