We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Modified by dietmarw on 1 Jun 2010 08:51 UTC There seems to be a problem in Modelica.Mechanics.MultiBody.Parts.BodyCylinder
Modelica.Mechanics.MultiBody.Parts.BodyCylinder
The error is in the calculation of r_CM which is set to
r_CM
r_CM[3]=Modelica.Math.Vectors.normalize(r)*length/2
but must be
r_CM[3] = (r + r_shape) / 2;
Reported by erik.aberg on 1 Jun 2010 08:38 UTC One of our customers suspects that there is a bug in Modelica Mechanics.
Best regards, Erik Åberg
Original message:
The problem is in Modelica.Mechanics.MultiBody.Parts.BodyCylinder
The error is in the calculation or r_CM which is set to r_CM[3]=Modelica.Math.Vectors.normalize(r)*length/2
Migrated-From: https://trac.modelica.org/Modelica/ticket/373
The text was updated successfully, but these errors were encountered:
Modified by dietmarw on 1 Jun 2010 08:51 UTC
Sorry, something went wrong.
Comment by otter on 26 Jul 2010 19:35 UTC Fixed in c1a246c.
The correct formula is: rCM = r_shape + Modelica.Math.Vectors.normalize(lengthDirection)*length/2
The same error was present in BodyBox and was also corrected.
MartinOtter
No branches or pull requests
Modified by dietmarw on 1 Jun 2010 08:51 UTC
There seems to be a problem in
Modelica.Mechanics.MultiBody.Parts.BodyCylinder
The error is in the calculation of
r_CM
which is set tobut must be
Reported by erik.aberg on 1 Jun 2010 08:38 UTC
One of our customers suspects that there is a bug in Modelica Mechanics.
Best regards,
Erik Åberg
Original message:
The problem is in Modelica.Mechanics.MultiBody.Parts.BodyCylinder
The error is in the calculation or r_CM which is set to
r_CM[3]=Modelica.Math.Vectors.normalize(r)*length/2
but must be
r_CM[3] = (r + r_shape) / 2;
Migrated-From: https://trac.modelica.org/Modelica/ticket/373
The text was updated successfully, but these errors were encountered: