krakentools.ants.write_ants_single_node_input

krakentools.ants.write_ants_single_node_input(folder, shape, xwidth, ywidth, height, port_idx='', critical_node_method=AntsCriticalNodes.MODE_FLUX_LIMIT, eigenvalue_critical_limit=5e-07, eigenvalue_real_limit=1e-13)
Writes a single node input for Ants that is used for all reflector

and fuel nodes in the Ants reflector constant calculations.

Parameters:
  • folder (str) – Folder into which the input is created.

  • shape (AntsGeometryTypes) – The shape for the node, affects Ants geometry type.

  • xwidth (float) – The node width_x for Ants input.

  • ywidth (float) – The node width_y for Ants input.

  • height (float) – The node axial height for Ants input.

  • port_idx (str) – Additional string appended to input filename at Ants{}.inp. Default: “”

  • critical_node_method (AntsCriticalNodes) – The approach to use in Ants to treat critical nodes. Default: AntsCriticalNodes.MODE_FLUX_LIMIT

  • eigenvalue_critical_limit (float) – The limit for eigenvalue to consider a node critical in Ants simulation. Default: 5e-7

  • eigenvalue_real_limit (float) – eigenvalue_real_limit parameter for Ants. Default: 1e-13

Raises:

NotImplementedError – For node shapes other than square and hexx.

Return type:

None