kfrancischen / MESH

Multilayer Electromagnetic Solver for Heat transfer
https://kfrancischen.github.io/MESH/
GNU General Public License v3.0
29 stars 12 forks source link

MPI support for SimulationPlanar #5

Open yigithanmehmetkose opened 1 week ago

yigithanmehmetkose commented 1 week ago

First, I wanna thank the developers.

I conduct a multi-layer planar simulation which is computationally expensive, so I wanna run this in a cluster with MPI. Yet, the MPI example uses SimulationGrating class with IntegrateKxKyMPI function. My simulation uses SimulationPlanar class, and there is no IntegrateKParallelMPI function so what should I do?

Thanks in advance, Yigithan Mehmet Kose

kfrancischen commented 5 days ago

It is usually very cheap to run Planar on single machines. May I understand the scale of your problem?

yigithanmehmetkose commented 4 days ago

It is usually very cheap to run Planar on single machines. May I understand the scale of your problem?

I conduct a near-field TPV simulation including 9 layers. Since it is a TPV simulation, I need to evaluate 1000 planar simulations with varying probe Z-coordinates to obtain dept-dependent Poynting vector. This is what makes it expensive