Main Content

showDielectricVolumeMesh

Display dielectric volume mesh of antenna or array

Since R2023b

Description

showDielectricVolumeMesh(m) displays the dielectric volume mesh of the antenna or array.

example

showDielectricVolumeMesh(___,Name=Value) displays the dielectric volume mesh, with additional properties specified by one or more Name-Value Arguments.

Examples

collapse all

This example shows how to read mesh parameters of a microstrip patch antenna and view the metal, dielectric, and complete mesh.

Create Microstrip Patch Antenna

Create a microstrip patch antenna with copper conductor and FR4 PCB substrate. Run impedance analysis on this antenna at 1.67 GHz to automatically generate the mesh.

p = patchMicrostrip(Conductor=metal("Copper"), Substrate=dielectric("FR4"));
figure
impedance(p,1.67e9);

Figure contains an axes object. The axes object with title Impedance, xlabel Frequency (GHz), ylabel Impedance (ohms) contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent Resistance, Reactance.

Read Mesh Parameters of Antenna

Read the mesh parameters such as number of points, triangles, and tetrahedra, maximum and minimum edge length, mesh growth rate, and quality using the MeshReader object.

m = mesh(p)
m = 
  MeshReader with properties:

                Points: [3x1644 double]
             Triangles: [4x2013 double]
            Tetrahedra: [4x4617 double]
         MaxEdgeLength: 0.0044
         MinEdgeLength: 2.2012e-04
            GrowthRate: 0.9500
    MinimumMeshQuality: 0.0289
              MeshMode: 'auto'

View Mesh of Antenna

View the metal mesh.

figure
showMetalMesh(m)

Figure contains an axes object. The axes object with title Metal mesh, xlabel x (m), ylabel y (m) contains an object of type patch. This object represents PEC.

View the dielectric surface mesh.

figure
showDielectricSurfaceMesh(m)

Figure contains an axes object. The axes object with title Dielectric surface, xlabel x (m), ylabel y (m) contains an object of type patch.

View the dielectric volume mesh.

figure
showDielectricVolumeMesh(m)

Figure contains an axes object. The axes object with title Dielectric volume, xlabel x (m), ylabel y (m) contains an object of type patch.

View the overall mesh.

figure
showMeshAll(m)

Figure contains an axes object. The axes object with title Metal-Dielectric, xlabel x (m), ylabel y (m) contains 2 objects of type patch. This object represents PEC.

Input Arguments

collapse all

Parameters of the mesh, specified as a MeshReader object.

Example: MeshReader object created using the mesh function.

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: Slicer=1

Layer number of the dielectric counted from the bottom of the stack, specified as an integer scalar.

Example: 2

Data Types: double

Option to enable or disable plot interactivity, specified as "on" or "off", or as numeric or logical 1(true) or 0(false). Set this argument to 1 or "on" to open the plot with the slicer panel, and to slice and view the desired cross section of the plot along the xy-, yz-, and xz-planes. Set this argument to 0 or "off" to open the plot without the slicer panel.

Example: 1

Example: true

Example: "on"

Data Types: double | logical | string

Version History

Introduced in R2023b

See Also

Functions

Objects

Topics