Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 36

Multigroup Iteration Algorithm

Recommended resources

Introduction

In our last lesson, we examined the scattering transfer matrix and saw how it couples the system of multigroup transport equations. The key takeaway was that while down-scattering creates a one-way dependency that can be solved with a simple energy sweep, the presence of up-scattering introduces a circular dependency: higher-energy group fluxes depend on lower-energy group fluxes, and vice-versa. This circularity prevents a straightforward, single-pass solution.

Today, we will address this challenge head-on. Our goal is to formulate the algorithm for solving a multigroup problem using outer (energy) and inner (spatial/angular) iterations. We will construct the complete, nested iterative procedure that forms the computational engine of virtually all modern deterministic transport codes. This will involve breaking down the complex, fully coupled problem into a sequence of more manageable sub-problems that are solved repeatedly until a converged solution is found.


The Anatomy of a Multigroup Solver: Nested Iterations

Solving the multigroup transport equations is a classic example of tackling a complex, coupled system through iteration. The core idea is to guess an initial solution, use that guess to calculate the terms that couple the equations (the sources), solve a simplified version of the equations to get an updated solution, and then repeat this process until the solution no longer changes between iterations.

For the multigroup transport problem, this iterative process is organized into a nested hierarchy of loops, each designed to resolve a specific type of coupling. Let's use a flowchart, which is a common way to visualize these algorithms in transport code manuals, as our guide.

This flowchart illustrates the standard iterative algorithm for a multigroup criticality calculation. It shows the nested structure of the "Outer Iteration" for the fission source and the "Inner Iteration" for the scattering source.

We will now dissect this structure, starting from the outermost loop and working our way inward.


The Outermost Loop: Fission Source Iteration

For many problems, especially in reactor physics, we are interested in finding the steady-state neutron distribution in a system containing fissile material. This is a criticality or eigenvalue problem, where we need to find not only the flux distribution but also the effective multiplication factor, , that allows the neutron population to remain stable.

The fission source term in the transport equation depends on the flux in all groups, and it is scaled by . This creates the most global coupling in the entire problem: the flux depends on the fission source, which in turn depends on the flux.

The fission source iteration (often called the power method or simply the outer iteration in code manuals) resolves this dependency. The procedure is as follows:

  1. Make an initial guess for the eigenvalue, , and the spatial distribution of the fission source (or equivalently, the flux profile). A flat, uniform guess is common.
  2. Using the current estimate of the fission source and , solve the multigroup transport equations to find the corresponding group fluxes, . (We will see in a moment that this step itself requires iterations).
  3. Using these new fluxes, calculate a new fission source.
  4. Calculate an updated eigenvalue, , by taking the ratio of the total number of neutrons produced by fission in the current iteration to the number produced in the previous iteration.
  5. Check if and the fission source distribution have converged. If yes, the problem is solved. If not, increment the iteration counter and return to step 2.

This outermost loop is shown as the "Outer Iteration" path in the flowchart, which begins after an initial guess and loops back after computing a new .

[PDF] PROTEUS-SN Methodology Manual - Argonne Scientific Publications

The PROTEUS-SN code manual describes this outermost loop in detail. PROTEUS is a modern transport code developed at Argonne National Laboratory.

Please read section 3.4.4, "Fission Source Iteration," starting with the subsection Power Iteration. This section outlines the power method for finding the eigenvalue k_{eff} and the corresponding fission source eigenvector. Note how it explicitly forms an eigenvalue problem, which is what this iterative loop solves.


The "Outer" Loop: Group-to-Group Iterations

Within each fission source iteration, we must find the flux that corresponds to the current fission source. This means solving the system of coupled multigroup equations. As we know from the last lesson, this is complicated by up-scattering.

The group iteration loop handles this. A very common and intuitive scheme is the Gauss-Seidel method. The idea is to sweep through the energy groups from highest energy (group 1) to lowest (group G), solving the transport equation for each group one by one. The crucial detail is that when calculating the scattering source for the current group g, we use the most recently updated flux values available for all other groups g'.

Let's formalize this. The multigroup equation for group g at iteration n can be written by separating the source terms:

Notice the iteration indices:

  • Down-scattering (): Since we sweep from high to low energy, the fluxes for groups have already been updated in the current iteration n. We use these new values.
  • Up-scattering (): The fluxes for groups have not yet been updated in this sweep. Therefore, we must use the values from the previous iteration n-1.

After completing a full sweep from g=1 to G, we have a new set of fluxes. We then check if the fluxes have converged. If not, we start another sweep. This iterative process continues until the flux in every group is consistent with the fluxes in all other groups it is coupled to.

If a problem has no up-scattering, the second term on the right is zero. The system becomes lower triangular, and the solution is found in a single sweep (n=1) without any need for group iteration.

[PDF] The Transport Equation Where it all begins - HAL

