elements.catalog.transfer_matrix_element
elements.catalog.transfer_matrix_element(tm=None, name='tm')A 2-port whose acoustic response is a user-supplied transfer matrix.
In the mean flow this element is an :func:isentropic_area_change – it conserves mass and energy, is isentropic, and permits an area change across it – so it seats a well-defined mean state on both faces. In the perturbation network it does not inherit the linearized area-change jump: only its acoustic rows are overwritten, with the relation w_down = TM(omega) . w_up carried by tm, letting a measured / prescribed 2-port response stand in for an element that has no closed-form model. The mean state is unaffected by tm.
In the UI this is the TransferMatrix node. The descriptor itself is a Python object with no YAML form, so it does not round-trip: attach it after loading (net.set(node, transfer_matrix=...)).
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| tm | TransferMatrix or UnknownTransferMatrix | The frequency-domain 2-port descriptor (:class:nefes.perturbation.matrix.TransferMatrix) stamped in the perturbation layer. Pass an :class:~nefes.perturbation.identify.UnknownTransferMatrix marker to leave it to be identified from a measured network response. None (default) leaves the element acoustically an isentropic area change until a descriptor is attached (net.set(node, transfer_matrix=...)). |
None |
| name | str | Element label. | 'tm' |
Returns
| Name | Type | Description |
|---|---|---|
| ElementSpec |