Skip to content

Incorrect handling of visualization field combinations in lbpm_color_simulator #99

@diogosiebert

Description

@diogosiebert

The lbpm_color_simulator allows selecting which fields to be saved for visualization.
Currently, it only works for the following specific combinations:

  • phase_field
  • phase_field + pressure
  • phase_field + pressure + velocity

Other combinations trigger an ASSERT error reporting an incorrect field name to be saved.

The issue can be reproduced using the following section in the db file:

Visualization { write_silo = true // write SILO databases with assigned variables save_8bit_raw = false // write labeled 8-bit binary files with phase assignments save_phase_field = false // save phase field within SILO database save_pressure = false // save pressure field within SILO database save_velocity = true // save velocity field within SILO database }

A fix has already been implemented and will be pushed to the dev branch to be later merged into master.
This issue is intended to inform other users and developers about the bug and that a solution is already available.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions