cselab / aphros

Finite volume solver for incompressible multiphase flows with surface tension. Foaming flows in complex geometries.
MIT License
404 stars 43 forks source link

boundary problem #23

Open Lidabao77 opened 1 week ago

Lidabao77 commented 1 week ago

Dr. Karnakov,in examples/205_multivof/clustering,how the boundary conditions are set. Is the following code setting the top and bottom boundaries to slipwall? set string bc_path inline " slipwall { box 0 0 0 10 } " Thank you!

pkarnakov commented 5 days ago

Yes, this code sets top and bottom boundaries to slip walls. box 0 0 0 10 means a box centered at 0 0 0 with a side of 20 (10 is half-size) in all directions. All cell faces that fall inside the box get their boundary conditions set to slipwall. Here's some description of the geometric primitives https://cselab.github.io/aphros/doc/#geometric-primitives and then the boundary conditions in the next section.

Lidabao77 commented 5 days ago

Thanks for the answer!

gesx123 commented 4 days ago

你好 可以交流下吗,QQ2606612132