Skip to content

sliceMapperByMaterial

Description

The slices are created material by material. The number and height of the slices are provided by the user in the materials subdictionary.


Options

The byMaterial slice mapper requires only a few options per material in the respective subdictionary located within the solverDict.

Parameters in materials subdictionaries:

nSlices Number of axial slices in this material.
heightSlices List of scalar values indicating the height of each slice, from bottom to top. If heightSlices is not specified, the fuel will be split into nSlices uniform slices.

Warning

Note that the number of axial slices cannot exceed the number of axial cells in the mesh, as this would likely result in a Fatal Error during the simulation.

Warning

If specifying the slice heights manually, ensure that the total height of all slices matches the actual height of the mesh exactly.


Usage

Here is a code snippet of the solverDict as an example of how to correctly set the byMaterial axial mapper:

...
sliceMapper     byMaterial;

materials
{
    fuel
    {
        material   UO2;

        ...

        nSlices 10;

        // If heightSlices is not specified, the fuel will be split
        // nSlices uniform slices.
        // In this example, the fuel (0.5m long) is split in 5 slices of 
        // 0.1m
        heightSlices( 0.1 0.1 0.1 0.1 0.1);

        ...
    }
}