FDTD calculation for Sin(wt)
时间:03-31
整理:3721RD
点击:
How can I convert Sin(wt) to calculate its value in space or with respect to x? To solve the electric field and magnetic field simultaneously for the FDTD algorithm.
You need to explain a bit more clearly what it is you do/want/need (sources for FDTD?).
You probably don't need that function at every point. Typically you inject a source using something like the total-field/scattered-field scheme and you only need to know the source at two adjacent points. From an analytical perspective, the answer to your question is
sin(w*t - b*x)
If you define a source with sin(wt), you have to simulate for some periods and wait until it converges.
You can obtain the harmonic fields by taking the fft of the latter part (more than a period after convergence).