flow.bulk_outlet_temperature
flow.bulk_outlet_temperature(temperature, velocity, wall=None, density=1.0)
Flux-weighted mean temperature leaving the duct.
int u_y T dA / int u_y dA over the outlet plane — the mixing-cup temperature, which is what an energy balance closes against.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| temperature | jax.Array | (NX, NY, NZ) temperature field. |
required |
| velocity | jax.Array | (3, NX, NY, NZ) velocity field. |
required |
| wall | np.ndarray | None | Boolean duct-wall mask, or None to build the default. |
None |
| density | Any | Density field or scalar, weighting the average by mass flux rather than by velocity. | 1.0 |
Returns
| Name | Type | Description |
|---|---|---|
| jax.Array | Scalar bulk temperature at the outlet. |