Skip to content

blastAMR stuck in inifite loop #3

@JanGaertner

Description

@JanGaertner

blastAMR gets stuck in an infinite loop in Foam::refinement::consistentRefinement() because nChanged never becomes zero. The edgeConsistentRefinement() always returns 1 for the same cell in an infinite loop.

In the case of the tested mesh it was due to cellJLevel > (cellILevel +1)

Note: this was tested with labelsize=64. However tested that the conversion to int for the const cellJLevel worked correctly.

Not sure what edgeConsistentRefinement() does and how to fix this issue.
Also an interesting fact is that the problem can be avoided for some time if shortly before the time step is written. Then it runs a bit longer before it gets stuck again.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions