create_network_blocks#

Icepak.create_network_blocks(input_list, gravity_dir, top=0, assign_material=True, default_material='Ceramic_material')[source]#

Create network blocks from CSV files.

Parameters:
input_listlist

List of sources with inputs rjc, rjb, and power. For example, [[Objname1, rjc, rjb, power1, power2, ...], [Objname2, rjc2, rbj2, power1, power2, ...]].

gravity_dirint

Gravity direction X to Z. Options are 0 to 2. This parameter determines the orientation of network boundary faces.

topfloat, optional

Chosen orientation (X to Z) coordinate value in millimeters of the top face of the board. The default is ‘’0 mm’’. This parameter determines the casing and board side of the network.

assign_materialbool, optional

Whether to assign a material. The default is True.

default_materialstr, optional

Default material if assign_material=True. The default is "Ceramic_material".

Returns:
list of pyaedt.modules.Boundary.BoundaryObject

List of boundary objects created.

References

>>> oModule.AssignNetworkBoundary

Examples

Create network boundaries from each box in the list.

>>> box1 = icepak.modeler.create_box([1, 2, 3],[10, 10, 10],"NetworkBox2","copper")
>>> box2 = icepak.modeler.create_box([4, 5, 6],[5, 5, 5],"NetworkBox3","copper")
>>> blocks = icepak.create_network_blocks([["NetworkBox2", 20, 10, 3], ["NetworkBox3", 4, 10, 2]],
...                                        2, 1.05918, False)
>>> blocks[0].props["Nodes"]["Internal"]
['3W']