Home
Package MESH¶
Multilayer Electromagnetic Solver for Heat transfer.
A program for computing electromagnetic far-field and near-field heat transfer for periodic, layered structures, developed by Kaifeng Chen (kfrancischen@gmail.com) of the Fan group in the Stanford Electrical Engineering Department.
The program is built upon C++ and wrapped with Lua (>= 5.2) and Python (both 2 and 3), with OpenMP and MPI support. It is enabled with heat flux calculation in both far and near field for planar, grating and pattern geometries. The source code can be downloaded at Github. This document will cover the basic ideas behind MESH, complete descriptions of the Lua API and C++ API, and a few concrete examples created either to illustrate the simple usage or to reproduce some of results from existing literatures. The documents are organized as follows:
Overview¶
- Equations & Features: detailed equations computed and features offered by the package.
- Installation: the installation steps on different platforms and clusters.
Lua API¶
- Base Class: the base class the code is built upon.
- SimulationPlanar: the inherited class for planar geometries.
- SimulationGrating: the inherited class for 1D grating geometries.
- SimulationPattern: the inherited class for 2D pattern geometries.
Python API¶
- Base Class: the base class the code is built upon.
- SimulationPlanar: the inherited class for planar geometries.
- SimulationGrating: the inherited class for 1D grating geometries.
- SimulationPattern: the inherited class for 2D pattern geometries.
C++ API¶
- C++ classes and functions: the C++ interface for all the functions.
Examples¶
- Tutorial Example: a simple tutorial about setting up the inputs and running the input script.
- Single Plane Far-field: example about thermal radiation to the far field.
- Two Planes Near-field: example about near-field heat transfer between two planes.
- Anisotropic Material Near-field: example about simulations involving anisotropic material.
- Iterate Over Gaps Near-field: example about iterating over different gaps for near-field heat transfer between two plates.
- Two Gratings Near-field: example the calculation between two grating structures in the near-field regime.
- Two Rectangle Patterns Near-field: example about the near-field heat transfer between two rectangle patterned structures.
- Mixed Patterns Near-field: example about the near-field heat transfer between two structures with different kinds of patterns (rectangle and circle).
- Contained Patterns Near-field: example about the near-field heat transfer between two structures with two contained circles that result in a cylindrical shell.
- MPI Example: example about how to use Lua wrapped MPI interface for fast parallelization on distributed clusters.