摘要 |
A device receives information associated with a physical network, and creates a thermal fluid model, based on the information and with a technical computing environment (TCE), the thermal fluid model including at least a first block, a second block, and a node connecting the first block and the second block. The device calculates a first convection power flux for the first block and a second convection power flux for the second block, and calculates a first conduction power flux for the first block and a second conduction power flux for the second block. The device adds the first convection power flux and the first conduction power flux to determine a first power flux, and adds the second convection power flux and the second conduction power flux to determine a second power flux. The device outputs the first power flux and the second power flux. |
主权项 |
1. A method, comprising:
receiving information, associated with a physical network, for generating a thermal fluid model in a technical computing environment (TCE), the receiving being performed by one or more devices, and the thermal fluid model including at least a first block, a second block, and a node connecting the first block and the second block; calculating a first convection power flux, along a first direction of a simulated mass flow, for the first block of the thermal fluid model and a second convection power flux, along the first direction of the simulated mass flow or a second direction opposite to the first direction, for the second block of the thermal fluid model, the calculating the first convection power flux and the second convection power flux being performed by the one or more devices and based on the received information; calculating a first conduction power flux, along the first direction or the second direction, or setting the first conduction power flux to be zero, for the first block of the thermal fluid model and a second conduction power flux, along the first direction or the second direction, or setting the first conduction power flux to be zero, for the second block of the thermal fluid model, the calculating the first conduction power flux and the second conduction power flux being performed by the one or more devices and based on the received information; combining the first convection power flux and the first conduction power flux to determine a first power flux for the first block, the combining the first convection power flux and the first conduction power flux being performed by the one or more devices; combining the second convection power flux and the second conduction power flux to determine a second power flux for the second block, the combining the second convection power flux and the second conduction power flux being performed by the one or more devices; and solving one or more portions of the thermal fluid model as a solvable singularity-free system using the first power flux and the second power flux, the solving being performed by the one or more devices. |