• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Optimization
  3. How to manually set max iterations on Design3D

Stats

  • State Verified Answer
  • Replies 9
  • Subscribers 5
  • Views 9583
  • Members are here 0
More Content

How to manually set max iterations on Design3D

JosephSmith
JosephSmith over 3 years ago

Hi Everyone,

My question is how to manually set the max iteration to run each simulation in the database for Design3D. context: I am attempting to start a multipoint optimization of a centrifugal impeller with water as the fluid. I am using the Spalart-Allmaras turbulence model with the following boundary conditions in the turbo solver:



The Barotropic Cavitation model within Fine turbo is enabled. I only changed the saturation pressure based on the operating temperature, and Amin value to 80 based on a rough calculation of the speed of sound in the two phase medium.



The initial simulation converged to global residuals of -3.8 with the above selections. However, all the samples failed to converge in design3d. It was not a mesh failure, only convergence errors. Opening up the job_eranus files for each computation showed that sometimes the simulation would stop at just 200 iterations. Other times it would stop at 3000. I've summarised them below



I suspect the convergence would improve if I manually set the max iterations to 5000, like my initial simulation. I would like to know how to do this in fine design 3d as I only saw the option to set the convergence level. Alternatively, I would appreciate any other angles to resolve the error.

  • Sign in to reply
  • Cancel
  • domen
    0 domen over 3 years ago in reply to JosephSmith

    Sure, here my thoughts:

    1) ok, let me know how it goes your investigation.

    2) that's pretty normal. Fine scales the residuals to the ones at the first iteration, so the convergence depends on what happens at iteration 1. We rather look at the global data (efficiency etc) and add a control point if needed. When we restart, the scaling can even produce even residuals that are a few orders of magnitude bigger, (+1, +2).

    3) you can see residuals for each group if you enable this option in the Control variables box: 

    If the simulation doesn't converge well, then I'd look at where the residuals are higher in the Monitor. Otherwise, if the convergence curves for efficiency/pdiff are ok (flat, not oscillating, stable) I'd consider the run ok. Watch out: any oscillations in the p_diff can create _a lot of_ noise on the surrogate model.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • JosephSmith
    0 JosephSmith over 3 years ago in reply to domen

    Thanks for the reply.

    1. I have not identified how that occurred yet. I made a duplicate of that initial simulation. In this duplicate simulation in Fine turbo, I used the old original simulation run file (the simulation that converged to -4 as the initial solution. However, I clicked on the ''reset convergence'' option. With this checked, the simulation converged only to -2.3. Does the screening process reset convergence when it uses the initial fine turbo simulation?

    I decided to restart from the beginning after running out of ideas. I imported my impeller parasolid into autogrid, and did a preliminary mesh. I used the geomturbo file outputted from this preliminary mesh as the target model for autoblade. I then parametrized the impeller in autoblade as usual. 

    I exported a geomturbo file from this autoblade parametrized impeller. I then opened up autogrid, and initialized an autogrid project from this autoblade exported geomturbo file. I meshed it and then ran a fine turbo simulation using it. However, something peculiar happened- 
    the global residual became flat at only -0.8 despite being the same type of geometry as my first few sims that converged at -4. The LE was slightly differed compared to the 1st sim, but the mesh quality was very similar, and the BC were the same. Still working out how that happened. 

    2. To be honest how each residual in a cell is collected as one and scaled is abit of a black box to me so I can't quite give an opinion on the 2nd point. I'll be looking into some background and get back to you  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • domen
    +1 domen over 3 years ago in reply to JosephSmith

    OK, thanks for the feedback. 

    JosephSmith said:
    Does the screening process reset convergence when it uses the initial fine turbo simulation?

    No, it doesn't. Fine Design3D just runs the CFD solver with the options and settings stored saved in the project (and run file).

    Wrt the residuals: since there is scaling, the number of iterations on the coarser grids, the initial solution, and CFL have their weight. It is, of course, important to see the residuals going down, but in some cases, just the global residuals don't tell the full story.   

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • JosephSmith
    0 JosephSmith over 3 years ago in reply to domen

    Alright, thanks for the confirmation

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information