Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary conditions for open space with wind? #294

Open
cesss opened this issue Apr 28, 2020 · 2 comments
Open

Boundary conditions for open space with wind? #294

cesss opened this issue Apr 28, 2020 · 2 comments

Comments

@cesss
Copy link

cesss commented Apr 28, 2020

Let's consider the smoke demo, and let's suppose you "cut" the box enclosure in two halves: The half in the bottom has no changes (you have the floor and the four walls), while the half at the top has no ceiling nor walls... just open space.

Now let's suppose you want air to enter from the left at a wind speed of 1m/s in a given direction parallel to the ground (with a constant vector such as u_wind=[uwx,uwy,0]), and also with a Dirichlet constant temperature (call it Twind for example).

Now you want the demo to simulate how the smoke interacts with the wind arriving from the left with its Twind temperature.

How would you specify the boundary conditions for the upper half of the box?

Is there any risk for the system becoming unstable because of the pressure increasing or decreasing a lot because of the wind or because of the air escaping to the open space?

@doyubkim
Copy link
Owner

doyubkim commented May 1, 2020

Hi @cesss! That should be doable by modifying the boundary condition. The current public API doesn't support it right out of the box, but I think it won't be too hard to have the functionality.

@cesss
Copy link
Author

cesss commented May 1, 2020

Let me suggest you to implement this feature (fluid simulation with open boundaries and wind), because it would enhance the quality of your smoke demo a lot (currently it doesn't look very realistic because the generated smoke is symmetrical. If you add wind to it, the symmetry would disappear, and it would be much more realistic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants