I’m having issues when exporting my solution to .vtu to visualize the physical zones I’ve defined in my mesh (i.e. wall, inlet, outlet, periodic_1_l,periodic_1_r) these seems to disappear and I only have informations about the whole flow field. This makes post processing very hard (i.e. plotting quantities over specifical physical zones)
You can use the region support in the file writer plugin to only output elements adjacent to a boundary. This should make it substantially easier to extract quantities of interest. This can be combined with the “Extract surface” filter in ParaView to extract just the surface data.
I was already to extract the airfoil surface from my unstructured data set to plot Cp over airfoil surface. I was following the procedure given in:
but when I select boundary edges and then I try to extract cells by region none of the edges is recognized.
My case is unstructured and 3D whilst the case given in the topic is 2D
Any idea on how to solve it? I think that the issue may be related to the way pyFR exports solution because I’ve tested pyvista as well but boundary edges are not recognized either
Is there any other option which I have to use given that my case is 3D?
Moreover, is there any possibility to modify the source code such that these patches are retained when exporting solutions? This would make post-processing much easier
You can try playing with the tolerance on the Clean to Grid filter. It appears to not be catching some faces, which is confusing the surface extraction filter.
Beyond that, ParaView has a Connectivity filter which should be able to give each surface its own region ID. Then it is just a case of finding out what region corresponds to the aerofoil and going with it.