create_network_blocks#
- Icepak.create_network_blocks(input_list, gravity_dir, top=0, assign_material=True, default_material='Ceramic_material')#
Create network blocks from CSV files.
- Parameters:
- input_list
list
List of sources with inputs
rjc
,rjb
, andpower
. For example,[[Objname1, rjc, rjb, power1, power2, ...], [Objname2, rjc2, rbj2, power1, power2, ...]]
.- gravity_dir
int
Gravity direction X to Z. Options are
0
to2
. This parameter determines the orientation of network boundary faces.- top
float
,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_material
str
,optional
Default material if
assign_material=True
. The default is"Ceramic_material"
.
- input_list
- Returns:
list
[ansys.aedt.core.modules.boundary.common.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']