Re: [deal.II] output derived quanteties (gradients of vector valued solution like strain)

2023-03-10 Thread Wolfgang Bangerth
On 3/10/23 13:05, Konrad Schneider wrote: ** Thanks. That was too easy. How should one know this... Actually in the documentation (https://www.dealii.org/current/doxygen/deal.II/classDataPostprocessorTensor.html) the command data_out.write_vtk (output); appears in the example. Maybe it

Re: [deal.II] output derived quanteties (gradients of vector valued solution like strain)

2023-03-10 Thread Konrad Schneider
Thanks. That was too easy. How should one know this... Actually in the documentation (https://www.dealii.org/current/doxygen/deal.II/classDataPostprocessorTensor.html) the command data_out.write_vtk (output); appears in the example. Maybe it should be changed to data_out.write_vtu

Re: [deal.II] output derived quanteties (gradients of vector valued solution like strain)

2023-03-10 Thread Wolfgang Bangerth
On 3/10/23 07:41, Konrad Schneider wrote: I am using deal.ii version 9.4 and am wondering what I did wrong here. Do you have any suggestions? The VTK writer simply doesn't support writing tensor data. Use the VTU writer instead. Best W. --

[deal.II] output derived quanteties (gradients of vector valued solution like strain)

2023-03-10 Thread Konrad Schneider
Dear Forum, I tried to follow the instructions of the DataPostprocessorTensor class to output the gradient of a vector valued solution. Therefore I tried to adopt step-8. However, I am getting the following error message: An error occurred in line <5640> of file in function void