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

question about Water flow velocity #10

Open
ZhouYmi opened this issue Sep 20, 2024 · 1 comment
Open

question about Water flow velocity #10

ZhouYmi opened this issue Sep 20, 2024 · 1 comment

Comments

@ZhouYmi
Copy link

ZhouYmi commented Sep 20, 2024

Dear Pere@fronterapp ,
db75c216e458c2e53e7f0151631449c
I would like to ask if I can directly input the water flow velocity at this location in the logLawInlet file you wrote, for example, by changing it to:
else U[i] = vector(0.1, 0, 0);
Finally, I would like to thank you for providing this code and for your assistance in maintaining it. I'm looking forward to your reply.
Best,
Zhuo

@fronterapp
Copy link
Owner

Dear Zhuo,

Thank you for reaching out and for your kind words.

Regarding your question, the current condition in the logLawInlet file specifies a logarithmic velocity profile above z_ground and assumes zero velocity below that. Since the condition does not specifically differentiate between phases of flow (e.g., air or water), it should indeed be possible to directly input the water flow velocity as you suggest.

Please feel free to implement this and let me know if you encounter any issues or have further questions. I'm happy to assist!

Best regards,
Pere

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