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
In equation A5 of Perry and Marusic 1995 Part 1., the derivative dWc[1, Pi] / dPi always evaluates to 0.
This is because taking the derivative of equation 9 (for Wc) with respect to Pi gives a derivative in (1-eta), thus setting eta=1 forces the derivative to 0.
Equation A5 must therefore always simplify to N = Wc[1,Pi]. It is possible this slipped the net into the paper if that term is there as an appendage from a mathematica derivation, for example, but could represent an error which we're not accounting for.
So in stress.h, the derivative appears to be computed unnecessarily. Here is how to compute the derivative, using central differencing...
thclark
changed the title
Derivative in Equation A always evaluates to 0
Derivative in Equation A5 always evaluates to 0
Jun 26, 2019
thclark
changed the title
Derivative in Equation A5 always evaluates to 0
Derivative term in Reynolds Stress Equation A5 always evaluates to 0
Jun 26, 2019
In equation A5 of Perry and Marusic 1995 Part 1., the derivative
dWc[1, Pi] / dPi
always evaluates to 0.This is because taking the derivative of equation 9 (for
Wc
) with respect toPi
gives a derivative in(1-eta)
, thus settingeta=1
forces the derivative to 0.Equation A5 must therefore always simplify to N = Wc[1,Pi]. It is possible this slipped the net into the paper if that term is there as an appendage from a mathematica derivation, for example, but could represent an error which we're not accounting for.
So in
stress.h
, the derivative appears to be computed unnecessarily. Here is how to compute the derivative, using central differencing...or Eigen's autodiff (recommended)
In the meantime, we write this out - there's no point computing a derivative that's always 0. In stress.h:
Contact Ivan or someone who knows better for help!
The text was updated successfully, but these errors were encountered: