add_ground_layer#

Stackup3D.add_ground_layer(name, material='copper', thickness=0.035, fill_material='air', frequency=None)[source]#

Add a new ground layer to the stackup. A ground layer is negative. The layer is entirely filled with metal. Any polygon will draw a void in it.

Parameters:
namestr

Layer name.

materialstr, op

Material name. Material will be parametrized.

thicknessfloat, str, None

Thickness value. Thickness will be parametrized.

fill_materialstr

Fill Material name. Material will be parametrized.

frequencyfloat, optional

The layer frequency, it will be common to all geometric shapes on the layer. The default is None, so each shape must have their own frequency.

Returns:
ansys.aedt.core.modeler.advanced_cad.stackup_3d.Layer3D

Layer Object.

Examples

>>> from ansys.aedt.core import Hfss
>>> from ansys.aedt.core.modeler.advanced_cad.stackup_3d import Stackup3D
>>> hfss = Hfss()
>>> my_stackup = Stackup3D(hfss, 2.5e9)
>>> my_ground_layer = my_stackup.add_ground_layer("gnd")