# PECMedium
PECMedium represents a perfect electric conductor.
This object corresponds to tidy3d.PECMedium (opens new window).
# Field Behavior
At a PEC surface:
The electric field is normal to the PEC surface, while the magnetic field is tangential to the surface.
NOTE
PEC is often described as an electric wall: near the surface, is normal to the wall and is tangential to the wall.
# Name
name: Optional unique name for the medium.
# Type
type: Medium model used by this material entry.
- Options: PECMedium
# Color
color: Display color used for the medium in the GUI.
- Type: color
- Default: automatically assigned by the GUI
# Advanced
set_from_global_frequency: Toggle whether the frequency range is set from the Global Settings frequency range.
- Options:
- True: Use the global frequency range and disable manual frequency range inputs.
- False: Manually set
frequency_range.
frequency_range: Optional range of validity for the medium.
- Type: two float numbers
- Unit: Hz, kHz, MHz, GHz, THz, or other available frequency unit
- Default: None
allow_gain: Toggle whether the medium is allowed to be active.
- Options: True/False
- Default: False