krakentools.ants.add_homo_adf_to_node_branch

krakentools.ants.add_homo_adf_to_node_branch(nodebranches, shape, xwidth, ywidth_in=0.0, ywidth_out=0.0, height=1.0, folder='./Ants2D/', gc_type=GCTypes.INF, dc_type=DCTypes.INF, critical_node_method=AntsCriticalNodes.MODE_FLUX_LIMIT, eigenvalue_critical_limit=5e-07, eigenvalue_real_limit=1e-13)
Tries to evaluate and add homogeneous ADF values to node branch.

(under development). Based on homogenized whole (quarter) assembly data + homogenized data for outer and inner pin rows

Parameters:
  • nodebranches (List[Tuple[NodeBranch, Optional[NodeBranch], Optional[NodeBranch]]]) – List of nodebranches to process. The 3-tuple contains the homogenized full assembly, the homogenized outer pin row and the homogenized inner pin row.

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

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

  • ywidth_in (float) – The node width_y for the inner pin row (assembly centerline).

  • ywidth_out (float) – The node width_y for the outer pin row (includes water gap).

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

  • folder (str) – Folder in which the necessary Ants calculations are done.

  • gc_type (GCTypes) – Which group constant type should be used in the nodal solution.

  • dc_type (DCTypes) – Which diffusion coefficient type should be used in the nodal solution.

  • 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

Return type:

None