You should write because writing makes you a better person.

0%

采用gpu进行lumericalFDTD仿真

硬件需求

Nvidia CUDA driver version 450.80.02 or later (Linux), version 452.39 or later (windows)

仿真需求

需要设置为express模式:

img

目前限制

  1. 边界条件仅支持PML
  2. frequency dependent mode source profiles are not supported.
  3. time monitors 会限制仿真速度

其他

  1. For multiple jobs it is recommended to run them in series rather than in parallel.

脚本实现

1
2
3
4
5
setnamed("FDTD", "express mode", true);
setresource("FDTD","GPU", true);
setresource("FDTD", 3, "GPU Device", "Auto");
setresource("FDTD", "GPU", false);
setresource("FDTD", "CPU", true); //< equivalent to previous line

参考文献

  1. https://optics.ansys.com/hc/en-us/articles/17518942465811-FDTD-GPU-Solver-Information