Tiny FDTD v1.0

버전 1.0.0.0 (1.79 KB) 작성자: Nick Clark
Minimal acoustics simulation in 1, 2 or 3D
다운로드 수: 8.2K
업데이트 날짜: 2008/8/7

라이선스 보기

This is a very minimal, acoustic, multidimensional FDTD simulation in under 25 lines of code. The FDTD calculations are actually performed using very few commands (the number of dimensions of your simulation +1). The source is a ‘hard source’ Gaussian pulse and there are no boundary conditions, or anything else to complicate the script as yet. This hopefully makes each process is very obvious. Pressure and Velocity field calculations are vectorized for efficiency and compact code. The output is animated over time.

This script is supplied ready to run. Just hit F5. The code is supplied in 2 dimensions, but, this can be changed to 1D or 3D with a couple of simple copy/paste and edits.

Enjoy! (email: nick@ihr.mrc.ac.uk)

인용 양식

Nick Clark (2024). Tiny FDTD v1.0 (https://www.mathworks.com/matlabcentral/fileexchange/21000-tiny-fdtd-v1-0), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0