FrontISTR【Newton法の反復数】
FrontISTRで遊んでいたら、以下のコメントがでて停止しました。
### Fail to Converge : at total_step=...
Newton法の反復回数の上限(50回で設定)に達したようです。ソースコードを眺めていると当該箇所見つけました。
@/analysis/static/fstr_solve_NonLinear.f90
! ----- check divergence and NaN if( iter == fstrSOLID%step_ctrl(cstep)%max_iter .or. rres > fstrSOLID%step_ctrl(cstep)%maxres .or. rres /= rres ) then if( hecMESH%my_rank == 0) then write(ILOG,'(a,i5,a,i5)') '### Fail to Converge : at total_step=', cstep, ' sub_step=', sub_step write( *,'(a,i5,a,i5)') ' ### Fail to Converge : at total_step=', cstep, ' sub_step=', sub_step end if
fstrSOLID%step_ctrl(cstep)%max_iterが実体のようです。
@/lib/m_step.f90
!> Initializer subroutine init_stepInfo( stepinfo ) type( step_info ), intent(out) :: stepinfo !< step info ... stepinfo%max_iter = 50 ... end subroutine
.cnt内のファイルを修正することで、設定変更できそうです。
!STEP, CONVERG=1.E-10, ITMAX=200