I wonder if there is some example to define 3d field (with 2d grid) or 2d field (with mesh) under Catalyst. Base on the conduit documentation, It seems that shape, stride and offset along with the data itself needs to be defined on node but if there is a simple example for it that would be great.
Maybe I need to define another mesh for 3d field. The 2d fields are working fine with quads and it seems there is no way to create 3d field (basically layers of 2d fields in z direction) based on quads. The vtk is giving error when it is compare the number of elements with the size of the data. So, I think I need try to define mesh using hex and then attach 3d field to it. That might work but I wonder if there is a possible way to add both 2d and 3d elements to the same channel. Of course I could create separate channels for 2d and 3d fields but just for checking. I also do not know how this work with triangular mesh. I need to create 3d mesh also for it. Do I need to go with wedge or generic polygon to define it. It would be nice to have a way to set a ungridded dimension (the dimension which is not related with the spatial 2d mesh) and vtk handle it internally but I think I need to live with this limitation for now.
You can have both 2d and 3d elements in the same channel, just put them in different topologies.
@Alexandre_Minot That is great. Let me try. Thanks for your help.