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

Fix VTF output of element results for mixed Lagrange meshes #693

Merged
merged 6 commits into from
May 20, 2024

Conversation

kmokstad
Copy link
Contributor

@kmokstad kmokstad commented May 15, 2024

When a Lagrange mesh consists of a mixture of quads and triangles (and possibly beams as well). The elements are written to the VTF-file block-wise, ordered by increasing number of element nodes. Thus, the element output order is different than the internal ordering of the elements in the patch and a permutation of the result arrays is needed. This will take care of it.

The SIMoutput::writeGlvNo() method is extended to also write out the global element numbers as element results - useful for debugging complex models.

Finally (last commit), the option to define explicit element sets as topological items is added for ASMu2DLag, similar as already available for ASMu1DLag.

src/ASM/ASMbase.C Outdated Show resolved Hide resolved
src/Utility/ElementBlock.C Outdated Show resolved Hide resolved
src/ASM/ASMu2DLag.C Show resolved Hide resolved
for a single scalar field, and with option to use internal
element ordering instead of the default external ordring.
@kmokstad
Copy link
Contributor Author

jenkins build this with downstreams please

@kmokstad
Copy link
Contributor Author

jenkins build this with downstreams please

Prefix vector field components by pvecName if given.
Fixed: Truncate matrix dump file for first dump step.
Changed: SIMbase::dumpSysVec() merged into SIMbase::dumpSolVec().
Changed: Warning messages (two stars) should go to IFEM::cout.
@kmokstad
Copy link
Contributor Author

jenkins build this with downstreams please

@kmokstad kmokstad merged commit fab9eac into OPM:master May 20, 2024
1 check passed
@kmokstad kmokstad deleted the element-output-fix branch May 20, 2024 15:23
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.

None yet

2 participants