armi.matProps.tableFunction2D module

A simple implementation for a 2D table to replace analytic curves in the YAML data files.

class armi.matProps.tableFunction2D.TableFunction2D(mat, prop)[source]

Bases: TableFunction

A 2 dimensional table function. The input format, below, is permitted to have null values in it, which if used during the calculation/interpolation will throw a ValueError.

The YAML format demonstrating the two dimensional tabulated data is:

function:
  <var1>: 0
  <var2>: 1
  type: two dimensional table
tabulated data:
  - [null,   [ 375., 400., 425., 450., 475., 500., 525., 550., 575., 600., 625., 650.]]
  - [1.,     [   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.]]
  - [10.,    [   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.]]
  - [300.,   [   1.,   1.,   1.,   1.,   1.,   1.,   1.,   1.,  .97,  .91,  .87,  .84]]
  - [30000., [   1.,   1.,   1.,   1.,  .93,  .88,  .83,  .80,  .75, null, null, null]]
  - [300000.,[   1.,   1.,   1.,  .89,  .83,  .79,  .74,  .70,  .66, null, null, null]]

Constructor for TableFunction2D object.

Parameters:
  • mat (Material) – Material object with which this TableFunction2D is associated

  • prop (Property) – Property that is represented by this TableFunction2D