-
Notifications
You must be signed in to change notification settings - Fork 25
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
Added abstraction layer for boundary condition application and stepper initialization, and the capability to add profiles to boundary conditions #86
Conversation
f0f81c3
to
d07713d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. This is very helpful. I have made some comments which I think will improve this work.
Thanks for the comments. I'll take a look. |
d07713d
to
6da9f20
Compare
Chorus detected one or more security issues with this pull request. See the Checks tab for more details. As a reminder, please follow the secure code review process as part of the Secure Coding Non-Negotiable requirement. |
6da9f20
to
62f9ba0
Compare
c954e93
to
49cb066
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improved PR. I have left lots of commetns (major revisions). Please apply the changes and ping me again to review. I am happy to add these changes directly myself if you prefer. Thank you.
530e82d
to
53f626c
Compare
b8f5ba2
to
c7b2237
Compare
c4db4ab
to
ce1006c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see all my comments. They are all minor. Let's close this today after these minor changes.
@@ -222,6 +218,15 @@ def functional_velocity( | |||
# Find normal vector | |||
normals = get_normal_vectors(missing_mask) | |||
|
|||
# Find the value of u from the missing directions | |||
for l in range(wp.static(_q)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove wp.static inside range. There are two occasions in the file.
@@ -253,6 +258,13 @@ def functional_pressure( | |||
# Find normal vector | |||
normals = get_normal_vectors(missing_mask) | |||
|
|||
# Find the value of rho from the missing directions | |||
for q in range(wp.static(_q)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
98a2e19
to
00eebf7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just change BGK to KBC in turbulent channel flow and then go ahead and merge.
…r initialization, and the capability to add profiles to boundary conditions
00eebf7
to
877433a
Compare
Contributing Guidelines
Description
Type of change
How Has This Been Tested?
Linting and Code Formatting
Make sure the code follows the project's linting and formatting standards. This project uses Ruff for linting.
To run Ruff, execute the following command from the root of the repository:
ruff check .