Hi,
I am working on the simulation of HIFU treatments and I wanted to check the power which is dissipated by the numerical scheme itself (in the case of nonlinear propagation) in order to correct the deposited energy in the absorbing case.
Let z denote the main propagation of my field (represented here for information: https://www.dropbox.com/s/089etiubtkhkkwt/XZ-field.png?dl=0).
I computed the integral of I_z on each xy-plane and plotted the derivative of the power with respect to z (see https://www.dropbox.com/s/lgynn4yaa3esg6o/deposited_power.png?dl=0).
My question is: before the focus, the energy conservation is approximately OK but downstream to it, there is some significant power loss: could you tell me why?
A few precisions:
- of course, I removed the power which leaves the domain by the sides (using I_x and I_y).
- my source frequency is 3 MHz and my grid step is 40 microns, which is OK to properly propagate several harmonics.
--> At first, I thought that the energy loss was due to the generation of harmonics which are not supported by the grid but, even at the end of my domain, the high harmonics are not carrying that much energy (a few percents). More info about this in PS.
- I set my source as a Dirichlet boundary condition. I first simulated my acoustic field with the linear equations up to 6 mm upstream to the focus and then used this as my source term for the nonlinear simulation because I couldn't simulate the whole field in the nonlinear case due to memory limitations. By the way, why do I get these power oscillations? (my medium is homogeneous).
- I didn't forget to unstagger the velocity fields in time using timeShift before computing the intensity.
Don't hesitate to ask me for more details or figures if I am not clear. I could also send you the acoustic field itself (18 GB) or only the intensity values I computed (~100MB along each direction).
Best regards and sorry to nitpick ;-)
Anthony
PS: in order to assess the harmonic content of the field, I computed the module of the time-fft of my pressure field. Then for each voxel, I divided the module of each harmonics by the sum of the modules (taking the square gives approximately the same results). Finally, I took the mean of this proportion over each xy-plane and plotted this curve: https://www.dropbox.com/s/9ee9vfy4vd6w8lo/harmonic_content.png?dl=0
Little detail: in each xy-plane, I only considered the pixels where the rms pressure was greater than -6dB of the max in this plane i.e. only the pixels "inside the beam".
--> As you can see, the high harmonics are not very important... (well, I admit that my metric is not wonderful, if you want me to measure this using another formula, feel free to ask).