Re: [deal.II] Hoe to merge hyper_cube_with_cylindrical_hole with hyper_ball()

2022-12-16 Thread Deepika Kushwah
Yes sir, I want to visualize tensors (stress) in Paraview. (Have attached the portion of code again for reference). I also want to know if the strain values which are calculated using data postprocedure class are at gauss points or at nodes? [image: image.png] Thanks & Regards, Deepika On Sat,

Re: [deal.II] Hoe to merge hyper_cube_with_cylindrical_hole with hyper_ball()

2022-12-16 Thread Wolfgang Bangerth
On 12/15/22 04:19, Deepika Kushwah wrote:  I have calculated stress using a C tensor. The stress calculations I did in the same strain-data postprocedure class. Now I want to visualize stresses in paraview but I don't know how to use the compute_quantities term again in the same class so that i

[deal.II] Re: Finding cut cells

2022-12-16 Thread Magdalena
... Sorry, there is a mistake in one of the last code lines. It should be: // append cell if it is cut by the interface if (surface_vertices.size() > 0) cut_cells.emplace_back(cell); Magdalena schrieb am Freitag, 16. Dezember 2022 um 11:09:40 UTC+1: > Dear Praveen, > > if you have an implic

Re: [deal.II] How to access variables in the postprocessor object

2022-12-16 Thread Raúl Aparicio Yuste
Hi Wolfgang, Thank you for pointing that out. I was wrong because I thought that what happens with 1-D is the same as in 2-D, and that’s not true. I will try to think again how I solve the problem and the structures related to it. Thank you for the suggestions!! Best El miércoles, 14 de di

[deal.II] Re: Finding cut cells

2022-12-16 Thread Magdalena
Dear Praveen, if you have an implicit description of your curve, let's say a level-set like DoF-vector, VectorType level_set_vector; where a value "contour_value" represents your surface, a helpful tool could be the Marching Cube Algorithm ( https://dealii.org/developer/doxygen/deal.II/class