Skip to content

Better periodic boundary examples#36

Merged
pjaap merged 3 commits intomasterfrom
feature/periodic-example
Mar 21, 2025
Merged

Better periodic boundary examples#36
pjaap merged 3 commits intomasterfrom
feature/periodic-example

Conversation

@pjaap
Copy link
Copy Markdown
Member

@pjaap pjaap commented Mar 14, 2025

This implements a better periodic boundary example to demonstrate the feature.

It is a 3D linear elastic plate glued in the central part of the bottom with an upwards pulling force.
Left and right boundary faces are combined periodically.

However, currently, it shows a strange error, that needs investigation.

The periodic boundary faces are pulled down...

grafik

@pjaap pjaap marked this pull request as draft March 14, 2025 13:01
@pjaap pjaap force-pushed the feature/periodic-example branch from 1f2bec4 to 5088875 Compare March 21, 2025 08:33
@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

image
image

3D and 2D examples look great now!

@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

Thanks for the better grid. I'll try to eliminate the test failure and clean up the examples. Then, we'll just merge.
Should we keep both examples?

@chmerdon
Copy link
Copy Markdown
Member

Ok. Yes, we can keep both.

@chmerdon
Copy link
Copy Markdown
Member

the descriptive comment blocks at the beginning of the examples need an update, though

@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

Yeah, that's part of the cleanup

@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

Ok, please take a look. I'll squash this into one commit if the test runs through (and included the two examples!!)

@chmerdon
Copy link
Copy Markdown
Member

Looks good to me now! Are we also happy with the way the 3D body slightly bends downwards in the middle of the periodic boundary?

@pjaap pjaap force-pushed the feature/periodic-example branch from bd4ae2a to 8513f34 Compare March 21, 2025 13:38
@pjaap pjaap marked this pull request as ready for review March 21, 2025 13:39
@pjaap pjaap changed the title Better periodic boundary example (with issues) Better periodic boundary examples Mar 21, 2025
@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

Thanks! Forgot to add the two examples in the test.

Commits are squashed. Waiting for CI to succeed.

@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

Looks good to me now! Are we also happy with the way the 3D body slightly bends downwards in the middle of the periodic boundary?

image
image

I tested it with the domain glued at the end without any periodic boundary and it looks the same. So the bend is a material property.

@pjaap pjaap force-pushed the feature/periodic-example branch from 8513f34 to 7692907 Compare March 21, 2025 14:38
@pjaap
Copy link
Copy Markdown
Member Author

pjaap commented Mar 21, 2025

Please let us merge if CI is happy. The max value seems to be a little bit different on different systems. I lowered the test precision.

@pjaap pjaap merged commit 7524eea into master Mar 21, 2025
7 of 8 checks passed
@pjaap pjaap deleted the feature/periodic-example branch January 28, 2026 10:40
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