Increasing max linear solver iterations in HyperworksCFD

Feroz
Feroz Altair Community Member
edited November 2023 in Community Q&A

I would like to increase the maximum number of iterations for the temperature and radiation equations.  (Log files attached)

I tried to set this in the UI for Hyperworks CFD but it seems there are no fields for this to be filled in for radiation.

image

I then tried to fill this in the input file by using the acuTrans commands. (Input file attached)

# +----------------------------------------------------------------------+ # | Time Integration                                                     | # +----------------------------------------------------------------------+  TIME_INTEGRATION {     initialize_stokes                   = on     initialize_turbulence               = on }  STAGGER( "temperature" ) {     num_krylov_vectors                  = 20     min_stagger_iterations              = 2     max_stagger_iterations              = 4     min_linear_solver_iterations        = 10     max_linear_solver_iterations        = 4000 }  STAGGER( "radiation" ) {  equation = radiation  min_stagger_iterations = 2  max_stagger_iterations = 4  convergence_tolerance = 1.e-3  lhs_update_frequency = 1  linear_solver = gmres  min_linear_solver_iterations = 10  max_linear_solver_iterations = 4000  num_krylov_vectors = 40  linear_solver_tolerance = 0.01  projection = on } LINEAR_SOLVER_PARAMETERS {  num_radiation_projection_vectors = 5 } 

Problem is, when i run this in Compute Console, i get this;

image

Best Answer

  • acupro
    acupro
    Altair Employee
    edited November 2023 Answer ✓

    Assuming you've launched directly from HyperWorks CFD previously, I would try removing the . from the name of the input file.  Compute Console may not like that.  In general, I recommend using underscore _ for separators, rather than other characters.

Answers

  • acupro
    acupro
    Altair Employee
    edited November 2023 Answer ✓

    Assuming you've launched directly from HyperWorks CFD previously, I would try removing the . from the name of the input file.  Compute Console may not like that.  In general, I recommend using underscore _ for separators, rather than other characters.

  • Feroz
    Feroz Altair Community Member
    edited November 2023

    Assuming you've launched directly from HyperWorks CFD previously, I would try removing the . from the name of the input file.  Compute Console may not like that.  In general, I recommend using underscore _ for separators, rather than other characters.

    Appreciate the advice but I have launched far too many from compute console with a variation of A#.#_etc and they have worked before. 

    That said I did try anyway. Resaved the HMCFD file in a new folder, exported, and then ran again in compute console. Still got the same error dialogue box. 

    The input file where I just input the staggers for temperature works fine. There is definitely something wrong with the radiation one but I can't figure out why. Is there no way to do radiation staggers in the HMCFD UI?

     

  • Feroz
    Feroz Altair Community Member
    edited November 2023
    Feroz said:

    Appreciate the advice but I have launched far too many from compute console with a variation of A#.#_etc and they have worked before. 

    That said I did try anyway. Resaved the HMCFD file in a new folder, exported, and then ran again in compute console. Still got the same error dialogue box. 

    The input file where I just input the staggers for temperature works fine. There is definitely something wrong with the radiation one but I can't figure out why. Is there no way to do radiation staggers in the HMCFD UI?

     

    Actually, i apologise! 

    Turns out if you edit the input file the fullstop does matter. i tried again now and it works fine.

     

    Sorry, about earlier. I resaved my HMCFD file and exported, and then without thinking just ran an unedited input file. 

     

    Marking you answer as correct now.