A fine mesh to get into29 June 2001
CFD analysis can now create a high-quality 3D mesh to simulate boron mixing in a reactor – technology that could accurately predict real-world events.
One way that engineers in the nuclear power industry participate in accident analysis is through international standard problems (ISP’s). An organising body defines a standard problem, and researchers from various countries then work independently to solve it.
One recent study, that was sponsored by the Committee on the Safety of Nuclear Installations (CSNI) arm of the Organisation of Economic Co-operation and Development (OECD), involved solving a problem using computational fluid dynamics (CFD) to predict boron mixing in the downcomer of a PWR.
In a PWR, soluble boric acid is added to the primary system cooling water as a means of reactivity control because boric acid is a strong absorber of neutrons. The borated water is pumped through the reactor to carry heat from the fuel to steam generators.
The organisers of this ISP postulated an accident initiated by a small leak in the reactor coolant system. The flow through the system stops as the coolant inventory is lost. During this time, a volume of pure, or unborated, water accumulates in the system at the heat exchanger used for steam generation. After some time, a significant slug of unborated water is presumed to have formed. Reinitiation of the flow in the system causes the slug of unborated water to travel back toward the reactor core. If the unborated slug does not mix sufficiently with the existing borated water in the reactor vessel, a reactivity excursion could occur with a potential for fuel damage.
Christopher Boyd of the US Nuclear Regulatory Commission (NRC) was one of fifteen researchers from 10 countries who participated in the ISP. The goal was to predict the mixing of a volume of pure water as it was pumped into a reactor vessel filled with borated water. “This is an important issue, but it’s also important to understand that we are studying hypothetical scenarios based upon the occurrence of a series of unlikely events,” says Boyd. “Full-scale testing of such events would be extremely costly and potentially dangerous. CFD provides a great way to take a look at these phenomena at a minimal cost and with no risk.”
CFD is a good tool for simulating the mixing of fluids, such as borated and unborated water, according to Boyd.
A CFD simulation provides predictions throughout the solution domain, which give the user access to a wealth of information. More importantly, a researcher may change the geometry of the system or significant input parameters to determine the sensitivity of the solution to these assumptions.
Boyd used CFD software from New Hampshire-based Fluent to simulate this accident scenario. He needed a high quality computational mesh for the complex geometry involved. Pipe junctions, present in the ISP geometry definition, provide one example of complex geometry that has traditionally been difficult to mesh uniformly and without a mesh of good quality, it is difficult to compute accurate results. Boyd used the paving algorithm and the cooper tool in Gambit, the Fluent preprocessor, to generate a fairly uniform hexagonal mesh in irregular areas. His CFD results showed details consistent with experimental observation that were missed by other researchers’ predictions of the same problem.
“Much of the geometry was regular, such as the inlet and outlet pipes and the regions away from the pipe intersections,” says Boyd. “These areas could be meshed with a structured hexagonal mesh, which gives the most accurate results. But it has traditionally been difficult to create a uniform mesh in the pipe junctions, of which this model had many.” Creating a structured hexagonal mesh in these regions is time consuming and does not produce an ideal mesh. A common approach is to use traditional unstructured meshing tools to create tetrahedral elements in these areas. This is an easy approach for the user but the tetrahedral elements are not considered to be very accurate.
Boyd found the Fluent preprocessor Gambit well-suited to meshing this geometry. “Tools such as the 2D paving algorithm and the 3D cooper tool can be used to create a high quality hexagonal mesh in the pipe to vessel junction regions,” he says. “The code solves the Reynolds averaged Navier-Stokes equation set on a finite volume mesh. These equations describe the continuity of mass, momentum, and energy in a continuous fluid. Turbulence modelling accounts for the turbulent diffusion of momentum and energy. The Fluent code includes a variety of turbulence modelling options,” he adds.
Boyd was given a CAD model of the University of Maryland’s experimental loop facility. Although it was in a format (Pro/ENGINEER) that he could import into Gambit, he opted to recreate the geometry himself. “The CAD model had too many details – small features such as gaskets and bolt holes, for example – that were not significant to the CFD analysis. I opted instead to recreate the geometry from scratch using Gambit,” he says. Gambit provides top-down geometry construction using 3D primitives. It enabled Boyd to create the geometry quickly, without forcing him to deal with the complexity of a full production drawing. The loop facility is basically a very simple structure and, while Boyd left out some details, he made sure to include those that might affect mixing within the downcomer. For example, he included a small, inward-facing step change in downcomer width.
Tools simplify meshing
After laying out the geometry in Gambit, the next step was to develop the computational mesh. Boyd first created a uniform 3D structured mesh in regions surrounding the pipe junctions. Next, he needed to make transitions between these areas. Using Gambit features, a fairly uniform hexagonal mesh was quickly created in the pipe junctions which smoothly connected the surrounding structured mesh regions.
One of the tools he used was the software’s paving algorithm, which can create a 2D surface mesh of nearly square elements given an existing mesh at the boundaries. “The paving tool let me automatically create smooth transitions between regions with different mesh topology, such as those on an inlet pipe and on the reactor vessel,” explains Boyd. “With a structured mesh, you would have to compromise and give both regions the same mesh structure if you wanted to connect them. That prevents you from optimising the structures separately. But with Gambit, I could optimise the mesh in each region independently, and then use the paving tool to make the transition between them with a fairly uniform mesh. This process produces a high quality, uniform surface mesh with minimal user effort.”
Next Boyd used Gambit’s cooper tool to create a 3D volume mesh from the 2D surface mesh. This tool sweeps the mesh patterns created on a surface through a 3D volume. Boyd selected the volume to be meshed, and the software projected the surface mesh across the 3D volume. “This saved a lot of time for the cylinder to cylinder intersections,” Boyd says. “Gambit determines the projected surfaces and projection direction automatically in most cases. By using the cooper tool across the pipe intersections, I was able to obtain a good quality hexagonal mesh with minimal effort.”
After creating an initial mesh and specifying boundary conditions, Boyd ran the CFD simulation on an eight-processor Compaq Alpha computer. He used Fluent’s segregated transient solver and allowed the solution to fully converge after each time step. Initial results were available one week after Boyd starting work on the problem. After getting the preliminary results, Boyd refined the model by performing a grid independence and time step study. A final grid was created and further optimised using the solution based adaptation feature in Fluent. Solution adaptation takes each cell in a user defined adaptation region and divides it into multiple, smaller cells. The study led to the use of a final mesh with 434,589 cells that had reduced cell sizes in regions requiring additional solution detail. The time step study showed that the initial model that solved the problem with time increments was not completely time accurate. It was demonstrated that using 1/20-second increments provided the desired time step convergence.
In this ISP, the CFD results obtained by different researchers were compared with experimental data from two types of tests. One test, that was performed at the University of Maryland’s integral 2x4 loop facility simulated the boron mixing phenomena using hot and cold water. Inlet flow rates and temperatures at selected points in the domain were measured during several tests.
In another test, a transparent replica of the university’s loop facility was constructed to allow for quantitative optical concentration and velocity measurements. This facility used a dye marker to represent the unborated slug. The ISP was conducted as a blind test, which means that Boyd and the other researchers conducting the CFD analyses were not given the experimental results until after their CFD predictions were submitted.
Predictions based on Boyd’s CFD analysis compared very well with temperature data collected experimentally, coming to within the level of experimental uncertainty. The accuracy of his model was actually more evident in the prediction of flow patterns, however. Similar to the data recorded by the optical facility, Boyd's CFD results showed the slug entering the downcomer, and forming a stagnation region on the inner cylindrical surface. A wall jet spread out in all directions, and when it reached the step change in the downcomer width, it jumped from the inner to the outer wall. “Some other researchers’ simulations showed the wall jet continuing to hug the inner wall after passing the step change. The flow pattern predicted by Fluent was also consistent with what the optical test data showed,” Boyd says.
The ISP showed that CFD analysis is capable of simulating boron mixing in a nuclear reactor, but only when the analysis is based on a valid CFD model.
The work illustrates that an optimised finite volume mesh is a key requirement for achieving a valid model. By using the tools available in Fluent’s preprocessor, Boyd was able to quickly create a high quality 3D mesh even in traditionally difficult areas, and then optimise the mesh in Fluent to accurately predict real-world results.