Skip to content

Segfault when running problem with periodic boundary conditions #431

@clarkpede

Description

@clarkpede

When I run a mixing-layer problem with periodic boundary conditions, I get a segfault while saving the file. I checked out the most recent develop branch, and I get the same problem.

It may be that I messed up the periodic boundary conditions. I'm still learning how to use them in SU2, and I may have made a mistake. But even if my *.cfg files are set up wrong, I should get a runtime error message, not a segfault.

I did a brief check and it looks like SU2_MSH is doing its job in generating the correct periodic BCs.

Valgrind says that there's a lot of invalid reads in COutput::SortOutputData, which terminate in a segfault. I'm attaching the valgrind output, in case you want to look at it.

Steps to reproduce

  1. Build SU2 with parallel support.
  2. Put the attached grid, mixing_MSH.cfg and mixing_CFD.cfg files into the same folder.
  3. Run SU2_MSH mixing_MSH.cfg.
  4. Run SU2_MSH mixing_CFD.cfg.

I've also attached my config output, so you can see what my setup is like.

Here's the files:
PeriodicSegfault.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions