Skip to content
New issue

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

Timestep Velocity Projection Modification #122

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

srwopschall
Copy link
Collaborator

The current velocity projection check performs a velocity projection of the overlap centroid as projected to one face in a face-pair and compares this against the face-projected overlap centroid on the OTHER face in the CURRENT configuration. If both faces are moving toward one another, this underestimates the amount of interpenetration.

This PR introduces the change where the velocity projection of the overlap centroid as projected to one face is compared against the velocity projected overlap centroid (on the other face), which represents a PROJECTED configuration rather than the current configuration. This will more accurately catch excessive interpenetration for nonzero incoming velocities and trigger a contact timestep vote.

@srwopschall srwopschall requested a review from ebchin January 10, 2025 21:57
@srwopschall srwopschall self-assigned this Jan 10, 2025
@srwopschall srwopschall marked this pull request as ready for review January 24, 2025 18:07
proj_delta_x1 -= proj_delta_x2;
proj_delta_y1 -= proj_delta_y2;

proj_delta_x2 -= proj_delta_x1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this right? I think we want to -= proj_delta_x1 before modifying it on the above lines (L1528)? Same with y and z below.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I think I fixed this by using the original proj_delta_x1 based on the velocity projection of that point, not the modified one as is done here (modified on L1528 and used on L1531).

…alues in computing delta between projected cp centroid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants