WaterLily-jl / WaterLily.jl

Fast and simple fluid simulator in Julia
Other
630 stars 77 forks source link

add some examples and update README.md #136

Closed marinlauber closed 2 months ago

marinlauber commented 3 months ago

This adds the examples previously in #113 and updates the README to list all available examples and provide a short desciption.

b-fg commented 3 months ago

These are all nice examples, thanks! Left some comments, basically on improving how we hints users can also use GPU to run the cases. I have tested them all locally for CPU and GPU (except for the Bodies case) and they run fine!

Also, about the BC part, would be nice to let the user pass a function without having to rewrite mom_step!. Maybe future work though.

marinlauber commented 3 months ago

@b-fg can we merge this?

b-fg commented 3 months ago

Do you want to try to create and interface for a user-defined BC (as in the lid-driven cavity case)? Rewriting the whole mom_step! is an overkill I think.

marinlauber commented 2 months ago

I will close this pull request as the examples will be moved.