idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.7k stars 1.04k forks source link

Right and left sidesets are swapped in TransfiniteMeshGenerator output #28049

Open GiudGiud opened 1 month ago

GiudGiud commented 1 month ago

Bug Description

Peter was trying to model a loop and stitch each component He could not get the transfinite generator to stitch until the sidesets were flipped back to what's expected

he found other (unrelated) problems with the stitcher, we ll have to narrow down the problems there too. I have a feeling the stitcher should prepare the meshes to make sure the ids/names maps are right after clearing

Steps to Reproduce

Look at the gold files in the transfinite mesh generator folder

Impact

Loss of time Wrong results

oanaoana commented 1 month ago

The generator is hard-coded to accept a certain ordering of sides as described in the documentation, and as such coupling it with stitching needs extra care. This is due to the nature of the algorithm which automatically fills up the domain from side to side. I will gladly take a look to see what is the problem, and if an improvement is needed. What exactly should be visible in the gold files? Are they not reproducible anymore?