Conversation
… Still not working
…damping all time panels
…tead of wavelength
…orithm. Not working in water
…coordinates and convert to indexes
Conflicts: cookbook/seismic_wavefd_elastic_sh.py fatiando/io.py fatiando/mesher.py fatiando/seismic/wavefd.py
|
\m/ |
|
Really cool master @leouieda . I will try to test the recipes and merge with mine to have the changes included. |
|
@hbueno @eusoubrasileiro tudo bem se eu fechar esse PR? Objeções? |
|
manda ver mestre @leouieda , vou testar as recepies ainda mas põem pra dentro! vou modificar meu código depois. |
Refactor and better implementations of `fatiando.seismic.wavefd`
|
velho tá a maior droga pra poder fazer merge, tem alguma ferramenta decente aew pra recomendar. Fudeu com tudo! |
|
O que aconteceu? Em 17 de setembro de 2013 23:49, André notifications@github.com escreveu:
|
|
rsrs @hbueno então tenho que fazer merge do novo master com o meu. Tenho alguns conflitos vou acabar fazendo na mão a gambiarra do merge mas se vocês conhecerem algo legal aew de merge ui pra linux seria maneiros. valeus |
|
Eu uso um programa chamado Meld
|
|
É to vendo o povo recomendando aqui... vou tentar rsrs cara mó trabalharei q droga uhaiahiua ⛵ |
|
Cara, o que tinha tanto no seu branch que tá dando conflito? |
|
ja to arrumando as chamadas pras implementacoes do python, o arquivo de implementacoes de python foi removido. Foi criado outro no lugar. Fora isso o merge automático nao funcionou no wavefd.py por conta das minhas mudanças . Mas ta sussa vou arrumar em mais uns 2 commits. |
|
Todos os exemplos que testei estão rodando (era problema com o backend que não estava instalado direito). Depois olha a pull request do scalar lá finalmente deixei usável. |
|
@leouieda mestre... to dando uma estudada aqui. Realmente ESG ou no geral staggered grid's são muito mais fodas! Lembrando do curso de CFD que fiz lendo o artigo do Bartolo, tanto CFD qto Eletromag usam esse trem. Realmente deve ser bom! Vou tentar implementar um scalar com isso aew vamos ter duas versões de scalar. Um non-staggered e um staggered bonito o bicho. Valeus pela dica dos artigos. |
|
Achei que só eu estava nerdiando essa hora num sábado... =/ Em 12 de outubro de 2013 18:39, André notifications@github.com escreveu:
|
|
nada como a diversão rsrs |
|
@eusoubrasileiro prefeito! Não esqueça de fazer em outro branch e de avisar
|
|
@leouieda agora entendi esse trem seu aiii... eu acho... rsrs |
|
Hahaha depois precisamos marcar um dia pra discutir a implementação OO
|
|
A com certeza... vamos, pela alegria e felicidade de mundo. Até lá feliz ano novo!!! ✋ |


I have changed and simplified a lot the interface for the finite difference simulation functions. They can now take care of recording seismograms at specified stations, calculating grid spacings, etc. They are still iterators but instead of yielding on every time step, a
snapshotparameter controls how often the results are yielded.The methods used for the finite differences have evolved from simple forward differences to staggared grid methods. For SH waves, I used the Equivalent Staggared Grid of Di Bartolo et al. (2012). This method can and should also be used for acoustic (scalar) waves. For P-SV waves I used the Parsimonious Staggared Grid of Luo and Schuster (1990). These methods have the advantages of being more stable to physical property gradients and high Poisson ratios. Because of these new algorithms, simulations now require the Lamé parameters and density instead of wave velocities.
Instead of 3, now only 2 grids are stored for each displacement. The
t+1grid can overwrite thet-1grid because I only need it ati,j.The absorbing boundaries have also improved. I still use a Gaussian tapering (damping) in extended borders of the grid. But now I do it right. Damping is applied to grids at times
t + 1andtfor more efficiency. There are also special non-reflecting boundary conditions help reduce plain wave reflections.For P-SV waves, an option was added to convert x and z displacements into representations of P and S waves. They are calculated from the divergence and curl of the displacement vector, respectively, using forth order centered differences. This way, only one wavefield panel can be plotted with more intuitive representations of the wave field.
I also added a new source function for simulating a blast in all directions. This function actually produces various point sources. This is useful because this source only produces P waves in P-SV simulations:
This is cools because its then easy to see that when the wave reaches an interface:
It splits into a P and an S wave that wasn't there before
Closes #4