Re: [deal.II] Re: Trouble with VisIt 2.11

2016-11-02 Thread Praveen C
So the VisIt people said they forgot to include the xdmf plugin in v2.11
and we have to wait for the next release to get it back. Meanwhile an
alternative is suggested, see

https://elist.ornl.gov/pipermail/visit-users/2016-November/019322.html

Best
praveen


On Tue, Nov 1, 2016 at 4:07 PM, Praveen C  wrote:

>
> On Thu, Oct 27, 2016 at 12:53 PM, 'Uwe Köcher' via deal.II User Group <
> dealii@googlegroups.com> wrote:
>
>> Dear Praveen,
>>
>> I do not use visit, but deal.II + hdf5 + paraview. Your attached file can
>> be opened with paraview.
>> But this does not mean, that we have a correct implementation within
>> deal.II, but I suppose it has
>> something to do with your visit versions or installations.
>>
>> Kind regards
>>   Uwe
>>
>
> Thanks Uwe for testing with paraview. I have Paraview but dont really like
> it. I used the VisIt mac binary, so it may be a bug in VisIt itself. For
> now I have gone back to previous version of VisIt. I will post to visit
> list about this.
>
> Best
> praveen
>

-- 
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.


Re: [deal.II] Re: Trouble with VisIt 2.11

2016-11-01 Thread Praveen C
On Thu, Oct 27, 2016 at 12:53 PM, 'Uwe Köcher' via deal.II User Group <
dealii@googlegroups.com> wrote:

> Dear Praveen,
>
> I do not use visit, but deal.II + hdf5 + paraview. Your attached file can
> be opened with paraview.
> But this does not mean, that we have a correct implementation within
> deal.II, but I suppose it has
> something to do with your visit versions or installations.
>
> Kind regards
>   Uwe
>

Thanks Uwe for testing with paraview. I have Paraview but dont really like
it. I used the VisIt mac binary, so it may be a bug in VisIt itself. For
now I have gone back to previous version of VisIt. I will post to visit
list about this.

Best
praveen

-- 
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.


Re: [deal.II] Re: Trouble with VisIt 2.11

2016-10-26 Thread Praveen C
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 

void ConservationLaw::output_results_xdmf ()

{

#ifdef TIMER

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

#endif


   static std::vector 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::Postprocessor

   postprocessor (parameters.schlieren_plot,

  parameters.vorticity_plot);



   DataOut data_out;

   data_out.add_data_vector (dof_handler_u, solution_u, postprocessor);

   std::vector 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::CurvedCellRegion curved_region =
DataOut::curved_boundary;

   if(parameters.mapping_type == Parameters::AllParameters::winslow)

  curved_region = DataOut::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.


[deal.II] Re: Trouble with VisIt 2.11

2016-10-23 Thread Daniel Arndt
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.