{
  "arguments": {
    "magflux": {
      "id": 1,
      "key": "magflux",
      "name": "Magnetic Field Intensity",
      "symbol": "B",
      "units": "T"
    }
  },
  "timeTypes": {
    "steady": {
      "id": 1,
      "name": "Steady",
      "allowedArguments": [
        "magflux"
      ],
      "properties": {
		"nrSubIter": {
		"symbol": "nSubIter",
		"name": "Number of subiterations (change only if nonlinear properties are set)",
        "units": "-",
		"default": 1,
		"min": 1
      }
      }
    },
    "harmonic": {
      "id": 3,
      "name": "Harmonic",
      "allowedArguments": [
        "magflux"
      ],
      "properties": {
        "frequency": {
          "symbol": "f",
          "name": "Frequency",
          "units": "Hz"
        },
		"nrSubIter": {
		"symbol": "nSubIter",
		"name": "Number of subiterations (change only if nonlinear properties are set)",
        "units": "-",
		"default": 1,
		"min": 1
      }
      }
    }
  },
  "constants": {
    "mu0": 0.0000012566
  },
  "constraints": [
    {
      "name": "Gauge",
      "region": "Region[{non_conducting, conducting, source}]"
    },
    "I_3D",
    "V_3D",
    "MVP_3D"
	],
  "postValues": {
    "Bfield": {
      "term": [
        "Norm[ {d a} ]"
      ],
      "type": 0,
      "components": 1,
      "name": "Magnetic_Field_Intensity_B,_[T]",
      "domains": [
        "non_conducting, conducting, source"
      ],
      "smoothing": 1
    },
    "Bfield_re": {
      "term": [
        "Re[{d a}]"
      ],
      "type": 0,
      "components": 3,
      "name": "Magnetic_Field_Intensity_B_re,_[T]",
      "domains": [
        "non_conducting, conducting, source"
      ],
      "smoothing": 1
    },
    "Bfield_im": {
      "term": [
        "Im[{d a}]"
      ],
      "type": 0,
      "components": 3,
      "name": "Magnetic_Field_Intensity_B_im,_[T]",
      "domains": [
        "non_conducting, conducting, source"
      ],
      "smoothing": 1
    },
    "CurrDens": {
      "term": [
        "sigma[]*Norm[(Dt[{a}]+{e})] ",
        "0"
      ],
      "type": 0,
      "components": 1,
      "name": "Current_Density_J,_A/m2",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    },
    "CurrDens_re": {
      "term": [
        "-sigma[]*Re[(Dt[{a}]+{e})]  ",
        "0"
      ],
      "type": 0,
      "components": 3,
      "name": "Current_Density_J_re,_A/m2",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    },
    "CurrDens_im": {
      "term": [
        "-sigma[]*Im[(Dt[{a}]+{e})]",
        "0"
      ],
      "type": 0,
      "components": 3,
      "name": "Current_Density_J_im,_A/m2",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    },
    "volt_re": {
      "term": [
        " Re[ {dInv e} ] ",
        " 0 "
      ],
      "name": "Electric_scalar_potential_V_re,_V",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    },
    "volt_im": {
      "term": [
        " Im[ {dInv e} ] ",
        " 0 "
      ],
      "name": "Electric_scalar_potential_V_im,_V",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    },
    "volt": {
      "term": [
        " Sqrt[ Re[{dInv e}]*Re[{dInv e}] + Im[{dInv e}]*Im[{dInv e}] ] ",
        " 0 "
      ],
      "name": "Electric_scalar_potential_V,_V",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    },
	"Jheat": {
      "term": [
        "0.5*sigma[]*SquNorm[Dt[{a}]+{e}] ",
        "0"
      ],
      "type": 0,
      "components": 1,
      "name": "Joule_heat,_W/m3",
      "domains": [
        "conducting, source",
        "non_conducting"
      ],
      "smoothing": 1
    }
  },
  "domainTypes": {
    "em_nc": {
      "id": 1,
      "allowedBoundaryTypes": ["fixed", "flux_parallel_ncond", "flux_normal"],
      "name": "Non-conductive",
      "domain_groups": {
        "non_conducting": [
          0
        ]
      },
      "DOF_variable": "AZ",
      "material": {
        "properties": {
          "mu": {
            "valueTypes": [
              "scalar",
              "piecewiseLinear"
            ],
		    "arguments": [
              "magflux"
            ],
            "argumentsId": [
              1
            ],
            "symbol": "\\mu",
            "name": "Magnetic permeability",
            "units": "-"
          }
        }
      }
    },
    "em_cc": {
      "id": 2,
      "name": "Conductive",
      "allowedBoundaryTypes": ["fixed", "flux_parallel_cond", "flux_normal"],
      "domain_groups": {
        "conducting": [
          0
        ]
      },
      "DOF_variable": "AZ",
      "material": {
        "properties": {
          "sigma": {
            "symbol": "\\sigma",
            "name": "Electric Conductivity",
            "units": "\\frac{S}{m}",
            "min": 0,
            "max": 1000000000000
          },
          "mu": {
            "valueTypes": [
              "scalar",
              "piecewiseLinear"
            ],
		    "arguments": [
              "magflux"
            ],
            "argumentsId": [
              1
            ],
            "symbol": "\\mu",
            "name": "Magnetic permeability",
            "units": "-"
          }
        }
      }
    },
    "source_dom": {
      "id": 3,
      "name": "Current source",
      "allowedBoundaryTypes": ["current", "voltage", "flux_parallel_cond", "flux_normal", "ground"],
      "domain_groups": {
        "source": [
          0
        ],
		"terms": [
          5, 6, 7
        ]
      },
      "DOF_variable": "AZ",
      "material": {
        "properties": {
          "sigma": {
            "symbol": "\\sigma",
            "name": "Electric Conductivity",
            "units": "\\frac{S}{m}",
            "min": 0,
            "max": 1000000000000
          },
          "mu": {
            "valueTypes": [
              "scalar",
              "piecewiseLinear"
            ],
		    "arguments": [
              "magflux"
            ],
            "argumentsId": [
              1
            ],
            "symbol": "\\mu",
            "name": "Magnetic permeability",
            "units": "-"
          }
        }
      }
    }
  },
  "boundaryTypes": {
    "fixed": {
      "id": 1,
      "bc_group": "Sur_FIXED",
      "name": "Infinity",
      "description": "Zero vector potential at the boundary",
      "properties": {
        "Gauge": {
          "hidden": true,
          "symbol": "A",
          "name": "Vector potential",
          "units": "T \\cdot m",
          "default": 0
        }
      }
    },
    "flux_parallel_cond": {
      "id": 2,
      "bc_group": "Sur_PARALLEL_cond",
      "name": "Flux parallel",
      "description": "Used as symmetry condition if: a) Currents in model are perpendicular to this boundary \n b) Currents are parallel to this boundary and flow in opposite directions on both sides of boundary",
      "properties": {        
	  "MVP_3D": {
          "hidden": true,
          "symbol": "A",
          "name": "Vector potential",
          "units": "T \\cdot m",
          "default": 0
        }
	  }
    },
    "flux_parallel_ncond": {
      "id": 3,
      "bc_group": "Sur_PARALLEL_ncond",
      "name": "Flux parallel",
      "description": "Used as symmetry condition if: a) Currents in model are perpendicular to this boundary \n b) Currents are parallel to this boundary and flow in opposite directions on both sides of boundary",
      "properties": {        
	  "MVP_3D": {
          "hidden": true,
          "symbol": "A",
          "name": "Vector potential",
          "units": "T \\cdot m",
          "default": 0
        }
	  }
    },
    "flux_normal": {
      "id": 4,
      "bc_group": "Sur_NORMAL",
      "name": "Flux normal",
      "description": "Used as symmetry condition if currents in model are parallel to this boundary and flow in same direction on both sides of boundary",
      "properties": {
      }
    },
    "voltage": {
      "id": 5,
      "bc_group": "Sur_VOLTAGE",
	  "needs_cohomology": true,
      "name": "Voltage",
      "properties": {
        "V_3D": {
          "symbol": "V",
          "name": "Voltage",
          "units": "V",
          "default": 0
        }
      }
    },
    "current": {
      "id": 6,
      "bc_group": "Sur_CURRENT",
	  "needs_cohomology": true,
      "name": "Current",
      "properties": {
        "I_3D": {
          "symbol": "I",
          "name": "Current",
          "units": "A",
          "default": 0
        }
      }
    },
    "ground": {
      "id": 7,
      "bc_group": "Sur_GROUND",
      "name": "Ground",
      "properties": {
      }
    }
  }
}