Single and double derivative of variables

Hi Sean, thanks for your comments. No i did not add ghost layers, at block boundaries. How to add them? Also doing gradient filter twice is the only way to compute 2nd derivative in Paraview right?

Also by block boundaries do u mean the walls of the pipe or the intermediate boundaries of the O-grid mesh in the middle portion? Please see O-grid mesh picture above to see the boundaries., thanks

By “block boundaries”, I mean the boundaries of VTK multiblock datasets. Open up ParaView’s “MultiBlock Inspector”. You’ll see all of the blocks (if any) that your dataset is decomposed into. Any algorithm that requires data from some spatial region beyond just a single cell (like a spatial derivative) will need some way of borrowing the data from other blocks. Ghost cells are one way to do it. If your data is not large, applying a MergeBlocks filter unifies all of your blocks into a single block, which would also work around the issue. Without the ability to include data from other blocks, many algorithms could potentially give inaccurate results at the boundaries between blocks.