CS and Paraview

Miscellaneous discussion topics about Code_Saturne (development, ...)
Post Reply
tpa
Posts: 49
Joined: Fri Mar 16, 2012 11:35 pm

CS and Paraview

Post by tpa »

Hello.

I have made a calculation in CS and would like to test using Paraview to postproces the results. Is there any "Paraview for dummies" which I can use as a guide.

Paraview reads the data (Ensight) allright, and I can generate volume and surface and point presentations but I am having problems trying to present the velocity vector field. A task which is reasonably intuitive in Salomé Postpro so I still dont fully understand how Paraview approach.

Thanks for your input.
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: CS and Paraview

Post by Yvan Fournier »

Hello,

This thread would better fit in "General Usage", so I may move it soon.

In any case, this is a recurring question with ParaView beginners.

To view velocity vectors with ParaView, first use the "Cell Centers" or "Cell Data to Point Data" filter. You may then use the "Glyphs" filter.

To view streamlines, use "Cell Data to Point Data" first.

I prefer to use "Cell centers" for vectots, as id does not add interpolation, but "Cell Data to Point" data may be used for both Vectors and streamlines...

Also, if you output several meshes to the same writer (which is the case by default with Code_Saturne), you should use the "Extract Blocks" filter just after reading the mesh, to avoid issues with some variables defined on only one of the meshes.

Best regards,

Yvan
tpa
Posts: 49
Joined: Fri Mar 16, 2012 11:35 pm

Re: CS and Paraview

Post by tpa »

Thank you very much, Yvan.
Post Reply