post-processing of simulation results
Dear all, I use nektar++ to do a simulation and visualize the result in Paraview. The simulation domain is a 3D cylinder and it computes velocity in three directions(x,y,z-axis) and pressure of blood flow. However, I can't use stream tracer filter in Paraview. I read the tutorial of Paraview and can successfully use stream tracer on data inside Paraview. Do I need to compute something else to enable the function stream tracer filter of Paraview? Is there any suggestion? Many thanks! Best, Zhen
Hello Zhen, Nektar++ outputs velocity as a scalar components. However, paraview draws stream traces from a vector. You need to concerts scalar components to vector within paraview. Use a calculator to create the velocity vector: u*iHat + v*jHat + w*kHat. And then use this vector to draw stream traces. Aidyn On Wed, May 15, 2019, 16:33 zxiong@sas.upenn.edu <zxiong@sas.upenn.edu> wrote:
Dear all,
I use nektar++ to do a simulation and visualize the result in Paraview. The simulation domain is a 3D cylinder and it computes velocity in three directions(x,y,z-axis) and pressure of blood flow.
However, I can't use stream tracer filter in Paraview. I read the tutorial of Paraview and can successfully use stream tracer on data inside Paraview. Do I need to compute something else to enable the function stream tracer filter of Paraview? Is there any suggestion?
Many thanks!
Best,
Zhen _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Dear Aidyn, Thank you for your suggestion. It works! Best, Zhen On Wed, May 15, 2019 at 4:44 PM Aidyn Aitzhan <aidyn.b.aitzhan@gmail.com> wrote:
Hello Zhen,
Nektar++ outputs velocity as a scalar components. However, paraview draws stream traces from a vector. You need to concerts scalar components to vector within paraview. Use a calculator to create the velocity vector: u*iHat + v*jHat + w*kHat.
And then use this vector to draw stream traces.
Aidyn
On Wed, May 15, 2019, 16:33 zxiong@sas.upenn.edu <zxiong@sas.upenn.edu> wrote:
Dear all,
I use nektar++ to do a simulation and visualize the result in Paraview. The simulation domain is a 3D cylinder and it computes velocity in three directions(x,y,z-axis) and pressure of blood flow.
However, I can't use stream tracer filter in Paraview. I read the tutorial of Paraview and can successfully use stream tracer on data inside Paraview. Do I need to compute something else to enable the function stream tracer filter of Paraview? Is there any suggestion?
Many thanks!
Best,
Zhen _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Dear Stanisław, Thank you for your suggestion. It works! Best, Zhen On Wed, May 15, 2019 at 4:47 PM Stanisław Gepner <sgepner@meil.pw.edu.pl> wrote:
Hi, to get stream tracers or paths or anything of the sort in ParaView your data needs to be a Vector. You now have separate u,v,w Scalars in the ParaView.
Use the calculator filter and do: u*ihat+v*jhat+w*khat Than apply stream tracers to the Calculator filter node
Pozdrawiam, Stanisław Gepner
15 maj 2019 22:32 zxiong@sas.upenn.edu napisał(a):
Dear all,
I use nektar++ to do a simulation and visualize the result in Paraview. The simulation domain is a 3D cylinder and it computes velocity in three directions(x,y,z-axis) and pressure of blood flow.
However, I can't use stream tracer filter in Paraview. I read the tutorial of Paraview and can successfully use stream tracer on data inside Paraview. Do I need to compute something else to enable the function stream tracer filter of Paraview? Is there any suggestion?
Many thanks!
Best,
Zhen
participants (3)
-
Aidyn Aitzhan
-
Stanisław Gepner
-
zxiong@sas.upenn.edu