https://github.com/llnl/ac2dr
2-D finite difference codes for acoustic wave simulations
https://github.com/llnl/ac2dr
math-physics
Last synced: 5 months ago
JSON representation
2-D finite difference codes for acoustic wave simulations
- Host: GitHub
- URL: https://github.com/llnl/ac2dr
- Owner: LLNL
- License: mit
- Created: 2023-09-25T13:56:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T14:10:16.000Z (about 2 years ago)
- Last Synced: 2025-04-05T18:05:25.874Z (about 1 year ago)
- Topics: math-physics
- Language: C
- Homepage:
- Size: 8.63 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
-------------------------------------------------------------------------------
AC2Dr: Acoustic Codes in Spherical Coordinates
AC2Dr is a 2-D numerical solver for the acoustic wave equation using the finite
difference method. The acoustic wave equation is split into two first-order
differential equations for pressure and particle velocity, and approximated by
the sixth-order accurate central difference in space and time. The equations
are solved in the axisymmetric spherical coordinates, and hence, are able to
simulate 3-D spherical spreading of wavefields by 2-D. The absorbing boundary,
which prevents outgoing waves from reflecting at the computational domain
boundary, is realized by the super-grid method based on coordinate stretching.
AC2Dr supports the message passing interface (MPI) on multicore CPU,
improving simulation performance dramatically.
-------------------------------------------------------------------------------
REQUIREMENTS
C compilers compatible with the GNU C and environments enabling the Message
Passing Interface (MPI)
-------------------------------------------------------------------------------
INSTALLATION
make all
-------------------------------------------------------------------------------
DOCUMENTATION
See the user guide included in the the doc folder
-------------------------------------------------------------------------------
LICENSE
AC2Dr is distributed under the terms of the MIT license. All new contributions
must be made under this license.
SPDX-License-Identifier: MIT
LLNL-CODE-854516