chowland / AFiD-MuRPhFi

Advanced Finite Difference flow solver with Multiple Resolution and Phase-Field implementations
https://chowland.github.io/AFiD-MuRPhFi/
12 stars 1 forks source link

Sidewalls - velocity interpolation on multigrid #39

Open chowland opened 1 year ago

chowland commented 1 year ago

The branch sidewalls is currently under development, where we use cosine transforms in the pressure solver and enforce zero velocity in one of the decomposed directions. Validation appears good for the lid driven cavity, @albert-xudh pointed out that the velocity interpolation needs special treatment here: at the moment, the maximum divergence of the refined field is high. We need to be careful accurately interpolating the velocity at the sidewalls, overwriting the halos.

chowland commented 6 months ago

The sidewalls branch has been updated to ensure that the sidewall halos are updated before any interpolation call, which ensures accurate interpolation for the multiple-resolution method when they are enabled.

For now, I will leave this issue open while the initial condition interpolation still needs to be addressed.