next up [*] [*]
Next: 19. Heat Module Algorithms Up: 18. Flow Module Algorithms Previous: 18.4 Differencing Schemes

18.5 Looping Structure

To allow flexibility in the control of the solution of the hydrodynamics variables a number of levels of extra loops are available. The solver iteration loops are common to all solved variables so will not be discussed here. The loops of concern in this section are the momentum loop and the hydrodynaimcs loops. The logic of the code at this stage is The momentum loop will always perform the specified number of momentum sweeps. The hydrodynamics loop will perform another sweep if at the end of the loop the CONVERGE_ON_HYDRO variable is true, the mass residual has not converged and there are more hydrodynamic sweeps to be executed.




2002-12-09