Article History
Received: 27 June 2020
Revised: 1 December 2020
Accepted: 8 January 2021
First Online: 31 March 2021
Compliance with ethical standards
:
: The authors declare that they have no conflict of interest.
: The authors have attempted to explain the method and implementation issues in detail. All numerical examples are implemented with homemade <i>MATLAB</i> codes and <i>COMSOL</i> files. Along with the revised manuscript, we submit the main MATLAB code for optimization problem 3 in Section InternalRef removed. The main processes and details of the multilayer optimization model are shown in the code file. It should be noted that, when running the <i>MATLAB</i> code with “COMSOL Multiphysics with MATLAB”, the corresponding <i>COMSOL</i> document which contains the multilayer optimization model of problem 3 is generated in your current working directory. The remaining examples are very easy to implement by changing some corresponding parameters (inlet pressure, volume fraction, etc.).