- This topic has 2 replies, 2 voices, and was last updated 4 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] What is the role of PrecomputedConstraintCorrection or UncoupledConstraint…
In some scenes with a component FreeMotionAnimationLoop, the component PrecomputedConstraintCorrection or UncoupledConstraintCorrection will be used in that scenes.
So what is the role of PrecomputedConstraintCorrection or UncoupledConstraintCorrection? And what does the field compliace in UncoupledConstraintCorrection mean?
By the way, what do the rayleighMass and the rayleighStiffness in the component EulerImplicit mean?
Dear Wong,
I’ll try to do it point by point and at my best knowledge!
The FreeMotionAnimationLoop corresponds to an AnimationLoop where:
The UncoupledConstraintCorrection is an approach for solving the constraint independently from eachother. In other words, each constraint is solved without considering the neighboring constraints which results in a diagonal constraint matrix. I think the field compliance corresponds to the value on this diagonal matrix.
Finally, rayleigh terms in the integration scheme (e.g. EulerImplicit) are terms aiming at numerical damping. This numerical damping can be computed based on the stiffness or mass matrix. See line 65 of EulerImplicitSolver.cpp with the r_M et and r_K terms.
Cheers,
Hugo
I close the topic since the full doc is here for constraint correction.
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.