Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drbartling/r_fdtd
finite difference time domain (FDTD) simulation written in R with some example transmission line configurations.
https://github.com/drbartling/r_fdtd
Last synced: 9 days ago
JSON representation
finite difference time domain (FDTD) simulation written in R with some example transmission line configurations.
- Host: GitHub
- URL: https://github.com/drbartling/r_fdtd
- Owner: drbartling
- License: mit
- Created: 2016-03-21T20:17:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-03-22T01:16:34.000Z (over 8 years ago)
- Last Synced: 2024-08-13T07:11:12.021Z (4 months ago)
- Language: R
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - drbartling/r_fdtd - finite difference time domain (FDTD) simulation written in R with some example transmission line configurations. (R)
README
# r_fdtd
finite difference time domain (FDTD) simulation written in R with some example transmission line configurations.To run, change the working directory to the directory that contains "fdtd.r" and the other files.
Enter one of the following commands in the command line.
source("simulate_t_line.R")
source("compare_t_lines.R")
source("test_example_lines.R")simulate_t_line.R will simulate a single transmission line. Showing the voltage and current as a function of distance. It will also sho the left-most (input) voltage as a function of time.
compare_t_lines.R will allow you to simulate multiple transmission lines.
To queue up the transmission lines you want:
Select each transmission file you want to simulate in the order you want them simulated.
End selection by selecting the same file twice in a row.The first transmission line will show the full simulation, as in simulate_t_lines.R. The remaining transmission line sims will be overlaid on the final plot of the first file for comparison.
test_example_lines.R will simulate all transmission line files in the examples directory. This will only show the overlay, as in compare_tlines.R
example_line.R shows how a transmission line is defined in a single file.
The other examples show how you can add to a base transmission line to avoid retyping basic parameters that are used for several simulations.