Hello Daniel

I have put the solution file here

https://www.dropbox.com/s/qdich18ox8rlx9r/sol.tgz?dl=0

It displays with v2.10.3 but not v2.11

The deal.II code to write this file is given below.

Best
praveen

template <int dim>

void ConservationLaw<dim>::output_results_xdmf ()

{

#ifdef TIMER

   TimerOutput::Scope t(computing_timer, "Output");

#endif


   static std::vector<XDMFEntry> xdmf_entries;

   std::string mesh_filename = "output/mesh.h5";

   static unsigned int output_file_number = 0;

   std::string solution_filename = ("output/vars-" +


Utilities::int_to_string(output_file_number,4) +

                                    ".h5");

   // NOTE: If mesh has changed due to adaptation, we will have to write

   // new mesh into file (TODO)

   bool write_mesh_file = (output_file_number == 0) ? true : false;



   typename NS<dim>::Postprocessor

   postprocessor (parameters.schlieren_plot,

                  parameters.vorticity_plot);



   DataOut<dim> data_out;

   data_out.add_data_vector (dof_handler_u, solution_u, postprocessor);

   std::vector<std::string> q_names;

   q_names.push_back ("rhoU_x");

   q_names.push_back ("rhoV_x");

   q_names.push_back ("rho_x");

   q_names.push_back ("E_x");

   q_names.push_back ("rhoU_y");

   q_names.push_back ("rhoV_y");

   q_names.push_back ("rho_y");

   q_names.push_back ("E_y");

   data_out.add_data_vector (dof_handler_q, solution_q, q_names);

   typename DataOut<dim>::CurvedCellRegion curved_region =
DataOut<dim>::curved_boundary;

   if(parameters.mapping_type == Parameters::AllParameters<dim>::winslow)

      curved_region = DataOut<dim>::curved_inner_cells;

   data_out.build_patches (mapping(), fe_u.degree, curved_region);



   DataOutBase::DataOutFilter   data_filter(DataOutBase::DataOutFilterFlags(
true, true));

   // Filter the data and store it in data_filter

   data_out.write_filtered_data(data_filter);

   // Write the filtered data to HDF5

   data_out.write_hdf5_parallel(data_filter,

                                write_mesh_file,

                                mesh_filename,

                                solution_filename,

                                mpi_communicator);

   // Create an XDMF entry detailing the HDF5 file

   XDMFEntry new_xdmf_entry = data_out.create_xdmf_entry(data_filter,

                                                         mesh_filename,

                                                         solution_filename,

                                                         elapsed_time,

                                                         mpi_communicator);

   // Add the XDMF entry to the list

   xdmf_entries.push_back(new_xdmf_entry);

   // Create an XDMF file from all stored entries

   data_out.write_xdmf_file(xdmf_entries, "solution.xdmf",
mpi_communicator);



   ++output_file_number;

}

On Sun, Oct 23, 2016 at 4:19 PM, Daniel Arndt <
d.ar...@math.uni-goettingen.de> wrote:

> Praveen,
>
> It's hard to tell from your description what is causing the error.
> At least, Visit has some internal problems and if you can open with a
> previous version, chances are high that this is a Visit issue. Can you open
> the file with Paraview or any other suitable program? Can you provide us
> with the file or create a minimal example?
>
> Best,
> Daniel
>
>> --
> 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 dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to