Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare with SAVA #35

Open
vkazei opened this issue Sep 30, 2018 · 8 comments
Open

Compare with SAVA #35

vkazei opened this issue Sep 30, 2018 · 8 comments

Comments

@vkazei
Copy link
Collaborator

vkazei commented Sep 30, 2018

compare seismograms and snapshots

  • turning off the boundaries in homogeneous orthorhombic medium
  • in two halfspaces
  • in complex model - e.g. ortho time-lapse SEAM II
@vkazei
Copy link
Collaborator Author

vkazei commented Oct 2, 2018

image

@vkazei
Copy link
Collaborator Author

vkazei commented Oct 2, 2018

Isotropic case works

@vkazei
Copy link
Collaborator Author

vkazei commented Oct 2, 2018

image

@vkazei
Copy link
Collaborator Author

vkazei commented Oct 2, 2018

free surface...

@vkazei vkazei changed the title Compare with SAVA and Zhendong's code Compare with SAVA Oct 2, 2018
@vkazei
Copy link
Collaborator Author

vkazei commented Oct 3, 2018

I tried to reduce the number of multiplications in the time loop, but the effect seems to be negligible.
SAVA does it this way:
/* save inverse density values /
for (i=nx1;i<=nx2;i++){
for (j=ny1;j<=ny2;j++){
for (k=nz1;k<=nz2;k++){
c1111[i][j][k] = DT
c1111[i][j][k];
c1122[i][j][k] = DTc1122[i][j][k];
c1133[i][j][k] = DT
c1133[i][j][k];
c1123[i][j][k] = DTc1123[i][j][k];
c1113[i][j][k] = DT
c1113[i][j][k];
c1112[i][j][k] = DTc1112[i][j][k];
c2222[i][j][k] = DT
c2222[i][j][k];
c2233[i][j][k] = DTc2233[i][j][k];
c2223[i][j][k] = DT
c2223[i][j][k];
c1322[i][j][k] = DTc1322[i][j][k];
c1222[i][j][k] = DT
c1222[i][j][k];
c3333[i][j][k] = DTc3333[i][j][k];
c2333[i][j][k] = DT
c2333[i][j][k];
c1333[i][j][k] = DTc1333[i][j][k];
c1233[i][j][k] = DT
c1233[i][j][k];
c1123h[i][j][k] = DTc1123h[i][j][k];
c2223h[i][j][k] = DT
c2223h[i][j][k];
c2333h[i][j][k] = DTc2333h[i][j][k];
c2323h[i][j][k] = DT
c2323h[i][j][k];
c1323ha[i][j][k] = DTc1323ha[i][j][k];
c1223ha[i][j][k] = DT
c1223ha[i][j][k];
c1113h[i][j][k] = DTc1113h[i][j][k];
c1322h[i][j][k] = DT
c1322h[i][j][k];
c1333h[i][j][k] = DTc1333h[i][j][k];
c1323h[i][j][k] = DT
c1323h[i][j][k];
c1313h[i][j][k] = DTc1313h[i][j][k];
c1213ha[i][j][k] = DT
c1213ha[i][j][k];
c1112h[i][j][k] = DTc1112h[i][j][k];
c1222h[i][j][k] = DT
c1222h[i][j][k];
c1233h[i][j][k] = DTc1233h[i][j][k];
c1223h[i][j][k] = DT
c1223h[i][j][k];
c1213h[i][j][k] = DTc1213h[i][j][k];
c1212h[i][j][k] = DT
c1212h[i][j][k];

			if (rhoijpkp[i][j][k] != 0.0)
				rhoijpkp[i][j][k] = DT/rhoijpkp[i][j][k];
			if (rhoipjkp[i][j][k] != 0.0)
				rhoipjkp[i][j][k] = DT/rhoipjkp[i][j][k];
			if (rhoipjpk[i][j][k] != 0.0)
				rhoipjpk[i][j][k] = DT/rhoipjpk[i][j][k];
		}
	}
}

@vkazei
Copy link
Collaborator Author

vkazei commented Oct 5, 2018

the effect of removing DT multiplication from time-stepping proved to be negligible

@vkazei
Copy link
Collaborator Author

vkazei commented Oct 7, 2018

Wrap in a test?

@dmitry-kabanov
Copy link
Collaborator

I found it difficult to reproduce the figures above, as the config files in the Dropbox folder apparently are for other simulations.
I ended up with the test with the default SAVA parameters (one layer, ortho case) (it is test # 9).

screenshot from 2018-10-20 21-29-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants