Krishna, VisIt and Paraview are just two of many visualization software that can read .vtk and .vtu files. Some people also use vtk to transfer data between programs. Why should we restrict the output because two visualization tools don't support 1D?
Best, Bruno On Monday, March 16, 2020 at 11:37:57 AM UTC-4, Krishnakumar Gopalakrishnan wrote: > > Hi Praveen, > > Thank you. That really helps. I shall definitely check it out and report > back. I just have standard Q1 linear elements in a unit (0,1) domain, > solving a standard 1D diffusion problem. > > Are we all agreeing that sophisticated VisIT and Paraview cannot produce > simple 1D visualizations/animations? If so, there must be an Assert() > pre-condition > check for the DataOut::write_vtk() and DataOut::write_vtu() functions of > the library which return an exception with "dimension not implemented" > error. > > Regards, > Krishna > > > > On Mon, 16 Mar 2020 at 15:31, Praveen C <[email protected]> wrote: > >> I have a 1d example here >> >> https://bitbucket.org/cpraveen/deal_ii/src/master/dg/1d_scalar_legendre/ >> >> The blank lines in the output file denote different elements. It is not >> necessary to sort if you use gnuplot to plot it. gnuplot makes one curve >> for the solution in each element. If the FE space is continuous, you will >> get a plot which is globally continuous. >> >> Best >> praveen >> >> On 16-Mar-2020, at 8:50 PM, Krishnakumar Gopalakrishnan <[email protected]> >> wrote: >> >> Hi Praveen, >> >> Thanks for your reply. Yes, I had success with gnuplot, but the following >> were the difficulties. >> >> 1. Weirdly, the x-axis co-ordinates of the mesh are not sorted in a >> particular order (they appear rather randomly, arranged in groups of 2 >> rows with blank lines between them). >> 2. The time-animation is not easy to visualize. Paraview has a nice >> animation player for such sets of .vtu files. >> >> Is there some trick to visualize time-series of 1D spatial data? >> >> >> Regards, >> Krishna >> >> >> -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/f100beb0-9b91-482e-8e70-16939014ef61%40googlegroups.com.
