unicfdlab / libAcoustics

libAcoustics - OpenFOAM library for far-field noise computation
139 stars 56 forks source link

Can this solver show the acoustic field in paraview #99

Open JustthanuMU opened 1 year ago

JustthanuMU commented 1 year ago

I need to visualize the acoustic field. So, do this solver can present the acoustic distribution contour in paraview.

Thnks

mkraposhin commented 1 year ago

Hi! The answer is both yes and no simultaneously. libAcoustics doesn't allow to output results (acoustic field) directly into Paraview format. However, you can calculate results in all needed points and then read them using CSV driver.

But, on the other hand, there is a limitation growing directly from the FWH analogy. Since this analogy computes the contribution to a point in acoustic field from a force acting on a surface, you'll have to perform all calculations for all points you want to visualize. Therefore, the more points you want, the more CPU resources you'll consume.

One of the simplest solution can be in distributing computations using MPI between different cores. But this is not done yet.