---
#do not use priority above 5!
meshing:
  # COMMON
  - key: air
    name: air
    priority: 1
    meshDefaults:
      mesh3D:
        type: DIAGONAL
        maxSize: 0.5
        minSize: 0.2
        grading: 0.6
      mesh2D:
        type: DIAGONAL
        maxSize: 0.5
        minSize: 0.2
        grading: 0.6
      mesh1D:
        type: DIAGONAL
        maxSize: 0.5
        minSize: 0.2
        grading: 0.6

  # INDUCTION HEATING
  - key: workpiece
    name: workpiece
    priority: 2
    skinlayer: true
    meshDefaults:
      mesh3D:
        type: DIAGONAL
        maxSize: 0.1
        minSize: 0.0
        grading: 0.6
      mesh2D:
        type: DIAGONAL
        maxSize: 0.05
        minSize: 0.0
        grading: 0.6
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.4
        minSize: 0.0
        grading: 0.4

  - key: inductor
    name: inductor
    priority: 2
    skinlayer: true
    meshDefaults:
      mesh3D:
        type: DIAGONAL
        maxSize: 0.1
        minSize: 0.0
        grading: 0.6
      mesh2D:
        type: DIAGONAL
        maxSize: 0.05
        minSize: 0.0
        grading: 0.6
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.4
        minSize: 0.0
        grading: 0.4

  - key: concentrator
    name: concentrator
    priority: 2
    meshDefaults:
      mesh3D:
        type: DIAGONAL
        maxSize: 0.15
        minSize: 0.0
        grading: 0.6
      mesh2D:
        type: DIAGONAL
        maxSize: 0.07
        minSize: 0.0
        grading: 0.6
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.4
        minSize: 0.0
        grading: 0.4

  # ANTENNA DESIGN
  - key: conductor
    name: Conductor
    priority: 2
    meshDefaults: &cond
      mesh3D:
        type: MIN_EDGE_LENGTH
        maxSize: 5.0
        minSize: 1.0
        grading: 0.4
      mesh2D:
        type: MIN_EDGE_LENGTH
        maxSize: 4.0
        minSize: 1.0
        grading: 0.4
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.2
        minSize: 0.8
        grading: 0.4

  - key: copper
    name: Copper
    priority: 2
    meshDefaults: *cond

  - key: wire
    name: Antenna Surface
    priority: 2
    meshDefaults:
      mesh3D:
        type: MIN_EDGE_LENGTH
        maxSize: 5.0
        minSize: 1.0
        grading: 0.4
      mesh2D:
        type: MIN_EDGE_LENGTH
        maxSize: 4.0
        minSize: 1.0
        grading: 0.4
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.2
        minSize: 0
        grading: 0.4

  - key: patch
    name: Patch
    priority: 2
    meshDefaults: &surfaceConductor
      mesh3D:
        type: MIN_EDGE_LENGTH
        maxSize: 3.0
        minSize: 1.0
        grading: 0.4
      mesh2D:
        type: MIN_EDGE_LENGTH
        maxSize: 2.0
        minSize: 1.0
        grading: 0.4
      mesh1D:
        type: REFINE
        scale: 0.35

  - key: trace
    name: Trace
    priority: 2
    meshDefaults: *surfaceConductor

  - key: ground
    name: Ground
    priority: 2
    meshDefaults:
      mesh3D:
        type: MIN_EDGE_LENGTH
        maxSize: 3.0
        minSize: 1.0
        grading: 0.4
      mesh2D:
        type: MIN_EDGE_LENGTH
        maxSize: 2.0
        minSize: 1.0
        grading: 0.4
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.2
        minSize: 0.8
        grading: 0.4

  - key: port
    name: Port
    priority: 2
    meshDefaults: &port
      mesh2D:
        type: MIN_EDGE_LENGTH
        maxSize: 3.0
        minSize: 1.0
        grading: 0.4
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.2
        minSize: 0.8
        grading: 0.4

  - key: feed
    name: Feed
    priority: 2
    meshDefaults: *port

  - key: dielectric
    name: Dielectric
    priority: 2
    meshDefaults: &dielectric
      mesh3D:
        type: MIN_EDGE_LENGTH
        maxSize: 5.0
        minSize: 1.0
        grading: 0.4
      mesh2D:
        type: MIN_EDGE_LENGTH
        maxSize: 4.0
        minSize: 1.0
        grading: 0.4
      mesh1D:
        type: MIN_EDGE_LENGTH
        maxSize: 1.2
        minSize: 0.8
        grading: 0.4

  - key: substrate
    name: Dielectric
    priority: 2
    meshDefaults: *dielectric
