-
Notifications
You must be signed in to change notification settings - Fork 82
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
using mac vel within wall function. #874
Conversation
mbkuhn
commented
Jul 12, 2023
- enables use of n+1/2 velocity when it's called for the viscous terms
* enables use of n+1/2 velocity when it's called for the viscous terms
@@ -210,9 +210,6 @@ void ABLVelWallFunc::wall_model( | |||
// const amrex::Real vv = vold_arr(i, j, k, 1); | |||
const amrex::Real uu = | |||
0.5 * (umac_arr(i, j, k) + umac_arr(i + 1, j, k)); | |||
// Is this reasonable, to interpolate using the wall | |||
// value? Or should I extrapolate using the two points | |||
// above the wall? | |||
const amrex::Real vv = | |||
0.5 * (vmac_arr(i, j, k) + umac_arr(i, j + 1, k)); |
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 make sure that you don't mix vmac_arr with umac_arr !
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.
good catch!
// const amrex::Real uu = vold_arr(i, j, k, 0); | ||
// const amrex::Real vv = vold_arr(i, j, k, 1); |
Check notice
Code scanning / CodeQL
Commented-out code Note
// const amrex::Real uu = vold_arr(i, j, k, 0); | ||
// const amrex::Real vv = vold_arr(i, j, k, 1); |
Check notice
Code scanning / CodeQL
Commented-out code Note
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR was closed because it has been stalled for 7 days with no activity. |