|
[Sponsors] |
[OpenFOAM] Display velocity-vectors in Paraview 3.10 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2011, 17:52 |
Display velocity-vectors in Paraview 3.10
|
#1 |
New Member
Max
Join Date: Feb 2011
Location: Germany
Posts: 4
Rep Power: 15 |
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 |
|
June 28, 2011, 04:58 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
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?
|
|
June 28, 2011, 11:00 |
|
#3 |
New Member
Max
Join Date: Feb 2011
Location: Germany
Posts: 4
Rep Power: 15 |
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 |
|
June 28, 2011, 11:22 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
Hmm, I now realize you're using Fluent, than I cannot really help you.
|
|
June 29, 2011, 04:35 |
|
#5 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
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 |
||
June 29, 2011, 10:30 |
|
#6 |
New Member
Max
Join Date: Feb 2011
Location: Germany
Posts: 4
Rep Power: 15 |
Sorry, I forgot to mention that I only run a 2D simulation. so there was no z-component to export.
|
|
June 29, 2011, 18:30 |
|
#7 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
||
October 7, 2012, 09:34 |
|
#8 |
New Member
Ali Q Raeini
Join Date: Feb 2010
Posts: 24
Rep Power: 16 |
I know its too late, but changing ihat to iHat, etc, might help
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) | dslbkxd | OpenFOAM Installation | 1 | February 3, 2018 00:56 |
plottting tangnetial and axial velocity vectors on a plane | Shamoon Jamshed | Tecplot | 2 | December 4, 2017 13:55 |
[OpenFOAM] Visualize velocity vectors along a line | Ruehri | ParaView | 1 | July 29, 2010 16:29 |
relative velocity vectors | carno | FLUENT | 0 | May 9, 2008 06:59 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |