
Pure JavaScript simulation of the 2-D Acoustic FDTD method. JavaScript version (2-D Acoustic FDTD) - Sound Propagation in Lena This script can be run on your HTML5 and WebGL-compatible web browsers (Blink, WebKit, Gecko, IE, and Spartan including recent smartphones).

The 3-D rendering is based on the WebGL library three.js. JavaScript version (3-D Acoustic FDTD) - A Helium Balloon in the Air A realtime 3-D rendering of the 3-D Acoustic FDTD simulation written in JavaScript. These programs solve the equations of 3-D and 2-D Acoustic FDTD simulation. The codes below are truly physical simulation programs of sound wave propagation (The original data come from: Yoshiki NAGATANI et al., Ultrasonics 48 (2008) pp.607-612.) A pulse ultrasound at 1 MHz is transmitted from the bottom part of the field. The connecting network is solid (trabecular bone) and the remaining part around the bone is liquid (water). The model was prepared using X-ray CT images of an actual bone sample. This movie is an example of the 3-D Elastic FDTD simulation in a cancellous bone model. The followings are some examples and demonstrations of the FDTD method.Īn Example of 3-D Elastic FDTD simulation of Bone In addition to these parameters, the viscosity of the media can be considered in the Viscoelastic FDTD.

In the Elastic FDTD mothod, normal stress and shear stress (vector values) in the elastic media are calculated instead of sound pressure. In the Acoustic FDTD mothod, particle velocity and sound pressure (scalar value) in the simulation field are calculated in sequence.

For the purpose of an acoustic wave simulation, some types of FDTD method have been proposed: Acoustic FDTD, Elastic FDTD, and Viscoelastic FDTD etc. The FDTD method is one of the simulation techniques for the investigation of the wave propagation in a given field, which can be 1-D, 2-D, or 3-D. FDTD stands for Finite- Difference Time- Domain method.
