Skip to content

Trouble with AMR/reinit with subdomain restricted variables in TransientExplicitSystem #1919

@ajamar1

Description

@ajamar1
  • I am using libmesh 1.3.0, but I think I have been fighting this issue unknowingly for years.
  • The trouble is with the processing of old and older solution vectors in a TransientExplicitSystem when calling EquationSystems::reinit() after a call to MeshRefinement::refine_and_coarsen_elements() for parallel problems only.
  • Further, the issue is isolated to when I have subdomain restricted variables. For example, subdomain 1 has variable 0, and subdomain 2 has variable 1. The two subdomains interface such that common nodes should have DoFs associated with both of the two variables.
  • After a call to AMR/reinit, part of the processor boundary changes to be aligned at the interface of the two subdomains.
  • When all is said and done, the data in the old and older solution vectors is corrupted (value set to zero) at the nodes on that specific part of the processor boundary. The data in the current solution looks ok.

*This goes away if I run on 1 processor.
*This goes away if I put both variables in the entire domain
*I am seeing this on a TransientExplicitSystem, and I am not sure if it would happen on a TransientImplicitSystem.
*I am not convinced that its an issue associated with AMR. Rather, I think it just took AMR to move the processor boundary around such that is aligned at the variable interface. So I think its an issue embedded in all the reinit logic.

I have attached a stand-alone code, which manifests the bug, in the attached tarball. The tarball includes a README file, Makefiles, an example problem with tecplot layouts to view the important output files, and an archived results folder to show you what I was getting on my system.

Inevitably, I am sure you will be asking for more details. Roy knows how to reach out to me, and I am happy to discuss over the phone. I hope I am doing something wrong and that its not a bug.

libmesh_bug_report.tar.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions