Kitware / light-viz

Scientific Visualization application for tailored post-processing relying on a ParaViewWeb backend.
https://kitware.github.io/light-viz/
BSD 3-Clause "New" or "Revised" License
20 stars 7 forks source link

Paraviewweb: Does LightViz can load .pvsm file? #78

Closed AaronFish007 closed 3 years ago

AaronFish007 commented 3 years ago

Hi! I am new here and use paraviewweb lately to display OpenFOAM data. I found that I can successfully load .pvsm file in Visualizer, but the file cannot be loaded in Light-Viz.

Does LightViz can load .pvsm file? And if not, is there another way to display OpenFOAM data in LightViz?

Thanks!

jourdain commented 3 years ago

LightViz is not really meant to load state files since it has its own "dataset database".

AaronFish007 commented 3 years ago

Thanks for reply. If that's the case, it's there another way to display OpenFOAM results in LightViz? like transfer the data to .ex2 file or other way? Is there a good way? do you have good recommendation?

jourdain commented 3 years ago

You should be able to point to the OpenFOAM dataset directly. The format of the data should not matter as we use the readers available in ParaView. The file extension will be use to figure out which reader should be used. You just need to create the json descriptor either manually or with some kind of script.

AaronFish007 commented 3 years ago

Thanks Jourdain. I can generate .foam dataset file now, but new problem coming out: the Light-Viz is staying at the “Loading Data” page. Is the file too large for the Light-Viz? Does the Light-Viz have limit of the size for data loading?

AaronFish007 commented 3 years ago

Problem solve now! And find that the Light-Viz seems do not have legend for the color code?

AaronFish007 commented 3 years ago

Light-Viz seems not have much as Visualizer, including can display different part of the geom, legend...

jourdain commented 3 years ago

LightViz is really a demo app meant to provide ideas. It is not really meant to be used in production.

AaronFish007 commented 3 years ago

what a pity! the user interface of LightViz is very good. Anyway, thanks.