PythonでFDTD(3)で導出した電界と磁界に関する式をプログラムし易いように書き直すと、 となる. 時間ステップは、Courantの安定条件より算出している. 実際のコード # Python 3.13.7 # NumPy 2.4.0 # Matplotlib 3.10.8 # scipy 1.16.3 # cupy-cuda13x 13.6.0 # 2026.2.16 # ©ぐらすあー ...
一次元FDTDの最終的なコードなんだけど、cupyを使うと何故か吸収境界が正常に動作しないようで、反射が起きてしまう.とりあえずnumpyを使ったバージョンを掲載しておく. # Python 3.13.7 # NumPy 2.4.2 # Matplotlib 3.10.8 # scipy 1.17.02 # cupy-cuda13x 14.0.0 # 2026.2.17 # ©ぐらす ...
ER2 = fdtd_er_grid.dielectric_grid.repeat_interleave(2, dim=0).repeat_interleave(2, dim=1) UR2 = fdtd_ur_grid.dielectric_grid.repeat_interleave(2, dim=0).repeat ...
maxTime=((size/2)*np.sqrt(epsilon_1)-int(0.05*size)+delay)+max(2*source_width/np.sqrt(max(eps))*np.sqrt(epsilon_1),2*source_width/np.sqrt(max(eps))*np.sqrt(epsilon_2 ...
Abstract: This paper describes Meep, a popular free implementation of the finite-difference time-domain (FDTD) method for simulating electromagnetism. In particular, we focus on aspects of ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する