Nx=100;FldLngt=8e-3; DeltLngt=FldLngt/Nx;--->PDz2(i,j)=(P(i-1,j-1)+P(i,j-1)+P(i+1,j-1)+P(i-1,j)+P(i+1,j)+P(i-1,j+1)+P(i,j+1)+P(i+1,j+1)-8*P(i,j))/(DeltLngt^2*2);<---PDt2(i,j)=C(i,j)^2*PDz2(i,j);
where
Nx=grid points in x directionFldLngt= length of simulation fieldDelt is for DeltaPDz2= 2nd derivation of pressure with respect to z directionPDt2=2nd derivation of pressure with respect to time t
I know that it is wave equation calculated using laplacian mask but i couldn't understand the denominator in mentioned line.
Best Answer