Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Evaluate heat flux of a thermal solution at nodal or arbitrary spatial locations

```
[qx,qy]
= evaluateHeatFlux(thermalresults,xq,yq)
```

```
[qx,qy,qz]
= evaluateHeatFlux(thermalresults,xq,yq,zq)
```

`[___] = evaluateHeatFlux(thermalresults,querypoints)`

`[___] = evaluateHeatFlux(___,iT)`

```
[qx,qy]
= evaluateHeatFlux(thermalresults)
```

```
[qx,qy,qz]
= evaluateHeatFlux(thermalresults)
```

`[`

returns the heat flux for a thermal problem at the 2-D points specified in
`qx`

,`qy`

]
= evaluateHeatFlux(`thermalresults`

,`xq`

,`yq`

)`xq`

and `yq`

. This syntax is valid for
both the steady-state and transient thermal models.

`[___] = evaluateHeatFlux(`

returns the heat flux for a thermal problem at the 2-D or 3-D points specified
in `thermalresults`

,`querypoints`

)`querypoints`

. This syntax is valid for both the
steady-state and transient thermal models.

`[___] = evaluateHeatFlux(___,`

returns the heat flux for a thermal problem at the times specified in
`iT`

)`iT`

. You can specify `iT`

after the
input arguments in any of the previous syntaxes.

The first dimension of `qx`

, `qy`

, and,
in the 3-D case, `qz`

corresponds to query points. The second
dimension corresponds to time steps `iT`

.

`[`

returns the heat flux for a 2-D problem at the nodal points of the triangular
mesh. The first dimension of `qx`

,`qy`

]
= evaluateHeatFlux(`thermalresults`

)`qx`

and `qy`

represents the node indices. The second dimension represents time steps.

`[`

returns the heat flux for a 3-D thermal problem at the nodal points of the
tetrahedral mesh. The first dimension of `qx`

,`qy`

,`qz`

]
= evaluateHeatFlux(`thermalresults`

)`qx`

,
`qy`

, and `qz`

represents the node
indices. The second dimension represents time steps.

`SteadyStateThermalResults`

| `ThermalModel`

| `TransientThermalResults`

| `evaluateHeatRate`

| `evaluateTemperatureGradient`

| `interpolateTemperature`