Using Ray Detector feature within Ray Acoustics physics interface

Please login with a confirmed email address before reporting spam

Hello!

I've just started to dive into the Ray Acoustics interface by playing with the small_concert_hall file in the Application Library. There is one thing I would like to achieve and I could not figure out how to do it: In the Ray Trajectories plot, I would like to show only those rays which reach the set up receiver (a sphere). In the documentation, I found that a Ray Detector feature should be able to achieve it by filtering those rays in the filter node for the Ray Trajectories plot. How should I set up the expression in Filter to show me only the rays reaching the Ray Detector (receiver)?

Thanks a lot!

Kind regards Jan


1 Reply Last Post Apr 8, 2024, 1:12 p.m. EDT
Mark Cops COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 weeks ago Apr 8, 2024, 1:12 p.m. EDT

You can see an example of how this in done here: https://www.comsol.com/model/ultrasonic-car-parking-sensor-68041 . See Results->Detected Ray Path->Ray Trajectories 1->Filter 1. There is a variable for this that is stored (in this case it is rac.rd1.rL). This can also be found if browsing Replace Expression->Component 2->Ray Acoustics->Ray Detector 1.

-Mark

You can see an example of how this in done here: https://www.comsol.com/model/ultrasonic-car-parking-sensor-68041 . See Results->Detected Ray Path->Ray Trajectories 1->Filter 1. There is a variable for this that is stored (in this case it is rac.rd1.rL). This can also be found if browsing Replace Expression->Component 2->Ray Acoustics->Ray Detector 1. -Mark

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.