This document provides a clear, concise mathematical formulation of this iterative scheme.

Please read the slide titled "Iterative solution...". The equations on this slide perfectly illustrate the Gauss-Seidel approach by explicitly using the iteration indices n and n-1 to distinguish between sources calculated from already-updated fluxes (down-scattering) and those from previous-iteration fluxes (up-scattering).

This group-wise iteration is the "outer iteration" referred to in the learning outcome. In the flowchart, this process is implicitly represented by the fact that the entire calculation shown is for a single group g, and this must be repeated for all groups until all group fluxes are converged before proceeding to the next update of k_eff.


The "Inner" Loop: Within-Group Source Iteration

We have now drilled down to solving the transport equation for a single group g, assuming all out-of-group sources are known:

Here, represents all the fission, external, down-scattering, and up-scattering sources, which we treat as fixed for now. Notice that the equation is still self-referential: the angular flux on the left-hand side depends on an integral of itself over all angles on the right-hand side.

This final dependency is resolved by the within-group scattering iteration (or simply source iteration). This is the "inner iteration" from our learning outcome and is shown explicitly in the flowchart. The algorithm is:

  1. Make an initial guess for the scalar flux in this group, .
  2. Use to compute the within-group scattering source, . For simplicity, let's assume isotropic scattering, so .
  3. Solve the equation . Since the source term is now known, this equation is no longer an integro-differential equation. For the S method, this step is performed with a "spatial sweep" across the problem geometry for each discrete direction.
  4. Integrate the new angular flux over all angles to get an updated scalar flux, .
  5. Check if the scalar flux has converged. If yes, the within-group problem is solved. If not, increment k and return to step 2.

This innermost loop is crucial for all deterministic methods. The convergence rate of this iteration can be very slow in optically thick, highly scattering media, which has led to the development of powerful acceleration techniques, a topic we will touch on later in the course.

[PDF] PROTEUS-SN Methodology Manual - Argonne Scientific Publications

The PROTEUS-SN manual describes this process clearly.

Please read the first half of section 3.4, "Multi-Group Solve Procedure." Focus on the paragraph that begins "For each within-group system...". This text describes how the group sources are calculated from current flux estimates and then the "within-group solver is then called". It explicitly mentions this solver involves a "scattering (Richardson) iteration," which is another name for the source iteration we've just described.


The Complete Algorithm

Let's assemble the pieces into a single, comprehensive algorithm, illustrating the full nested structure.

  1. Initialization:

    • Set fission source iteration index j=0.
    • Guess initial flux/source distribution and .
  2. Fission Source (Outer) Iteration Loop: (while is not converged)

    • Increment j.
    • Initialize group fluxes for the new outer step. Set group iteration index i=0.
  3. Group Iteration Loop: (while group fluxes are not converged)

    • Increment i.

    • For each energy group g = 1, ..., G:

      • Initialize within-group flux . Set inner iteration index k=0.
      • Within-Group (Inner) Iteration Loop: (while is not converged)
        • Increment k.
        • Compute total source using the latest available fluxes:
          • Fission source from outer iteration j-1.
          • Down-scatter source from groups from group iteration i.
          • Up-scatter source from groups from group iteration i-1.
          • In-scatter source from within-group flux .
        • Solve for the new angular flux via spatial sweep.
        • Compute the new scalar flux .
      • End Inner Loop.
    • End Group Loop.

  4. End Group Iteration Loop.

    • Compute the new global fission source using the converged group fluxes from this outer step.
    • Compute the new eigenvalue .
  5. End Fission Source Loop.

  6. Output Results.

This nested structure effectively decouples the problem at three different levels: fission source, energy group, and scattering angle.


Conclusion

In this lesson, we have constructed the standard iterative algorithm for solving the multigroup transport equation. You now understand how the physical coupling between fission, energy groups, and scattering angles is resolved computationally through a series of nested loops.

Key Takeaways:

  • Solving the multigroup transport equation requires a nested iterative approach to handle coupling at multiple levels.
  • The fission source iteration (or power iteration) is the outermost loop in criticality problems. It resolves the circular dependency between the flux and the fission source it creates.
  • The group iteration is the next level, handling the coupling between energy groups. It typically uses a Gauss-Seidel scheme, sweeping through energy groups and using the most up-to-date flux estimates to compute scattering sources. This is required for problems with up-scattering.
  • The within-group or source iteration is the innermost loop. It resolves the angular coupling of the scattering source within a single energy group, iterating between calculating the source and solving for the flux.

Preview of the Next Lesson:

Having formulated this algorithm in theory, the next logical step is to see it in action. In the next lesson, we will implement the full multigroup solution algorithm for a simple down-scattering problem in slab geometry. We will translate the abstract steps we've outlined today into working Python code, providing a concrete and practical understanding of how these powerful methods are realized.