ascent icon indicating copy to clipboard operation
ascent copied to clipboard

Contour presenting rendering artifacts, as the number of ranks increases

Open mvictoras opened this issue 3 years ago • 1 comments

We have instrumented NekRS with ASCENT, and found that as the number of ranks increases, so are various rendering artifacts. Is this expected behavior?

We are on v0.8.0.

My ascent_actions.yaml:

-
  action: "add_pipelines"
  pipelines:
    pl1:
      f3:
        type: "contour"
        params:
          field: "temperature"
          iso_values: [40, 50, 60]
-
  action: "add_scenes"
  scenes:
    s1:
      plots:
        p1:
          type: "pseudocolor"
          field: "pressure"
          pipeline: "pl1"
      renders:
        r1:
          camera:
            position: [-30.32, -30.99, 34.63]
            look_at: [-0.006, -0.006, 0.932]
            up: [0.146, 0.659, 0.737]
            zoom: 2.0
          image_prefix: "pb_%04d"

Resulting images:

4 ranks: pb_0000-4ranks

40 ranks: pb_0000-40ranks

mvictoras avatar Sep 23 '22 20:09 mvictoras

@mvictoras -- does the simulations have embedded ghost or halo zones?

If so, we need to make sure to provide a field that identifies those so Ascent can handle them properly.

By default, ascent will look for an element-associated field named ascent_ghosts. It will assume 0 == normal elements, 1 == ghost elements, other == garbage elements -- and will filter things out using this info.

cyrush avatar Sep 23 '22 22:09 cyrush

@mvictoras where you able to check if ghost zones help with this issue?

cyrush avatar Oct 17 '22 16:10 cyrush

I apologize for the late response, I have been busy and did not.

This week I am at VIS, so I will probably get back to this in 1-2 weeks. Is 1 level of ghosts assumed, or can we increase it?

mvictoras avatar Oct 17 '22 17:10 mvictoras

@mvictoras no worries, enjoy VIS!

Ghosts are presented by the sim code itself, not generated in Ascent -- we can work out the details later.

cyrush avatar Oct 17 '22 17:10 cyrush

@mvictoras I believe we solved this mystery -- so I am closing the issue. Feel free to reopen or add a new ticket if we are still missing something.

cyrush avatar Feb 22 '23 23:02 cyrush

Yes we did, I was able to pass them! Thanks for all the help.

mvictoras avatar Feb 23 '23 16:02 mvictoras

Awesome, thanks for confirming!

cyrush avatar Feb 23 '23 18:02 cyrush