Skip to content

Contact example#1038

Open
jginternational wants to merge 10 commits into
masterfrom
contact-example
Open

Contact example#1038
jginternational wants to merge 10 commits into
masterfrom
contact-example

Conversation

@jginternational

Copy link
Copy Markdown
Member

Implements #965

@jginternational jginternational self-assigned this Jun 12, 2026
Copilot AI review requested due to automatic review settings June 12, 2026 10:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Structural Mechanics GUI example intended to demonstrate solid contact setup (requested in #965), and registers it so it appears in the Structural examples list and is loaded by the app.

Changes:

  • Introduces a new example script SolidContact.tcl that builds a 2D two-body setup with contact-related groups and tree assignations.
  • Registers the new example in examples.xml so it shows up in the GUI.
  • Includes the new example script in app.json so it is packaged/loaded with the Structural app.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
kratos.gid/apps/Structural/examples/SolidContact.tcl New Tcl example implementing geometry/groups/meshing/tree setup for a 2D solid contact case.
kratos.gid/apps/Structural/examples/examples.xml Adds a new “Solid contact 2D” example entry.
kratos.gid/apps/Structural/app.json Registers the new example script for inclusion/loading.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread kratos.gid/apps/Structural/examples/SolidContact.tcl Outdated
Comment thread kratos.gid/apps/Structural/examples/examples.xml
Comment thread kratos.gid/apps/Structural/examples/SolidContact.tcl Outdated
jginternational and others added 2 commits June 12, 2026 12:56
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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