Dear all,

I meet this problem these days. I get some data after the simulation(NS equations) , but it isn’t so smooth (with some high frequency part in space) and I want to use some way to filter it or smooth it.

Is there any way in the FreeFem++ that may help me?

Thanks a lot !

To day no real way, but it is very simple to write the function like movemean , but I think this function make a to big smoothing.

1 Like

I guess you could just interpolate into a coarser mesh or series of meshes

if this accomplishes an acceptable result

With moving average on an actual grid you can easily look at frequency

response although with the mesh and element selection it may be a bit

more empirical.

1 Like

Thanks for both suggestions！ I have tried to interpolate and the results are OK, and then I use my solver to solve the equations after the interpolating again.