Skip to content

mac smokeview not showing slice menu in an hvac case #2673

Open

Description

@gforney

for the attached case, a slice menu shows up when viewed with smokeview on a PC but not when viewd on smokeview on a Mac

HVAC_mt.fds.txt

Activity

  1. gforney commented on Oct 2, 2026

    @gforney
    ContributorAuthor

    this may be an FDS problem. the .smv file has SLCF entries when the case is run on a PC. when the case is run on a mac there are no SLCF entries which is why there is not a slice file menu

  2. rmcdermo commented on Oct 2, 2026

    @rmcdermo
    Contributor

    @drjfloyd This happened because your input file did not have a return at the end or your last line, which was the SLCF line. The end of line behavior is different on macOS/linux and Windows.

    I want to propose that we go back to forcing at &TAIL/ line at the end of the input file. This line ending thing has bitten me many times.

  3. mcgratta commented on Oct 2, 2026

    @mcgratta
    Contributor

    ChatGPT suggests "A robust approach would be to normalize input into a temporary formatted file before reading its namelists, ensuring every record—including the last—has a line ending. How a compiler maps an unterminated external text line into a Fortran formatted record can vary, so checking IOSTAT alone will not resolve that portability issue."

  4. gforney commented on Oct 2, 2026

    @gforney
    ContributorAuthor
  5. mcgratta commented on Oct 2, 2026

    @mcgratta
    Contributor

    Sure, but that might be something that people forget to do, or they're reading in older files. If it's only a few lines of code to copy the input file into a dummy file and add the TAIL, that might let us eat cake.

  6. gforney commented on Oct 25, 2026

    @gforney
    ContributorAuthor

    @mcgratta I've forgotten has this been fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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