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

Contact action for multiple contact pairs #18022

Open
1 of 2 tasks
recuero opened this issue Jun 7, 2021 · 4 comments
Open
1 of 2 tasks

Contact action for multiple contact pairs #18022

recuero opened this issue Jun 7, 2021 · 4 comments
Labels
C: Modules/Contact T: task An enhancement to the software.

Comments

@recuero
Copy link
Contributor

recuero commented Jun 7, 2021

Reason

Users may set up problems where multiple (maybe many) contact pairs are needed. It can be tedious to create one block for each possible contact pair.

Design

User will provide a vector of boundary pairs to define mechanical contact. In principle, the same contact-related parameters will be used for all contact pairs.

Impact

More user-friendly contact action

Tasks

  • Node face contact
  • Mortar contact
@recuero recuero added the T: task An enhancement to the software. label Jun 7, 2021
@recuero
Copy link
Contributor Author

recuero commented Jun 7, 2021

@jiangwen84 Feel free to add/correct to this.

recuero added a commit to recuero/moose that referenced this issue Jun 10, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposes.
recuero added a commit to recuero/moose that referenced this issue Jun 10, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposes.
recuero added a commit to recuero/moose that referenced this issue Jun 10, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposes.
recuero added a commit to recuero/moose that referenced this issue Jun 10, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposest push.
recuero added a commit to recuero/moose that referenced this issue Jun 10, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposest push.
recuero added a commit to recuero/moose that referenced this issue Jun 15, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposest push.
recuero added a commit to recuero/moose that referenced this issue Jul 7, 2021
…ion. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposest push.
jiangwen84 pushed a commit that referenced this issue Jul 8, 2021
)

* Add capability for defining multiple contact pairs in the contact action. Refs. #18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposest push.

* Add missing requirement from test

* Address Wen's comments on mechanical contact action

* Add capability of defining multiple contact pairs in thermal action

* Address Wen's comments II

* Address Ben's comment on documentation
@bwspenc
Copy link
Contributor

bwspenc commented Jul 12, 2021

Well, unfortunately, I was excited to try the recently-merged code out on a model I'm working with, and it didn't work. I got an error like this:

*** ERROR ***
The following parameter error occurred in the object "nodal_area_object_0", of type "NodalArea".

boundary:
    the following side set ids do not exist on the mesh: 1002

    MOOSE distinguishes between "node sets" and "side sets" depending on whether
    you are using "Nodal" or "Integrated" BCs respectively. Node sets corresponding
    to your side sets are constructed for you by default.

    Try setting "Mesh/construct_side_list_from_node_list=true" if you see this error.
    Note: If you are running with adaptivity you should prefer using side sets.

I'm not sure where it's getting that side set 1002. I'm enforcing contact on sides 1 and 3 and 10 and 11. I have sidesets 1000 and 1001. I can share the model with you, @recuero

@recuero
Copy link
Contributor Author

recuero commented Jul 12, 2021

Did not get that issue

  [one]
    primary = "1 3 3"
    secondary = "3 10 11"
    model = frictionless
    formulation = penalty
    normalize_penalty = true
    penalty = 1e12
    tangential_tolerance = 1.0e-3
    normal_smoothing_distance = 0.1
  []  
[]

@bwspenc
Copy link
Contributor

bwspenc commented Jul 12, 2021

Doh! I wasn't actually using a version of MOOSE that had your fix merged in. Works fine when I do that!

jbadger95 pushed a commit to jbadger95/moose that referenced this issue Aug 9, 2021
…holab#18056)

* Add capability for defining multiple contact pairs in the contact action. Refs. idaholab#18022

This capability should work for any node on face combination. The contact parameters
for the action will the same for all the contact pairs defined by the user in the
form of a vector. A simple example is added for demonstration and initial testing purposest push.

* Add missing requirement from test

* Address Wen's comments on mechanical contact action

* Add capability of defining multiple contact pairs in thermal action

* Address Wen's comments II

* Address Ben's comment on documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Modules/Contact T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

3 participants