{
  "arguments": {
    "temperature": {
      "id": 1,
      "key": "temperature",
      "name": "Temperature",
      "symbol": "T",
      "units": "\\degree C"
    },
    "time": {
      "id": 2,
      "key": "time",
      "name": "Time",
      "symbol": "t",
      "units": "s"
    }
  },
  "constants": {
    "sb_constant": 5.68e-8
  },
  "constraints": [
    "temperature"
  ],
  "postValues": {
    "temperature": {
	"type": 0,
      "components": 1,
      "term": [
        "{ T }"
      ],
      "name": "Temperature_T_[C]",
      "domains": [
        "Tot_The"
      ],
      "smoothing": 0
    },
    "heatflow": {
	  "type": 0,
      "components": 3,
      "term": [
        " - lambda[{T}] * {d T}  "
      ],
      "name": "Heat_Flow_q_[W/m^2]",
      "domains": [
        "Tot_The"
      ],
      "smoothing": 0
    }
  },
  "timeTypes": {
    "steady": {
      "id": 1,
      "name": "Steady",
      "allowedArguments": [
        "temperature"
      ]
    },
    "transient": {
      "id": 2,
      "name": "Transient",
      "allowedArguments": [
        "temperature",
        "time"
      ],
      "properties": {
        "tstart": {
          "symbol": "t_0",
          "name": "Initial time",
          "units": "s"
        },
        "tend": {
          "symbol": "t_1",
          "name": "End time",
          "units": "s"
        },
        "tstep": {
          "symbol": "\\delta",
          "name": "Time step",
          "units": "s"
        },
        "sfreq": {
          "symbol": "n",
          "name": "Save every n-th time step",
          "units": ""
        }
      }
    }
  },
  "domainTypes": {
    "thermal": {
      "id": 1,
      "name": "Thermal",
      "domain_groups": {
        "Vol_The": [
          0
        ],
        "Tot_The": [
          0,
          2,
          3,
          4,
          5
        ]
      },
      "DOF_variable": "T",
      "properties": {
        "qVol": {
          "symbol": "F",
          "name": "Volume heat source",
          "units": "\\frac{W}{m^3}",
          "valueTypes": [
            "scalar",
            "piecewiseLinear"
          ],
          "arguments": [
            "time",
            "temperature"
          ],
          "argumentsId": [
            2,
            1
          ],
          "default": 0,
          "min": -10000000,
          "max": 10000000
        }
      },
      "initialConditions": {
        "properties": {
          "temperature": {
            "symbol": "T",
            "name": "Temperature",
            "units": "\\degree C",
            "valueTypes": [
              "scalar"
            ],
            "min": 0,
            "default": 22
          }
        }
      },
      "material": {
        "properties": {
          "lambda": {
            "symbol": "\\lambda",
            "name": "Thermal Conductivity",
            "units": "\\frac{W}{m K}",
            "min": 0,
            "max": 100000000,
            "valueTypes": [
              "scalar",
              "piecewiseLinear"
            ],
            "arguments": [
              "temperature"
            ],
            "argumentsId": [
              1
            ]
          },
          "cp": {
            "symbol": "c_p",
            "name": "Heat capacity",
            "units": "\\frac{J}{kg K}",
            "valueTypes": [
              "scalar",
              "piecewiseLinear"
            ],
            "arguments": [
              "temperature"
            ],
            "argumentsId": [
              1
            ]
          },
          "rho": {
            "symbol": "\\rho",
            "name": "Density",
            "units": "\\frac{kg}{m^3}",
            "valueTypes": [
              "scalar",
              "piecewiseLinear"
            ],
            "arguments": [
              "temperature"
            ],
            "argumentsId": [
              1
            ]
          }
        }
      }
    }
  },
  "boundaryTypes": {
    "fixed": {
      "id": 1,
      "bc_group": "Sur_FIXED",
      "name": "Fixed temperature",
      "description": "fixed temperature at the surface",
      "properties": {
        "temperature": {
          "symbol": "T",
          "name": "Temperature",
          "units": "\\degree C",
          "min": 0,
          "max": 100000000,
          "valueTypes": [
            "scalar"
          ]
        }
      }
    },
    "flux": {
      "id": 2,
      "bc_group": "Sur_HEATFLUX",
      "name": "Surface heat source",
      "description": "Define heat flux density at the surface",
      "properties": {
        "qSurf": {
          "symbol": "q",
          "name": "Heat flux",
          "units": "\\frac{W}{m^2}",
          "valueTypes": [
            "scalar",
            "piecewiseLinear"
          ],
          "arguments": [
            "time",
            "temperature"
          ],
          "argumentsId": [
            2,
            1
          ]
        }
      }
    },
    "convective": {
      "id": 3,
      "bc_group": "Sur_CONVECTIVE",
      "name": "Convective cooling",
      "description": "Heat flux \\( q = h (T-T_{amb}) \\)",
      "properties": {
        "tref": {
          "symbol": "T_{amb}",
          "name": "Ambient temperature",
          "units": "\\degree C",
          "min": 0,
          "max": 100000000
        },
        "h": {
          "symbol": "h",
          "name": "Heat Transfer Coefficient",
          "units": "\\frac{W}{m^2 K}",
          "valueTypes": [
            "scalar",
            "piecewiseLinear"
          ],
          "arguments": [
            "temperature"
          ],
          "argumentsId": [
            1
          ]
        }
      }
    },
    "radiation": {
      "id": 4,
      "bc_group": "Sur_RADIATION",
      "name": "Radiative heat flux",
      "description": "Thermal radiation to infinity: heat flux \\( q = \\epsilon (T^4 - T_{amb}^4) \\)",
      "properties": {
        "trefr": {
          "symbol": "T_{amb}",
          "name": "Ambient temperature",
          "units": "\\degree C",
          "valueTypes": [
            "scalar"
          ],
          "min": 0,
          "max": 100000000
        },
        "hr": {
          "symbol": "\\epsilon",
          "name": "Emissivity",
          "units": "-",
          "valueTypes": [
            "scalar",
            "piecewiseLinear"
          ],
          "arguments": [
            "temperature"
          ],
          "argumentsId": [
            1
          ]
        }
      }
    },
    "convective_fixedflux": {
      "id": 5,
      "bc_group": "Sur_CONVECTIVE_HEATFLUX",
      "name": "Surface heat source + Convective cooling",
      "description": "Combined surface heat source and convective cooling boundary conditions: heat flux \\( q = q_0 - h (T-T_{amb}) \\)",
      "properties": {
        "tref5": {
          "symbol": "T_{amb}",
          "name": "Ambient temperature",
          "units": "\\degree C",
          "valueTypes": [
            "scalar"
          ],
          "min": 0,
          "max": 100000000
        },
        "h5": {
          "symbol": "h",
          "name": "Heat Transfer Coefficient",
          "units": "\\frac{W}{m^2 K}",
          "valueTypes": [
            "scalar",
            "piecewiseLinear"
          ],
          "arguments": [
            "temperature"
          ],
          "argumentsId": [
            1
          ]
        },
        "qSurf5": {
          "symbol": "q",
          "name": "Heat flux",
          "units": "\\frac{W}{m^2}",
          "valueTypes": [
            "scalar",
            "piecewiseLinear"
          ],
          "arguments": [
            "time",
            "temperature"
          ],
          "argumentsId": [
            2,
            1
          ],
          "min": 0
        }
      }
    }
  }
}