eusoubrasileiro / geonumerics

Numerical tools for geology and geophysics (Python and C tools) G&G sandbox
http://numericalearth.blogspot.com.br/
6 stars 2 forks source link

Explicit 2D 4th order space #12

Closed eusoubrasileiro closed 9 years ago

eusoubrasileiro commented 9 years ago

What steps will reproduce the problem?

  1. Running WaveFd.Exp2DWave following the required convergence criteria.

What is the expected output? What do you see instead? To find the wave progressing through time and fading according its time length, for example, a wavelet of 50 ms should vanish from its original position after 60ms, for example. Being found somewhere else ahead.

Look after other implementations (Leo) and also post in stack exchange scicomp.

eusoubrasileiro commented 9 years ago

I am not seeing the wave progressing.

eusoubrasileiro commented 9 years ago

I tried Leo's and Hale's solution booth didn't work so far with many exponential decreasing options. Should go for the exact solution using Fourier Transform.

eusoubrasileiro commented 9 years ago

Rev47 ahead! Solved!FUCKING PROBLEM AND STUPID!!!! 1) Python error pointer manipulation Ufuture point to same class as Ucurrent 2) Source wrong implemented.

Everything documented and answered also question in scicomp http://scicomp.stackexchange.com/questions/7256/explicit-4th-order-space-wave-equation-not-stable-implementation

Discovered by trying to implement a finite difference based on madagascar recipe. http://www.ahay.org/RSF/book/rsf/manual/manual_html/node7.html An example: Finite-Difference modeling

Rev 55 fix a normalization issue found also documented in Explicit2D_details.tex