Skip to content

Repository files navigation

FD-Calculation

Finite difference calculation to solve 2D and 3D wave equation in space-time domain

I run these codes on WSL Ubuntu 22.04 with CUDA and Anaconda environments. Instruction for using the codes:

  1. Make sure the Ubuntu or Linux using has CUDA toolkits and Anaconda installed
  2. Type "python model.py" in the Linux terminal to execute the program
  3. The files "CUDA_2DKernel.cu" and "CUDA_3DKernel" will be automatically installed with nvcc when running the command above.
  4. If an error occurs, then some of the libraries applied to the program have not been installed properly.
  5. Run the "clean.sh" by typing "sh clean.sh" in the Linux terminal to clean the data.

About

Finite difference calculation to solve 2D and 3D Wave Equation in space-time domain

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages