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
I would like to discuss the trapezoidal rule option in EulerImplicitSolver. I tried to derive the maths, but I cannot find the same result than in the code.
After "derouling" all equations, I definitely agree with you. In fact, there is more than just the factor K to be fixed.
Do you think about a scene illustrating the scheme? We could run a pendulum case which should be less numerically dissipated with the Trapezoidal rule.
Hi,
I would like to discuss the trapezoidal rule option in
EulerImplicitSolver
. I tried to derive the maths, but I cannot find the same result than in the code.Here is my maths:
Here is the code:
with$h=1/2$
If we remove the Rayleigh damping:
There is a discrepancy between the code and the maths for the factor of$K$ . The code should be
kFact = -tr * tr * h * h;
according to the maths.The code was introduced in c1acea6
The text was updated successfully, but these errors were encountered: