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 9797 # deformation tensor is just forwarded Fnew -> F
9898 forward_buffer = F
9999 forward_buffer_new = Fnew
100- substeps = 10
100+ substeps = 1
101101[]
102102
103103[TensorOutputs]
117117
118118[Outputs]
119119 perf_graph = true
120+ console = true
120121[]
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ FFTMechanics::computeBuffer()
134134 dFm = dFm_new ;
135135
136136 // update DOFs (array -> tens.grid)
137- _u = _u + dFm .reshape (_r2_shape );
137+ _u += dFm .reshape (_r2_shape );
138138
139139 // new residual stress and tangent
140140 _constitutive_model .computeBuffer ();
@@ -148,9 +148,7 @@ FFTMechanics::computeBuffer()
148148
149149 // print nonlinear residual to the screen
150150 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;
154152
155153 // check convergence
156154 if (rnorm < _nl_rel_tol || anorm < _nl_abs_tol )
You can’t perform that action at this time.
0 commit comments