CreatePML

Set up a perfectly matched layer (PML) boundary.

UI Access HFSS > Boundaries > PML Setup Wizard...
Parameters
Name Type Description
<PMLArray> Array Structured array.

For manually created PMLs:

Array("NAME:PMLCreationSettings",

"UserDrawnGroup:=", true,

"PMLObj:=", <string, name of the object to use as the PML cover.>,

"BaseObj:=", <string, name of the base object touching the PML cover object>,

"Thickness:=", <value>,

"Orientation:=", <string, orientation of the PML. Possible values are: "XAxis", "YAxis", and "ZAxis">,

"RadDist:=", <value>,

"UseFreq:=", <boolean, If true, provide the MinFreq parameter. If false, provide the MinBeta parameter.>,

"MinFreq:=", <value>,

"MinBeta:=", <double>)

For automatically created PMLs:

Array("NAME:PMLCreationSettings",

"UserDrawnGroup:=", false,

"PMLFaces:=", <AssignmentFaces>,

"CreateJoiningObjs:=", <bool>,

"Thickness:=", <value>,

"RadDist:=", <value>,

"UseFreq:=", <boolean, If true, provide the MinFreq parameter. If false, provide the MinBeta parameter.>,

"MinFreq:=", <value>,

"MinBeta:=", <double>)

Return Value None.

 

Python Syntax CreatePML(<PMLArray>)
Python Example

oModule.CreatePML(

["NAME:PMLCreationSettings",

"UserDrawnGroup:=", True,

"PMLFaces:=", [120],

"Thickness:=", "1mm",

"CreateJoiningObjs:=", False,

"PMLObj:=", 6,

"BaseObj:=", 15,

"Orientation:=", "ZAxis",

"UseFreq:=", True,

"MinFreq:=", "1GHz",

"MinBeta:=", 20,

"RadDist:=", "0.3mm"

])