Vector variable not identified as a vector by calculator filter
A strange behaviour is identified with CGNS files written by ANSYS Fluent 2019 for planar problems, on ParaView 5.9.0 Windows 10 64 bits.
- Open a CGNS file with planar geometry and nodal vector (e.g., velocity... in fact VelocityX and VelocityY, but no VelocityZ in the solver).
- Velocity is correctly identified as a 2D vector and a scalar plot can be produced. From the dropdown next to variable selection, you can select Magnitude, VelocityX and VelocityY to plot.
- Create a Calculator filter. Although ParaView identified this variable as a vector, it is not listed on the Vectors drop down. The two separate variables are listed in the Scalars dropdown, as Velocity_VelocityX and Velocity_VelocityY.
Although the components may be listed in the scalar section, the Velocity variable should be available as a vector. Example file is provided.
Velocity.cgns
The same happens with a cell-valued velocity file.
On top of this, if the Attribute Type is changed to Cell Data, a warning is issued by the user interface when trying to drop down the Vectors button (see #20474).