You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use the ghost-cell spacing for the z one-sided viscous gradient #2067
s_compute_fd_gradient's one-sided z derivative at idwbuff(3)%beg
divided by z_cc(beg + 2) - z_cc(is3_viscous%beg). is3_viscous%beg is
idwbuff(3)%beg + 1 there, so the denominator spanned one cell instead
of two and the outermost ghost gradient was doubled on a uniform grid.
Divide by z_cc(beg + 2) - z_cc(beg), matching the x and y stencils.
The 27 3D Viscous tests pass against the existing goldens.
A fix for this is already written. The pull request was closed only to reduce the number of simultaneously open PRs from this author, not because the work was rejected or found incorrect.
Activity