Multiblock grid refinement

Dear community,
I am currently trying to simulate an airfoil configuration using Palabos, but I am not able to obtain the grid density matrix to have more refinement in the specific zones close to the flaps and slats. Can someone help me out?

Thanks,
Victor

1 Like

May you share code and geometry?

1 Like

Hello,
maybe you can try to inspire yourself by this video: https://www.youtube.com/watch?v=sFMXcg4SKBg

Maybe it helps a bit

1 Like

Yes! Tell me your email and I’ll send it to you!

Thank you Orestis. I´ve seen the video but the code I need is the grid density function generating the matrix of 0s or 1s that determines the level of refinement on each zone. I already have one but it only creates matrices with all 1, and I do not know how to write a code to only write 1 in the zones closer to the slat cove and flap, and zeros on the other regions.

simone.ripandelli@gmail.com

I’ll to answer to you as soon as possible and with my low level experience with Palabos.

1 Like