Appendix: Sample Multiphysics Optimization Code
In this appendix, example numerical code is provided for a 2-D electrothermal design optimization problem. Here, Joule heating considering side/surface convection of the conductor is assumed. The finite element implementation of the problem follows a description for the finite element analysis of a thermoelectric device, with the exception that Seebeck and Peltier effects are neglected. The code is written in a custom MATLAB® script that exploits a sequential solver for the finite element analysis portion of the problem, where the electrical analysis is first performed and the generated resistive heating thermal loads are passed to the following heat transfer analysis. The code incorporates an optimality criteria optimizer and filtering routine commonly found in the literature for updating the design variables and minimum length scale control. The code is constructed as a continuous script instead of a series of functions, for clarity, and numerous comments have been added throughout the script to explain the various steps implemented in the program.
KeywordsFinite Element Analysis Joule Heating Design Domain Numerical Code Thermoelectric Device
- 1.Antonova EE, Looman DC (2005) Finite elements for thermoelectric device analysis in ANSYS. Paper presented at the 24th international conference on thermoelectrics, Clemson University, Clemson, 19–23. doi: 10.1109/ICT.2005.1519922
- 2.Kwon YW, Bang H (2000) The finite element method using MATLAB, 2nd edn. CRC Press, Boca RatonGoogle Scholar
- 3.Seo JH (2009) Optimal design of material microstructure for convective heat transfer in a solid-fluid mixture. Dissertation, University of Michigan, Ann ArborGoogle Scholar
- 4.Sigmund O (2001) A 99 line topology optimization code written in Matlab. Struct Multidiscip O 21:120–127. doi: 10.1007/s001580050176