Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Acoustic far-field pressure as integration coupling variable in axisymmtric model

Please login with a confirmed email address before reporting spam

For post-processing we can easily use the pfar operator for calculation of far-field acoustic pressure. However when defining an target using the optimisation module, pfar is not available.

In the model library there is a model for horn profile optimisation https://www.comsol.com/model/optimizing-the-shape-of-a-horn-4353

In this model they achieve this using the following expression across the boundary of the horn, which is also the z=0 plane

intop1(r*besselj(0,acpr.k*r*sin(theta))*pz)

intop1 is an integration coupling variable across that boundary. This expression used is some simplified version of the far-field calculation equation Eq(4) in the Multiphysics notes. This simplified version is available because the boundary is on the z=0 plane and there is an infinite baffle. In my case this is not available.

In my case I would like to use a general boundary, (e.g. the PML interface boundary) using the general equation Eq(3) in the Multiphysics notes.

My attempt is something like this but it seems there is a mistake or maybe several!

-0.5*intop2(r*exp(i*acpr.kzR/sqrt(Z^2+R^2))*(besselj(0,acpr.k*r*R/sqrt(Z^2+R^2))*ppr(acpr.nr*pr+acpr.nz*pz)-i*acpr.k*p/sqrt(Z^2+R^2)*(i*acpr.nr*R*besselj(1,acpr.k*r*R/sqrt(Z^2+R^2))+acpr.nz*Z*besselj(0,acpr.k*r*R/sqrt(Z^2+R^2)))))

R = sin(theta), Z = cos(theta), the evaluation point for the far-field with theta defined in the library model as the angle with the z-axis

I wonder if any other user has tried something similar and got it working. If you could share I would be very grateful


1 Reply Last Post 2020年10月26日 GMT-4 01:08

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年10月26日 GMT-4 01:08

I managed to solve this problem so I will report my solution.

My problem was that I could not get my integration coupling variable calculation (pfar_cv) to agree with the (pfar) far-field calculation function. The reason for this was that I did not consider that the boundary used for the calculation was only positive z and the far-field calculation (pfar) includes a reflected boundary to account for negative z. When I calculated two versions of the above pfar_cv expression (or something similar) which included pfar_cv(R,+Z) + pfar_cv(R,-Z) I found I get precise agreement with the pfar operator.

I managed to solve this problem so I will report my solution. My problem was that I could not get my integration coupling variable calculation (pfar_cv) to agree with the (pfar) far-field calculation function. The reason for this was that I did not consider that the boundary used for the calculation was only positive z and the far-field calculation (pfar) includes a reflected boundary to account for negative z. When I calculated two versions of the above pfar_cv expression (or something similar) which included pfar_cv(R,+Z) + pfar_cv(R,-Z) I found I get precise agreement with the pfar operator.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.