Defining the Mass Flow Difference Indicator Report
The objective of this adjoint analysis is to optimize the shape of the Y-Junction manifold in order to achieve a uniform mass flow split between the two outlets.
To examine the mass flow imbalance between the two outlets, you define an expression report for the normalized squared difference of these mass flow rates defined as:
where and are the mass flow rates through Outlet 1 and Outlet 2, respectively. The use of the squared difference results in a convex cost function which is suitable for the gradient based minimization algorithm.
To define the mass flow difference indicator report:
-
Create the mass flow reports and plot:
-
Define an expression report to assess the deviation between
Manifold.Downstream Outlet 1 and
Manifold.Downstream Outlet 2:
- Right-click the Reports node and select
- Rename the report to Mass Flow Difference Indicator.
- Select the Definition to pow((${Mass Flow 1}-${Mass Flow 2})/(${Mass Flow 1}+${Mass Flow 2}),2). node and set
- Save the simulation.