Combined multi-patch and AMR output #437
-
|
I have a simulation that splits the domain into multiple (non-overlapping) patches, each with its own (distorted but topologically Cartesian) coordinate system. Each such patch has its own AMR hierarchy. How do I best map this to a Silo file? So far I have been outputting data for a single patch with its AMR hierarchy, and am creating an How do I extend this to multiple patches? Would I e.g. just use separate A related, secondary question is: So far I am declaring both the |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
|
Hmmm...good questions. I think this may be an opportunity for you to help define how best to support this kind of hierarchy in Silo's MRG tree conventions. So far, conventions have been developed only for regular gridded situations. Might you have any example Silo files with some what you want already in them we could work from to develop support for this? I assume your target is also being able to visualize them in something like VisIt. One other thing to consider may be Conduit/Blueprint. I would be surprised if Conduit/Blueprint has direct support for this kind of hierarchy already. But, it may be closer than Silo presently is. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the quick answer! I have some output files in Dropbox. They are 8 MByte combined. This setup consists of 7 patches, a central cubic patch (that has AMR) and 6 surrounding patches turning the whole domain into a "cubed sphere". I tried loading these data into VisIt. (Yes, I want to use VisIt to visualize them.) VisIt recognizes them, but presents them as 7 separate variables instead of combining them. I'll have a closer look at Conduit/Blueprint. According to the documentation this should already be supported, but I need to verify the details. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for looking into this. It seems I need to change the output to use a single multimesh. I I assume I would then add a single Not sure about the spatial extents. The Should I even define the spatial extent? How is it defined for a distorted mesh – I assume it's just a box that encloses the whole mesh? |
Beta Was this translation helpful? Give feedback.
-
|
I looked at Conduit. It can describe my desired setup without problems. I'm not sure whether VisIt would be able to read it, though. |
Beta Was this translation helpful? Give feedback.
-
|
I updated my writer according to your suggestions. New output is here. VisIt now displays something, but when I create a slice, I'm seeing a square instead of a disk. |
Beta Was this translation helpful? Give feedback.
-
|
I've been playing around with small changes. I think I've figured it out. The current problem is that VisIt displays things, but starts out zoomed into the centre of the domain instead of scaling outwards so that the whole domain is shown. I think the problem is that the coordinate extents of the individual patches are wrong. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your help. I think I figured everything out now. |
Beta Was this translation helpful? Give feedback.
Thanks for sharing this dataset! 💪
Ok, so I just tried seeing how VisIt presently handles the data and it doesn't plot anything. Well, every plot I attempt gives the
Plot yielded no datawarning.In your description, you say there are 7 patches. So, I am expecting to see a single multimesh object with 7 pieces and then an mrgTree that describes how those pieces interrelate. But, I am seeing 7 multimesh objects.
I tried looking at just the domain file (the one without the multi-block objects) and VisIt's mesh menu comes up gray'd out. I am not currently sure why. It should show all 7 quadmeshes that are defined in that file. That said, I do see some oddities there.
For example, when I look…