Display velocity-vectors in Paraview 3.10
Hello,
I'm almost new to Paraview. I used Fluent 6.3 an exported the case and variables of interest (velocity, temperature etc) to ensight case gold format. I open Paraview and import the case file with the variables. No problem. Now I want to display the velocity vectors. I read that I have to calculate them and then run a glyph. But it does not work. I watched a few tutorials on youtube and the Paraview-homepage but I could not find any helpful stuff. Can somebody help me? Kind regards Max |
I don't really get your problem? What is wrong with the Glyphs? You say, it doesn't work, but what part doesn't work?
|
Hello,
first I need to calculate the velocity vector. I open the calculator and choose cell data for the attribute mode. Then I type: (x_velocity*ihat) + (y_velocity*jhat). x and y velocity are the exported scalars. when I click Apply I get these errors: p, li { white-space: pre-wrap; } ERROR: In ..\..\..\..\source\VTK\Common\vtkFunctionParser.cx x, line 1461 vtkFunctionParser (0B6E3700): Syntax error: expecting a variable name; see position 0 Warning: In ..\..\..\..\source\VTK\Graphics\vtkArrayCalculator .cxx, line 401 vtkPVArrayCalculator (10E502A8): An error occured when parsing the calculator's function. See previous errors. I think its a simple problem that I just don't get :( Any idears? Best regards Max |
Hmm, I now realize you're using Fluent, than I cannot really help you.
|
Quote:
I think, (I might be wrong), but you are trying to create a vector with only two components, (x_velocity*ihat) + (y_velocity*jhat) you shall need z_velocity too, because most probably paraview stores every thing as 3D data. So he might be complaining: Syntax error: expecting a variable name; see position 0 that expected variable might be z_velocity |
Sorry, I forgot to mention that I only run a 2D simulation. so there was no z-component to export.
|
Quote:
that i understood when i posted that message. Was talking about how paraview *MIGHT* be handling it. |
I know its too late, but changing ihat to iHat, etc, might help
|
All times are GMT -4. The time now is 21:42. |