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

Pinning linear solves #275

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

landinjm
Copy link
Contributor

@landinjm landinjm commented Oct 25, 2024

I've added a user input parameter that specifies where on the mesh the solution is pinned to zero. You can technically do this with any field type, but it should mainly be used in adding constraints to linear/nonlinear solves.

This works in addition to any other boundary conditions.

To add a pinning point, add something like this in parameters.prm, where n is the name of the field you want pinned.

subsection Pinning point: n
    set x = 0.0
    set y = 0.0
end

Closes #182

@landinjm
Copy link
Contributor Author

landinjm commented Oct 25, 2024

I've also deleted the getRigitBodyConstraints unit test as it is now obsolete.

@landinjm landinjm merged commit 44bd09d into prisms-center:development Oct 25, 2024
2 checks passed
@landinjm landinjm deleted the pinning_linear_solves branch October 25, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant