Skip to content

Fix off-by-one error in Abaqus element renumbering#3699

Merged
roystgnr merged 3 commits intolibMesh:develfrom
roystgnr:abaqus_fix
Nov 11, 2023
Merged

Fix off-by-one error in Abaqus element renumbering#3699
roystgnr merged 3 commits intolibMesh:develfrom
roystgnr:abaqus_fix

Conversation

@roystgnr
Copy link
Copy Markdown
Member

@roystgnr roystgnr commented Nov 9, 2023

I translated 1-based-to-0-based for Abaqus-to-libMesh numbering when trying to look up elements for e.g. subdomain ids, but I forgot to translate that when creating the elements in the first place.

I want to add some more test coverage before merging this, but I'm putting it up now to get it available and to make sure there are no side-effects.

@roystgnr
Copy link
Copy Markdown
Member Author

roystgnr commented Nov 9, 2023

The Test clang failure is still just waiting on #3697.

This PR should probably reference #3640 (where I introduced the bug) and idaholab/moose#26001 (our first victim of the bug).

@roystgnr
Copy link
Copy Markdown
Member Author

roystgnr commented Nov 9, 2023

And the Test MOOSE mac failure is just another network issue.

@moosebuild
Copy link
Copy Markdown

moosebuild commented Nov 9, 2023

Job Coverage on 986b7ef wanted to post the following:

Coverage

d47c86 #3699 986b7e
Total Total +/- New
Rate 61.98% 62.26% +0.28% 58.82%
Hits 67677 67988 +311 20
Misses 41517 41216 -301 14

Diff coverage report

Full coverage report

Warnings

  • New new line coverage rate 58.82% is less than the suggested 90.0%

This comment will be updated on new commits.

I translated 1-based-to-0-based for Abaqus-to-libMesh numbering when
trying to look up elements for e.g. subdomain ids, but I forgot to
translate that when *creating* the elements in the first place.
I love debugging with ASCII files, but even gzip makes these things 5x
smaller.
These aren't much, but they would have caught our latest regression at
least.
@dschwen
Copy link
Copy Markdown
Member

dschwen commented Nov 10, 2023

This is making me a bit nervous. We added UMAT and UEL support in MOOSE and have some users relying on it. Both plugins do expose the element number, which we test, but unfortunately only with MOOSE generated meshes. Not much we can do about this now, but I'll send an email to our potential users to let them know about this change. Tag @recuero

@roystgnr
Copy link
Copy Markdown
Member Author

Not much we can do about this now

Not sure if by "this" you mean the bug (which might be worth a new libMesh submodule update ASAP; that would also get us the Nanoflann update and the fix for clang 15+ FPE issues, neither of which I would mind seeing rushed downstream) or the recent "respect Abaqus numbering" behavior change (which we could make optional if it's causing anyone problems, though I'd still want the old "just number sequentially and ignore the file" behavior to be non-default).

@moosebuild
Copy link
Copy Markdown

Job Test MOOSE on 986b7ef : invalidated by @roystgnr

Possible threaded race condition in misc/solution_invalid.immediately_print_invalid_solution ? Doesn''t look Abaqus related, anyway.

@dschwen
Copy link
Copy Markdown
Member

dschwen commented Nov 11, 2023

I didn't see that this is a fix for #3640. Carry on then :-)

@roystgnr roystgnr merged commit 0ae5e1a into libMesh:devel Nov 11, 2023
@roystgnr roystgnr deleted the abaqus_fix branch November 11, 2023 04:59
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.

3 participants