# How to visualize different walls dfferently?

**URL:** <https://parasols.discourse.group/t/how-to-visualize-different-walls-dfferently/151>\
**Category:** MercuryDPM\
**Created:** [21 November 2026 09:42 UTC](https://parasols.discourse.group/t/how-to-visualize-different-walls-dfferently/151 "2026-11-21T09:42:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfahad](https://yyz2.discourse-cdn.com/flex008/user_avatar/parasols.discourse.group/pfahad/32/69_2.png) [@pfahad](https://parasols.discourse.group/u/pfahad)\
**Post date:** [21 November 2026 09:42 UTC](https://parasols.discourse.group/t/how-to-visualize-different-walls-dfferently/151/1 "2026-11-21T09:42:27Z")

</div>

Hi, I want to show/hide different walls when visualizing in ParaView, or maybe color them differently, etc. Currently all of the walls are written into single wall VTU file, properties of which I can change only altogether.

If walls are not moving, and are from an STL file, I could load them separately and add visualization properties easily. But problem is when they are moving within the simulation.  
For an example, if I have a moving vehicle, and I want to color different parts differently, Ideally, I will have something like:

 ![multiple_walls](https://canada1.discourse-cdn.com/flex008/uploads/parasols/original/1X/99954cc34a5e4b616a88d8edbb984ad939887d7e.png)

Is there a way to do this in Mercury?

One solution is running simulation multiple times, without particles, to generate wall VTUs for different walls. But that is of course too much work.

@TiPlath suggested that maybe having a wall-ID is enough to do this.  
Trying to do this, I tried to add a new function, action `writeVTKId(std::fstream& file)` to `Kernerl/VTKWriter/WallVTKWriter.cc`. But of course, I realized soon that it is much more complicated, and cannot be easily done. Is there an easier way to do this? can I write wall-IDs to VTK from Driver code itself?

Or, is there a way to create separate wall VTUs for different walls?  
I had assumed `addRenderedWall()` has some function similar to that, but I have understood it is not for that.
