Defining a Dielectric
Define the first dielectric with = 1.5 with label Substrate1.
myDiel1 = myProject.Definitions.Media.Dielectric:AddDielectric(1.5, 0, 1000) myDiel1.Label = "Substrate1"
- A dielectric is an object and since there may be multiple objects in the model, it is part of the DielectricCollection.
- Search for DielectricCollection in the Help1.
-
In DielectricCollection, under Method
List, search for methods that are applicable to
dielectrics:
- AddDielectric (properties table)
- AddDielectric (relativepermittivity Expression, losstangent Expression, massdensity Expression)
- AddDielectric ()
To create the first dielectric, we will use the method:AddDielectric(relativepermittivity Expression, losstangent Expression, massdensity Expression)
-
Fill in the values for the dielectric
AddDielectric(1.5, 0, 1000)
-
Determine the syntax to prepend to AddDielectric:
-
Add a
handle
to the dielectric:myDiel1 = myProject.Definitions.Media.Dielectric:AddDielectric(1.5, 0, 1000)
-
Set the dielectric label to Substrate1:
myDiel1.Label = "Substrate1"
Tip: View the Dielectric (object) in the Help for a short example.